From f72c51afa6ac5327c33c108924a139997c501d15 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 01:54:37 +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 --- ...StreamingVideoIntelligenceServiceGrpc.java | 362 -- .../v1/VideoIntelligenceServiceClient.java | 44 +- .../v1/VideoIntelligenceServiceSettings.java | 30 +- .../videointelligence/v1/gapic_metadata.json | 0 .../videointelligence/v1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 105 + .../HttpJsonVideoIntelligenceServiceStub.java | 231 + .../v1/stub/VideoIntelligenceServiceStub.java | 6 +- .../VideoIntelligenceServiceStubSettings.java | 59 +- .../v1/MockVideoIntelligenceService.java | 0 .../v1/MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 127 + .../VideoIntelligenceServiceClientTest.java | 0 .../v1/VideoIntelligenceServiceGrpc.java | 215 +- .../v1/AnnotateVideoProgress.java | 511 +- .../v1/AnnotateVideoProgressOrBuilder.java | 53 + .../v1/AnnotateVideoRequest.java | 807 ++-- .../v1/AnnotateVideoRequestOrBuilder.java | 94 +- .../v1/AnnotateVideoResponse.java | 511 +- .../v1/AnnotateVideoResponseOrBuilder.java | 53 + .../v1/DetectedAttribute.java | 430 +- .../v1/DetectedAttributeOrBuilder.java | 39 +- .../v1/DetectedLandmark.java | 450 +- .../v1/DetectedLandmarkOrBuilder.java | 38 +- .../cloud/videointelligence/v1/Entity.java | 459 +- .../videointelligence/v1/EntityOrBuilder.java | 45 +- .../v1/ExplicitContentAnnotation.java | 490 +- .../ExplicitContentAnnotationOrBuilder.java | 45 +- .../v1/ExplicitContentDetectionConfig.java | 350 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1/ExplicitContentFrame.java | 400 +- .../v1/ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1/FaceAnnotation.java | 562 +-- .../v1/FaceAnnotationOrBuilder.java | 58 +- .../v1/FaceDetectionAnnotation.java | 507 +- .../v1/FaceDetectionAnnotationOrBuilder.java | 48 +- .../v1/FaceDetectionConfig.java | 388 +- .../v1/FaceDetectionConfigOrBuilder.java | 33 +- .../cloud/videointelligence/v1/FaceFrame.java | 603 +-- .../v1/FaceFrameOrBuilder.java | 65 +- .../videointelligence/v1/FaceSegment.java | 336 +- .../v1/FaceSegmentOrBuilder.java | 26 +- .../cloud/videointelligence/v1/Feature.java | 133 +- .../videointelligence/v1/LabelAnnotation.java | 832 ++-- .../v1/LabelAnnotationOrBuilder.java | 89 +- .../v1/LabelDetectionConfig.java | 500 +- .../v1/LabelDetectionConfigOrBuilder.java | 42 +- .../v1/LabelDetectionMode.java | 91 +- .../videointelligence/v1/LabelFrame.java | 363 +- .../v1/LabelFrameOrBuilder.java | 29 +- .../videointelligence/v1/LabelSegment.java | 371 +- .../v1/LabelSegmentOrBuilder.java | 29 +- .../videointelligence/v1/Likelihood.java | 107 +- .../v1/LogoRecognitionAnnotation.java | 642 +-- .../LogoRecognitionAnnotationOrBuilder.java | 62 +- .../v1/NormalizedBoundingBox.java | 388 +- .../v1/NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1/NormalizedBoundingPoly.java | 384 +- .../v1/NormalizedBoundingPolyOrBuilder.java | 36 +- .../v1/NormalizedVertex.java | 316 +- .../v1/NormalizedVertexOrBuilder.java | 29 + .../v1/ObjectTrackingAnnotation.java | 822 ++-- .../v1/ObjectTrackingAnnotationOrBuilder.java | 73 +- .../v1/ObjectTrackingConfig.java | 314 +- .../v1/ObjectTrackingConfigOrBuilder.java | 27 +- .../v1/ObjectTrackingFrame.java | 486 +- .../v1/ObjectTrackingFrameOrBuilder.java | 46 +- .../v1/PersonDetectionAnnotation.java | 484 +- .../PersonDetectionAnnotationOrBuilder.java | 45 +- .../v1/PersonDetectionConfig.java | 349 +- .../v1/PersonDetectionConfigOrBuilder.java | 27 +- .../v1/ShotChangeDetectionConfig.java | 335 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../videointelligence/v1/SpeechContext.java | 343 +- .../v1/SpeechContextOrBuilder.java | 36 +- .../v1/SpeechRecognitionAlternative.java | 622 +-- ...SpeechRecognitionAlternativeOrBuilder.java | 68 +- .../v1/SpeechTranscription.java | 603 +-- .../v1/SpeechTranscriptionConfig.java | 881 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 89 +- .../v1/SpeechTranscriptionOrBuilder.java | 66 +- .../videointelligence/v1/TextAnnotation.java | 536 +-- .../v1/TextAnnotationOrBuilder.java | 54 +- .../v1/TextDetectionConfig.java | 425 +- .../v1/TextDetectionConfigOrBuilder.java | 45 +- .../cloud/videointelligence/v1/TextFrame.java | 476 +- .../v1/TextFrameOrBuilder.java | 46 +- .../videointelligence/v1/TextSegment.java | 515 +- .../v1/TextSegmentOrBuilder.java | 47 +- .../v1/TimestampedObject.java | 961 ++-- .../v1/TimestampedObjectOrBuilder.java | 119 +- .../cloud/videointelligence/v1/Track.java | 849 ++-- .../videointelligence/v1/TrackOrBuilder.java | 93 +- .../v1/VideoAnnotationProgress.java | 693 +-- .../v1/VideoAnnotationProgressOrBuilder.java | 60 +- .../v1/VideoAnnotationResults.java | 4003 +++++---------- .../v1/VideoAnnotationResultsOrBuilder.java | 513 +- .../videointelligence/v1/VideoContext.java | 1670 ++----- .../v1/VideoContextOrBuilder.java | 190 +- .../v1/VideoIntelligenceServiceProto.java | 771 +++ .../videointelligence/v1/VideoSegment.java | 437 +- .../v1/VideoSegmentOrBuilder.java | 34 +- .../cloud/videointelligence/v1/WordInfo.java | 548 +-- .../v1/WordInfoOrBuilder.java | 49 +- .../v1/video_intelligence.proto | 0 .../annotatevideo/SyncAnnotateVideo.java | 47 + .../annotatevideo/AsyncAnnotateVideo.java | 56 + .../annotatevideo/AsyncAnnotateVideoLRO.java | 57 + .../annotatevideo/SyncAnnotateVideo.java | 53 + .../SyncAnnotateVideoStringListfeature.java | 44 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../annotatevideo/SyncAnnotateVideo.java | 47 + .../VideoIntelligenceServiceClient.java | 44 +- .../VideoIntelligenceServiceSettings.java | 30 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 105 + .../HttpJsonVideoIntelligenceServiceStub.java | 231 + .../stub/VideoIntelligenceServiceStub.java | 6 +- .../VideoIntelligenceServiceStubSettings.java | 59 +- .../v1beta2/MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 127 + .../VideoIntelligenceServiceClientTest.java | 0 .../v1beta2/VideoIntelligenceServiceGrpc.java | 218 +- .../v1beta2/AnnotateVideoProgress.java | 542 +-- .../AnnotateVideoProgressOrBuilder.java | 53 + .../v1beta2/AnnotateVideoRequest.java | 840 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1beta2/AnnotateVideoResponse.java | 536 +-- .../AnnotateVideoResponseOrBuilder.java | 53 + .../videointelligence/v1beta2/Entity.java | 469 +- .../v1beta2/EntityOrBuilder.java | 45 +- .../v1beta2/ExplicitContentAnnotation.java | 494 +- .../ExplicitContentAnnotationOrBuilder.java | 33 +- .../ExplicitContentDetectionConfig.java | 370 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1beta2/ExplicitContentFrame.java | 427 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../v1beta2/FaceAnnotation.java | 547 +-- .../v1beta2/FaceAnnotationOrBuilder.java | 57 +- .../v1beta2/FaceDetectionConfig.java | 369 +- .../v1beta2/FaceDetectionConfigOrBuilder.java | 30 +- .../videointelligence/v1beta2/FaceFrame.java | 613 +-- .../v1beta2/FaceFrameOrBuilder.java | 68 +- .../v1beta2/FaceSegment.java | 339 +- .../v1beta2/FaceSegmentOrBuilder.java | 26 +- .../videointelligence/v1beta2/Feature.java | 100 +- .../v1beta2/LabelAnnotation.java | 761 +-- .../v1beta2/LabelAnnotationOrBuilder.java | 77 +- .../v1beta2/LabelDetectionConfig.java | 471 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1beta2/LabelDetectionMode.java | 91 +- .../videointelligence/v1beta2/LabelFrame.java | 369 +- .../v1beta2/LabelFrameOrBuilder.java | 29 +- .../v1beta2/LabelSegment.java | 374 +- .../v1beta2/LabelSegmentOrBuilder.java | 29 +- .../videointelligence/v1beta2/Likelihood.java | 107 +- .../v1beta2/NormalizedBoundingBox.java | 409 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1beta2/ShotChangeDetectionConfig.java | 347 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1beta2/VideoAnnotationProgress.java | 561 +-- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1beta2/VideoAnnotationResults.java | 1928 +++----- .../VideoAnnotationResultsOrBuilder.java | 231 +- .../v1beta2/VideoContext.java | 1085 ++--- .../v1beta2/VideoContextOrBuilder.java | 128 +- .../VideoIntelligenceServiceProto.java | 411 ++ .../v1beta2/VideoSegment.java | 440 +- .../v1beta2/VideoSegmentOrBuilder.java | 34 +- .../v1beta2/video_intelligence.proto | 0 .../annotatevideo/SyncAnnotateVideo.java | 47 + .../annotatevideo/AsyncAnnotateVideo.java | 56 + .../annotatevideo/AsyncAnnotateVideoLRO.java | 57 + .../annotatevideo/SyncAnnotateVideo.java | 53 + .../SyncAnnotateVideoStringListfeature.java | 44 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../annotatevideo/SyncAnnotateVideo.java | 47 + .../VideoIntelligenceServiceClient.java | 44 +- .../VideoIntelligenceServiceSettings.java | 30 +- .../v1p1beta1/gapic_metadata.json | 0 .../v1p1beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 105 + .../HttpJsonVideoIntelligenceServiceStub.java | 231 + .../stub/VideoIntelligenceServiceStub.java | 6 +- .../VideoIntelligenceServiceStubSettings.java | 59 +- .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 127 + .../VideoIntelligenceServiceClientTest.java | 0 .../VideoIntelligenceServiceGrpc.java | 218 +- .../v1p1beta1/AnnotateVideoProgress.java | 554 +-- .../AnnotateVideoProgressOrBuilder.java | 53 + .../v1p1beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p1beta1/AnnotateVideoResponse.java | 554 +-- .../AnnotateVideoResponseOrBuilder.java | 53 + .../videointelligence/v1p1beta1/Entity.java | 469 +- .../v1p1beta1/EntityOrBuilder.java | 45 +- .../v1p1beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p1beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1p1beta1/Feature.java | 101 +- .../v1p1beta1/LabelAnnotation.java | 789 +-- .../v1p1beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p1beta1/LabelDetectionConfig.java | 480 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1p1beta1/LabelDetectionMode.java | 92 +- .../v1p1beta1/LabelFrame.java | 369 +- .../v1p1beta1/LabelFrameOrBuilder.java | 29 +- .../v1p1beta1/LabelSegment.java | 377 +- .../v1p1beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p1beta1/Likelihood.java | 108 +- .../v1p1beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p1beta1/SpeechContext.java | 346 +- .../v1p1beta1/SpeechContextOrBuilder.java | 36 +- .../SpeechRecognitionAlternative.java | 542 +-- ...SpeechRecognitionAlternativeOrBuilder.java | 48 +- .../v1p1beta1/SpeechTranscription.java | 557 +-- .../v1p1beta1/SpeechTranscriptionConfig.java | 829 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 79 +- .../SpeechTranscriptionOrBuilder.java | 61 +- .../v1p1beta1/VideoAnnotationProgress.java | 561 +-- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1p1beta1/VideoAnnotationResults.java | 1976 +++----- .../VideoAnnotationResultsOrBuilder.java | 246 +- .../v1p1beta1/VideoContext.java | 1134 ++--- .../v1p1beta1/VideoContextOrBuilder.java | 134 +- .../VideoIntelligenceServiceProto.java | 417 ++ .../v1p1beta1/VideoSegment.java | 440 +- .../v1p1beta1/VideoSegmentOrBuilder.java | 34 +- .../videointelligence/v1p1beta1/WordInfo.java | 492 +- .../v1p1beta1/WordInfoOrBuilder.java | 43 +- .../v1p1beta1/video_intelligence.proto | 0 .../annotatevideo/SyncAnnotateVideo.java | 47 + .../annotatevideo/AsyncAnnotateVideo.java | 56 + .../annotatevideo/AsyncAnnotateVideoLRO.java | 57 + .../annotatevideo/SyncAnnotateVideo.java | 53 + .../SyncAnnotateVideoStringListfeature.java | 44 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../annotatevideo/SyncAnnotateVideo.java | 47 + .../VideoIntelligenceServiceClient.java | 44 +- .../VideoIntelligenceServiceSettings.java | 30 +- .../v1p2beta1/gapic_metadata.json | 0 .../v1p2beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 105 + .../HttpJsonVideoIntelligenceServiceStub.java | 231 + .../stub/VideoIntelligenceServiceStub.java | 6 +- .../VideoIntelligenceServiceStubSettings.java | 59 +- .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 127 + .../VideoIntelligenceServiceClientTest.java | 0 .../VideoIntelligenceServiceGrpc.java | 218 +- .../v1p2beta1/AnnotateVideoProgress.java | 554 +-- .../AnnotateVideoProgressOrBuilder.java | 53 + .../v1p2beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p2beta1/AnnotateVideoResponse.java | 554 +-- .../AnnotateVideoResponseOrBuilder.java | 53 + .../videointelligence/v1p2beta1/Entity.java | 469 +- .../v1p2beta1/EntityOrBuilder.java | 45 +- .../v1p2beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p2beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1p2beta1/Feature.java | 108 +- .../v1p2beta1/LabelAnnotation.java | 789 +-- .../v1p2beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p2beta1/LabelDetectionConfig.java | 480 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1p2beta1/LabelDetectionMode.java | 92 +- .../v1p2beta1/LabelFrame.java | 369 +- .../v1p2beta1/LabelFrameOrBuilder.java | 29 +- .../v1p2beta1/LabelSegment.java | 377 +- .../v1p2beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p2beta1/Likelihood.java | 108 +- .../v1p2beta1/NormalizedBoundingBox.java | 421 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1p2beta1/NormalizedBoundingPoly.java | 493 +- .../NormalizedBoundingPolyOrBuilder.java | 33 +- .../v1p2beta1/NormalizedVertex.java | 324 +- .../v1p2beta1/NormalizedVertexOrBuilder.java | 29 + .../v1p2beta1/ObjectTrackingAnnotation.java | 850 ++-- .../ObjectTrackingAnnotationOrBuilder.java | 62 +- .../v1p2beta1/ObjectTrackingFrame.java | 534 +- .../ObjectTrackingFrameOrBuilder.java | 49 +- .../v1p2beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p2beta1/TextAnnotation.java | 467 +- .../v1p2beta1/TextAnnotationOrBuilder.java | 45 +- .../v1p2beta1/TextDetectionConfig.java | 367 +- .../TextDetectionConfigOrBuilder.java | 36 +- .../v1p2beta1/TextFrame.java | 509 +- .../v1p2beta1/TextFrameOrBuilder.java | 49 +- .../v1p2beta1/TextSegment.java | 513 +- .../v1p2beta1/TextSegmentOrBuilder.java | 47 +- .../v1p2beta1/VideoAnnotationProgress.java | 561 +-- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1p2beta1/VideoAnnotationResults.java | 2250 +++------ .../VideoAnnotationResultsOrBuilder.java | 275 +- .../v1p2beta1/VideoContext.java | 1112 ++--- .../v1p2beta1/VideoContextOrBuilder.java | 128 +- .../VideoIntelligenceServiceProto.java | 475 ++ .../v1p2beta1/VideoSegment.java | 440 +- .../v1p2beta1/VideoSegmentOrBuilder.java | 34 +- .../v1p2beta1/video_intelligence.proto | 0 .../annotatevideo/SyncAnnotateVideo.java | 47 + .../annotatevideo/AsyncAnnotateVideo.java | 56 + .../annotatevideo/AsyncAnnotateVideoLRO.java | 57 + .../annotatevideo/SyncAnnotateVideo.java | 53 + .../SyncAnnotateVideoStringListfeature.java | 44 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../annotatevideo/SyncAnnotateVideo.java | 47 + ...reamingVideoIntelligenceServiceClient.java | 22 +- ...amingVideoIntelligenceServiceSettings.java | 30 +- .../VideoIntelligenceServiceClient.java | 44 +- .../VideoIntelligenceServiceSettings.java | 30 +- .../v1p3beta1/gapic_metadata.json | 0 .../v1p3beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 ...StreamingVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 105 + ...StreamingVideoIntelligenceServiceStub.java | 136 + ...deoIntelligenceServiceCallableFactory.java | 105 + .../HttpJsonVideoIntelligenceServiceStub.java | 231 + ...StreamingVideoIntelligenceServiceStub.java | 0 ...gVideoIntelligenceServiceStubSettings.java | 61 +- .../stub/VideoIntelligenceServiceStub.java | 6 +- .../VideoIntelligenceServiceStubSettings.java | 59 +- ...MockStreamingVideoIntelligenceService.java | 0 ...StreamingVideoIntelligenceServiceImpl.java | 0 .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 70 + ...ingVideoIntelligenceServiceClientTest.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 127 + .../VideoIntelligenceServiceClientTest.java | 0 ...StreamingVideoIntelligenceServiceGrpc.java | 285 ++ .../VideoIntelligenceServiceGrpc.java | 218 +- .../v1p3beta1/AnnotateVideoProgress.java | 554 +-- .../AnnotateVideoProgressOrBuilder.java | 53 + .../v1p3beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p3beta1/AnnotateVideoResponse.java | 554 +-- .../AnnotateVideoResponseOrBuilder.java | 53 + .../v1p3beta1/Celebrity.java | 472 +- .../v1p3beta1/CelebrityOrBuilder.java | 45 +- .../CelebrityRecognitionAnnotation.java | 583 +-- ...lebrityRecognitionAnnotationOrBuilder.java | 47 +- .../v1p3beta1/CelebrityTrack.java | 1128 ++--- .../v1p3beta1/CelebrityTrackOrBuilder.java | 70 +- .../v1p3beta1/DetectedAttribute.java | 448 +- .../v1p3beta1/DetectedAttributeOrBuilder.java | 39 +- .../v1p3beta1/DetectedLandmark.java | 465 +- .../v1p3beta1/DetectedLandmarkOrBuilder.java | 38 +- .../videointelligence/v1p3beta1/Entity.java | 469 +- .../v1p3beta1/EntityOrBuilder.java | 45 +- .../v1p3beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../v1p3beta1/FaceDetectionAnnotation.java | 453 +- .../FaceDetectionAnnotationOrBuilder.java | 39 +- .../v1p3beta1/FaceDetectionConfig.java | 409 +- .../FaceDetectionConfigOrBuilder.java | 33 +- .../videointelligence/v1p3beta1/Feature.java | 141 +- .../v1p3beta1/LabelAnnotation.java | 789 +-- .../v1p3beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p3beta1/LabelDetectionConfig.java | 554 +-- .../LabelDetectionConfigOrBuilder.java | 48 +- .../v1p3beta1/LabelDetectionMode.java | 92 +- .../v1p3beta1/LabelFrame.java | 369 +- .../v1p3beta1/LabelFrameOrBuilder.java | 29 +- .../v1p3beta1/LabelSegment.java | 377 +- .../v1p3beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p3beta1/Likelihood.java | 108 +- .../v1p3beta1/LogoRecognitionAnnotation.java | 676 +-- .../LogoRecognitionAnnotationOrBuilder.java | 59 +- .../v1p3beta1/NormalizedBoundingBox.java | 421 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1p3beta1/NormalizedBoundingPoly.java | 493 +- .../NormalizedBoundingPolyOrBuilder.java | 33 +- .../v1p3beta1/NormalizedVertex.java | 324 +- .../v1p3beta1/NormalizedVertexOrBuilder.java | 29 + .../v1p3beta1/ObjectTrackingAnnotation.java | 850 ++-- .../ObjectTrackingAnnotationOrBuilder.java | 62 +- .../v1p3beta1/ObjectTrackingConfig.java | 343 +- .../ObjectTrackingConfigOrBuilder.java | 27 +- .../v1p3beta1/ObjectTrackingFrame.java | 534 +- .../ObjectTrackingFrameOrBuilder.java | 49 +- .../v1p3beta1/PersonDetectionAnnotation.java | 420 +- .../PersonDetectionAnnotationOrBuilder.java | 36 +- .../v1p3beta1/PersonDetectionConfig.java | 382 +- .../PersonDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/SpeechContext.java | 346 +- .../v1p3beta1/SpeechContextOrBuilder.java | 36 +- .../SpeechRecognitionAlternative.java | 634 +-- ...SpeechRecognitionAlternativeOrBuilder.java | 68 +- .../v1p3beta1/SpeechTranscription.java | 636 +-- .../v1p3beta1/SpeechTranscriptionConfig.java | 937 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 88 +- .../SpeechTranscriptionOrBuilder.java | 70 +- .../StreamingAnnotateVideoRequest.java | 587 +-- ...treamingAnnotateVideoRequestOrBuilder.java | 39 +- .../StreamingAnnotateVideoResponse.java | 683 +-- ...reamingAnnotateVideoResponseOrBuilder.java | 61 +- ...treamingAutomlActionRecognitionConfig.java | 431 +- ...utomlActionRecognitionConfigOrBuilder.java | 27 +- .../StreamingAutomlClassificationConfig.java | 429 +- ...ngAutomlClassificationConfigOrBuilder.java | 27 +- .../StreamingAutomlObjectTrackingConfig.java | 429 +- ...ngAutomlObjectTrackingConfigOrBuilder.java | 27 +- ...reamingExplicitContentDetectionConfig.java | 359 +- ...plicitContentDetectionConfigOrBuilder.java | 9 + .../v1p3beta1/StreamingFeature.java | 122 +- .../StreamingLabelDetectionConfig.java | 371 +- ...treamingLabelDetectionConfigOrBuilder.java | 21 +- .../StreamingObjectTrackingConfig.java | 334 +- ...treamingObjectTrackingConfigOrBuilder.java | 9 + .../StreamingShotChangeDetectionConfig.java | 344 +- ...ingShotChangeDetectionConfigOrBuilder.java | 9 + .../v1p3beta1/StreamingStorageConfig.java | 398 +- .../StreamingStorageConfigOrBuilder.java | 30 +- .../StreamingVideoAnnotationResults.java | 1323 ++--- ...eamingVideoAnnotationResultsOrBuilder.java | 145 +- .../v1p3beta1/StreamingVideoConfig.java | 2228 +++------ .../StreamingVideoConfigOrBuilder.java | 229 +- .../v1p3beta1/TextAnnotation.java | 467 +- .../v1p3beta1/TextAnnotationOrBuilder.java | 45 +- .../v1p3beta1/TextDetectionConfig.java | 446 +- .../TextDetectionConfigOrBuilder.java | 45 +- .../v1p3beta1/TextFrame.java | 509 +- .../v1p3beta1/TextFrameOrBuilder.java | 49 +- .../v1p3beta1/TextSegment.java | 513 +- .../v1p3beta1/TextSegmentOrBuilder.java | 47 +- .../v1p3beta1/TimestampedObject.java | 1073 ++--- .../v1p3beta1/TimestampedObjectOrBuilder.java | 118 +- .../videointelligence/v1p3beta1/Track.java | 921 ++-- .../v1p3beta1/TrackOrBuilder.java | 101 +- .../v1p3beta1/VideoAnnotationProgress.java | 735 +-- .../VideoAnnotationProgressOrBuilder.java | 60 +- .../v1p3beta1/VideoAnnotationResults.java | 4278 +++++------------ .../VideoAnnotationResultsOrBuilder.java | 559 +-- .../v1p3beta1/VideoContext.java | 1820 +++---- .../v1p3beta1/VideoContextOrBuilder.java | 220 +- .../VideoIntelligenceServiceProto.java | 1000 ++++ .../v1p3beta1/VideoSegment.java | 440 +- .../v1p3beta1/VideoSegmentOrBuilder.java | 34 +- .../videointelligence/v1p3beta1/WordInfo.java | 561 +-- .../v1p3beta1/WordInfoOrBuilder.java | 49 +- .../v1p3beta1/video_intelligence.proto | 0 .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 42 + .../create/SyncCreateSetEndpoint.java | 39 + .../AsyncStreamingAnnotateVideo.java | 46 + .../SyncStreamingAnnotateVideo.java | 48 + .../SyncStreamingAnnotateVideo.java | 48 + .../annotatevideo/SyncAnnotateVideo.java | 47 + .../annotatevideo/AsyncAnnotateVideo.java | 56 + .../annotatevideo/AsyncAnnotateVideoLRO.java | 57 + .../annotatevideo/SyncAnnotateVideo.java | 53 + .../SyncAnnotateVideoStringListfeature.java | 44 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../annotatevideo/SyncAnnotateVideo.java | 47 + .../v1/AnnotateVideoProgressOrBuilder.java | 89 - .../v1/AnnotateVideoResponseOrBuilder.java | 89 - .../v1/NormalizedVertexOrBuilder.java | 51 - .../v1/VideoIntelligenceServiceProto.java | 864 ---- .../AnnotateVideoProgressOrBuilder.java | 91 - .../AnnotateVideoResponseOrBuilder.java | 90 - .../VideoIntelligenceServiceProto.java | 457 -- .../AnnotateVideoProgressOrBuilder.java | 91 - .../AnnotateVideoResponseOrBuilder.java | 91 - .../VideoIntelligenceServiceProto.java | 468 -- .../AnnotateVideoProgressOrBuilder.java | 91 - .../AnnotateVideoResponseOrBuilder.java | 91 - .../v1p2beta1/NormalizedVertexOrBuilder.java | 51 - .../VideoIntelligenceServiceProto.java | 526 -- .../AnnotateVideoProgressOrBuilder.java | 91 - .../AnnotateVideoResponseOrBuilder.java | 91 - .../v1p3beta1/NormalizedVertexOrBuilder.java | 51 - ...plicitContentDetectionConfigOrBuilder.java | 24 - ...treamingObjectTrackingConfigOrBuilder.java | 24 - ...ingShotChangeDetectionConfigOrBuilder.java | 24 - .../VideoIntelligenceServiceProto.java | 1111 ----- 517 files changed, 49127 insertions(+), 82014 deletions(-) delete mode 100644 grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/package-info.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java (93%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java (84%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java (100%) rename {grpc-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java (56%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java (75%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Entity.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java (65%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java (70%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java (76%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java (73%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java (63%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java (60%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Feature.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java (78%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java (82%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java (75%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java (79%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java (69%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java (67%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java (76%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java (82%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java (70%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java (55%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java (75%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java (69%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java (67%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java (76%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java (69%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java (75%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java (79%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java (69%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java (69%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java (65%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java (57%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Track.java (67%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java (72%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java (80%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java (66%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java (71%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java (78%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1 => owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1}/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java (100%) create mode 100644 owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java (93%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java (84%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1beta2/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java (100%) rename {grpc-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java (56%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java (74%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java (71%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java (67%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java (63%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java (76%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java (69%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java (59%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java (67%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java (61%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java (69%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java (61%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java (78%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java (69%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java (70%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java (70%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java (67%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java (68%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java (56%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java (65%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java (69%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java (73%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java (66%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java (65%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java (66%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java (71%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2}/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto (100%) create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) create mode 100644 owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java (93%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java (84%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p1beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java (100%) rename {grpc-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java (56%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java (61%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java (73%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java (61%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java (71%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java (65%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java (58%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java (67%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java (68%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java (77%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java (68%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java (69%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java (68%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java (70%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java (69%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java (67%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java (65%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java (76%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java (72%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java (75%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java (64%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java (70%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java (57%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java (70%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java (64%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java (60%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java (63%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java (71%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java (76%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java (81%) rename {proto-google-cloud-video-intelligence-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1}/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto (100%) create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) create mode 100644 owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java (93%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java (84%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p2beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java (100%) rename {grpc-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java (56%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java (61%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java (73%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java (77%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java (61%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java (71%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java (65%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java (58%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java (67%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java (69%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java (77%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java (68%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java (69%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java (68%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java (70%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java (69%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java (67%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java (66%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java (56%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java (68%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java (67%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java (71%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java (82%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java (63%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java (59%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java (65%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java (73%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java (71%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java (72%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java (65%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java (57%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java (74%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java (69%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java (73%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java (65%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java (63%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java (64%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java (71%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1}/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto (100%) create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java (88%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java (86%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java (87%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java (81%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java (93%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java (84%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java (100%) rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename {google-cloud-video-intelligence => owl-bot-staging/v1p3beta1/google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java (100%) create mode 100644 owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java rename {grpc-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java (56%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java (61%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java (73%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java (77%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java (61%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java (63%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java (63%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java (52%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java (70%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java (72%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java (58%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java (67%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java (70%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java (72%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java (77%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java (72%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java (77%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java (68%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java (70%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java (69%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java (67%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java (75%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java (83%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java (56%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java (68%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java (67%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java (73%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java (63%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java (59%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java (69%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java (69%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java (76%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java (67%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java (66%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java (72%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java (78%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java (63%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java (62%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java (56%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java (57%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java (57%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java (56%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java (53%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java (50%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java (58%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java (50%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java (53%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java (52%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java (60%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java (58%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java (51%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java (51%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java (73%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java (68%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java (72%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java (65%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java (57%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java (74%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java (76%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java (61%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java (54%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java (63%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java (56%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java (81%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java (64%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java (62%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java (60%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java (61%) create mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java (71%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java (74%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java (77%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java (84%) rename {proto-google-cloud-video-intelligence-v1p3beta1 => owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1}/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto (100%) create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java delete mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java delete mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java delete mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java delete mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java delete mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java diff --git a/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java deleted file mode 100644 index a7aa03783..000000000 --- a/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java +++ /dev/null @@ -1,362 +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.videointelligence.v1p3beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service that implements streaming Video Intelligence API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StreamingVideoIntelligenceServiceGrpc { - - private StreamingVideoIntelligenceServiceGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> - getStreamingAnnotateVideoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StreamingAnnotateVideo", - requestType = - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, - responseType = - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> - getStreamingAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> - getStreamingAnnotateVideoMethod; - if ((getStreamingAnnotateVideoMethod = - StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) - == null) { - synchronized (StreamingVideoIntelligenceServiceGrpc.class) { - if ((getStreamingAnnotateVideoMethod = - StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) - == null) { - StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod = - getStreamingAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StreamingAnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAnnotateVideoResponse.getDefaultInstance())) - .setSchemaDescriptor( - new StreamingVideoIntelligenceServiceMethodDescriptorSupplier( - "StreamingAnnotateVideo")) - .build(); - } - } - } - return getStreamingAnnotateVideoMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StreamingVideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static StreamingVideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public abstract static class StreamingVideoIntelligenceServiceImplBase - implements io.grpc.BindableService { - - /** - * - * - *
-     * Performs video annotation with bidirectional streaming: emitting results
-     * while sending video/audio bytes.
-     * This method is only available via the gRPC API (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest> - streamingAnnotateVideo( - io.grpc.stub.StreamObserver< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> - responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getStreamingAnnotateVideoMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getStreamingAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>( - this, METHODID_STREAMING_ANNOTATE_VIDEO))) - .build(); - } - } - - /** - * - * - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private StreamingVideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Performs video annotation with bidirectional streaming: emitting results
-     * while sending video/audio bytes.
-     * This method is only available via the gRPC API (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest> - streamingAnnotateVideo( - io.grpc.stub.StreamObserver< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> - responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getStreamingAnnotateVideoMethod(), getCallOptions()), - responseObserver); - } - } - - /** - * - * - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private StreamingVideoIntelligenceServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); - } - } - - /** - * - * - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private StreamingVideoIntelligenceServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); - } - } - - private static final int METHODID_STREAMING_ANNOTATE_VIDEO = 0; - - 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 StreamingVideoIntelligenceServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(StreamingVideoIntelligenceServiceImplBase 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) { - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_STREAMING_ANNOTATE_VIDEO: - return (io.grpc.stub.StreamObserver) - serviceImpl.streamingAnnotateVideo( - (io.grpc.stub.StreamObserver< - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAnnotateVideoResponse>) - responseObserver); - default: - throw new AssertionError(); - } - } - } - - private abstract static class StreamingVideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StreamingVideoIntelligenceServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StreamingVideoIntelligenceService"); - } - } - - private static final class StreamingVideoIntelligenceServiceFileDescriptorSupplier - extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier { - StreamingVideoIntelligenceServiceFileDescriptorSupplier() {} - } - - private static final class StreamingVideoIntelligenceServiceMethodDescriptorSupplier - extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StreamingVideoIntelligenceServiceMethodDescriptorSupplier(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 (StreamingVideoIntelligenceServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor( - new StreamingVideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getStreamingAnnotateVideoMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index 369c0fe41..fcc231af0 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java @@ -17,13 +17,13 @@ package com.google.cloud.videointelligence.v1; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.videointelligence.v1.stub.VideoIntelligenceServiceStub; import com.google.cloud.videointelligence.v1.stub.VideoIntelligenceServiceStubSettings; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; @@ -56,13 +56,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. *
* @@ -99,13 +99,29 @@ * VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); * } * + *

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.
+ * VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+ *     VideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+ *     VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class VideoIntelligenceServiceClient implements BackgroundResource { private final VideoIntelligenceServiceSettings settings; private final VideoIntelligenceServiceStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of VideoIntelligenceServiceClient with default settings. */ public static final VideoIntelligenceServiceClient create() throws IOException { @@ -139,13 +155,17 @@ protected VideoIntelligenceServiceClient(VideoIntelligenceServiceSettings settin throws IOException { this.settings = settings; this.stub = ((VideoIntelligenceServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected VideoIntelligenceServiceClient(VideoIntelligenceServiceStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final VideoIntelligenceServiceSettings getSettings() { @@ -160,10 +180,18 @@ public VideoIntelligenceServiceStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Performs asynchronous video annotation. Progress and results can be retrieved through the diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java index 2538abed2..4270dfbff 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java @@ -21,10 +21,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.OperationCallSettings; +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.videointelligence.v1.stub.VideoIntelligenceServiceStubSettings; @@ -40,10 +42,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -110,11 +112,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return VideoIntelligenceServiceStubSettings.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 VideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return VideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return VideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -124,11 +133,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return VideoIntelligenceServiceStubSettings.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); @@ -167,6 +182,11 @@ private static Builder createDefault() { return new Builder(VideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(VideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((VideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..5b38e47ad --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.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.videointelligence.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 VideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonVideoIntelligenceServiceCallableFactory + 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-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..d624e7a44 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -0,0 +1,231 @@ +/* + * 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.videointelligence.v1.stub; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.videointelligence.v1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; +import com.google.longrunning.Operation; +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 VideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(AnnotateVideoProgress.getDescriptor()) + .add(AnnotateVideoResponse.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + annotateVideoMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.videointelligence.v1.VideoIntelligenceService/AnnotateVideo") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/videos:annotate", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AnnotateVideoRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable annotateVideoCallable; + private final OperationCallable< + AnnotateVideoRequest, AnnotateVideoResponse, AnnotateVideoProgress> + annotateVideoOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonVideoIntelligenceServiceStub create( + VideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonVideoIntelligenceServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings annotateVideoTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(annotateVideoMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.annotateVideoCallable = + callableFactory.createUnaryCallable( + annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext); + this.annotateVideoOperationCallable = + callableFactory.createOperationCallable( + annotateVideoTransportSettings, + settings.annotateVideoOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(annotateVideoMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable annotateVideoCallable() { + return annotateVideoCallable; + } + + @Override + public OperationCallable + annotateVideoOperationCallable() { + return annotateVideoOperationCallable; + } + + @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-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java similarity index 93% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java index 19321dbae..311ac98c8 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java @@ -36,7 +36,11 @@ public abstract class VideoIntelligenceServiceStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java similarity index 84% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java index ba7025c03..ca20187dc 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java @@ -25,6 +25,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +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.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -55,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -113,6 +116,11 @@ public VideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -145,18 +153,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(VideoIntelligenceServiceStubSettings.class)) @@ -164,11 +179,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(VideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return VideoIntelligenceServiceStubSettings.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); @@ -265,6 +299,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 .annotateVideoSettings() diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..ce3ec37a8 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * 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.videointelligence.v1; + +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.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.videointelligence.v1.stub.HttpJsonVideoIntelligenceServiceStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +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 VideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static VideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonVideoIntelligenceServiceStub.getMethodDescriptors(), + VideoIntelligenceServiceSettings.getDefaultEndpoint()); + VideoIntelligenceServiceSettings settings = + VideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = VideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void annotateVideoTest() throws Exception { + AnnotateVideoResponse expectedResponse = + AnnotateVideoResponse.newBuilder() + .addAllAnnotationResults(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("annotateVideoTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + + AnnotateVideoResponse actualResponse = client.annotateVideoAsync(inputUri, features).get(); + 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 annotateVideoExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + client.annotateVideoAsync(inputUri, features).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java diff --git a/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java index ad470171b..93df2a63f 100644 --- a/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.videointelligence.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Service that implements the Video Intelligence API.
  * 
@@ -32,110 +15,92 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1.VideoIntelligenceService"; + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { + io.grpc.MethodDescriptor getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) - == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = - getAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -143,36 +108,32 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1.AnnotateVideoRequest, - com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1.AnnotateVideoRequest, + com.google.longrunning.Operation>( + this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -183,8 +144,6 @@ protected VideoIntelligenceServiceStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -192,25 +151,19 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -223,8 +176,6 @@ protected VideoIntelligenceServiceBlockingStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -232,22 +183,18 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -260,8 +207,6 @@ protected VideoIntelligenceServiceFutureStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -269,8 +214,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture annotateVideo( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -278,11 +223,11 @@ protected VideoIntelligenceServiceFutureStub build( private static final int METHODID_ANNOTATE_VIDEO = 0; - 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 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -296,8 +241,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo( - (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -316,9 +260,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -360,12 +303,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java index 1fb6110d7..98bbe232e 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationProgress_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.VideoAnnotationProgress>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationProgress_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.VideoAnnotationProgress.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationProgress_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationProgress_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.VideoAnnotationProgress.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -110,108 +89,80 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class,
-            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationProgress_;
+  private java.util.List annotationProgress_;
   /**
-   *
-   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> + public java.util.List getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index) { return annotationProgress_.get(index); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoProgress other = - (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList() + .equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,104 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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; } /** - * - * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -384,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class,
-              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoProgress.newBuilder()
@@ -408,17 +350,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) {
         getAnnotationProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
@@ -453,8 +395,7 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoProgress build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1.AnnotateVideoProgress result =
-          new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -473,39 +414,38 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoProgress) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoProgress.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoProgress.getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -533,10 +472,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoProg
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationProgressFieldBuilder()
-                    : null;
+            annotationProgressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationProgressFieldBuilder() : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -561,8 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -571,40 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationProgress_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationProgress_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ =
-            new java.util.ArrayList(
-                annotationProgress_);
+        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoAnnotationProgress,
-            com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder,
-            com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>
-        annotationProgressBuilder_;
+        com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
 
     /**
-     *
-     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -612,15 +537,11 @@ private void ensureAnnotationProgressIsMutable() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -630,18 +551,13 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -649,15 +565,11 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotati } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { @@ -674,19 +586,14 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -697,18 +604,13 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -722,15 +624,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { @@ -747,15 +645,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { @@ -769,19 +663,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -792,22 +681,18 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAllAnnotationProgress( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -815,15 +700,11 @@ public Builder addAllAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -836,15 +717,11 @@ public Builder clearAnnotationProgress() { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -857,53 +734,39 @@ public Builder removeAnnotationProgress(int index) { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder - getAnnotationProgressBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( + int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); - } else { + return annotationProgress_.get(index); } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList() { + public java.util.List + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -911,67 +774,45 @@ public Builder removeAnnotationProgress(int index) { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder(int index) { - return getAnnotationProgressFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( + int index) { + return getAnnotationProgressFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -980,9 +821,9 @@ public Builder removeAnnotationProgress(int index) { } return annotationProgressBuilder_; } - @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); } @@ -992,12 +833,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoProgress) private static final com.google.cloud.videointelligence.v1.AnnotateVideoProgress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(); } @@ -1006,16 +847,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +871,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..714958960 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface AnnotateVideoProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + */ + int getAnnotationProgressCount(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java index 18e04b678..dd13d0f95 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotateVideoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -47,15 +29,16 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,81 +58,72 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { + features_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - features_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 26: { + com.google.cloud.videointelligence.v1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); - } - - break; + videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: - { - inputContent_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputUri_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + case 50: { + + inputContent_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,7 +131,8 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -166,27 +141,22 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -202,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -211,15 +180,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 video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -235,15 +203,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; - * * @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 { @@ -254,8 +223,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -263,7 +230,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -274,49 +240,34 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature> - features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature> features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>() { public com.google.cloud.videointelligence.v1.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = - com.google.cloud.videointelligence.v1.Feature.valueOf(from); - return result == null - ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(from); + return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>(features_, features_converter_); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ @java.lang.Override @@ -324,16 +275,11 @@ public int getFeaturesCount() { return features_.size(); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -342,33 +288,24 @@ public com.google.cloud.videointelligence.v1.Feature getFeatures(int index) { return features_converter_.convert(features_.get(index)); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return features_; } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -376,20 +313,16 @@ public java.util.List getFeaturesValueList() { public int getFeaturesValue(int index) { return features_.get(index); } - private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1.VideoContext videoContext_; /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -397,25 +330,18 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoContext getVideoContext() { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -430,8 +356,6 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -443,7 +367,6 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ @java.lang.Override @@ -452,15 +375,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; } } /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -472,15 +394,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -491,8 +414,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -501,7 +422,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ @java.lang.Override @@ -510,15 +430,14 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -527,15 +446,16 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -544,7 +464,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,7 +475,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -595,17 +515,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -614,7 +535,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -624,23 +546,27 @@ 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.videointelligence.v1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext().equals(other.getVideoContext())) return false; + if (!getVideoContext() + .equals(other.getVideoContext())) return false; } - if (!getOutputUri().equals(other.getOutputUri())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOutputUri() + .equals(other.getOutputUri())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -674,127 +600,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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; } /** - * - * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoRequest} */ - 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.videointelligence.v1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoRequest.newBuilder() @@ -802,15 +718,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(); @@ -834,9 +751,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override @@ -855,8 +772,7 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoRequest build() { @java.lang.Override public com.google.cloud.videointelligence.v1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1.AnnotateVideoRequest result = - new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -880,39 +796,38 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoRequest) other); + return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoRequest)other); } else { super.mergeFrom(other); return this; @@ -920,8 +835,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -969,8 +883,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -979,13 +892,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1001,13 +911,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; - * * @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; @@ -1016,8 +926,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1033,14 +941,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; - * * @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 { @@ -1048,8 +957,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1065,22 +972,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 1; - * * @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 video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1096,18 +1001,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1123,16 +1025,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; - * * @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; @@ -1140,8 +1042,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1149,7 +1049,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -1157,8 +1056,6 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1166,22 +1063,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1189,18 +1083,17 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = java.util.Collections.emptyList(); - + private java.util.List features_ = + java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1208,50 +1101,34 @@ private void ensureFeaturesIsMutable() { } } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>(features_, features_converter_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -1259,21 +1136,17 @@ public com.google.cloud.videointelligence.v1.Feature getFeatures(int index) { return features_converter_.convert(features_.get(index)); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. */ - public Builder setFeatures(int index, com.google.cloud.videointelligence.v1.Feature value) { + public Builder setFeatures( + int index, com.google.cloud.videointelligence.v1.Feature value) { if (value == null) { throw new NullPointerException(); } @@ -1283,16 +1156,11 @@ public Builder setFeatures(int index, com.google.cloud.videointelligence.v1.Feat return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The features to add. * @return This builder for chaining. */ @@ -1306,16 +1174,11 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1.Feature value) return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The features to add. * @return This builder for chaining. */ @@ -1329,16 +1192,11 @@ public Builder addAllFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1348,32 +1206,23 @@ public Builder clearFeatures() { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1381,37 +1230,28 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue(int index, int value) { + public Builder setFeaturesValue( + int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1422,20 +1262,16 @@ public Builder addFeaturesValue(int value) { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue(java.lang.Iterable values) { + public Builder addAllFeaturesValue( + java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1446,47 +1282,34 @@ public Builder addAllFeaturesValue(java.lang.Iterable values) private com.google.cloud.videointelligence.v1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, - com.google.cloud.videointelligence.v1.VideoContext.Builder, - com.google.cloud.videointelligence.v1.VideoContextOrBuilder> - videoContextBuilder_; + com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder> videoContextBuilder_; /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return The videoContext. */ public com.google.cloud.videointelligence.v1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1507,8 +1330,6 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1.VideoContex return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1527,8 +1348,6 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1539,9 +1358,7 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1.VideoCont if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1.VideoContext.newBuilder(videoContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); } else { videoContext_ = value; } @@ -1553,8 +1370,6 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1.VideoCont return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1573,8 +1388,6 @@ public Builder clearVideoContext() { return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1582,13 +1395,11 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1.VideoContext video_context = 3; */ public com.google.cloud.videointelligence.v1.VideoContext.Builder getVideoContextBuilder() { - + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1599,14 +1410,11 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? + com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1614,17 +1422,14 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte * .google.cloud.videointelligence.v1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, - com.google.cloud.videointelligence.v1.VideoContext.Builder, - com.google.cloud.videointelligence.v1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, - com.google.cloud.videointelligence.v1.VideoContext.Builder, - com.google.cloud.videointelligence.v1.VideoContextOrBuilder>( - getVideoContext(), getParentForChildren(), isClean()); + videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder>( + getVideoContext(), + getParentForChildren(), + isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1632,8 +1437,6 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte private java.lang.Object outputUri_ = ""; /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1645,13 +1448,13 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1660,8 +1463,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1673,14 +1474,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1688,8 +1490,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1701,22 +1501,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1728,18 +1526,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1751,16 +1546,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1768,8 +1563,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1778,13 +1571,13 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1793,8 +1586,6 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1803,14 +1594,15 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1818,8 +1610,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1828,22 +1618,20 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1852,18 +1640,15 @@ public Builder setLocationId(java.lang.String value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1872,23 +1657,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1898,12 +1683,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoRequest) private static final com.google.cloud.videointelligence.v1.AnnotateVideoRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(); } @@ -1912,16 +1697,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1936,4 +1721,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java index 3868569cc..c01cb4d60 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface AnnotateVideoRequestOrBuilder - extends +public interface AnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -41,13 +23,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -63,14 +42,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -78,111 +55,78 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ java.util.List getFeaturesList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ int getFeaturesCount(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1.Feature getFeatures(int index); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - java.util.List getFeaturesValueList(); + java.util.List + getFeaturesValueList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; - * * @return The videoContext. */ com.google.cloud.videointelligence.v1.VideoContext getVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -192,8 +136,6 @@ public interface AnnotateVideoRequestOrBuilder com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoContextOrBuilder(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -205,13 +147,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -223,14 +162,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -239,13 +176,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -254,8 +188,8 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java index 92d5e40b6..e38f09933 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.VideoAnnotationResults>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationResults_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.VideoAnnotationResults.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationResults_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.VideoAnnotationResults.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -110,108 +89,80 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationResults_;
+  private java.util.List annotationResults_;
   /**
-   *
-   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> + public java.util.List getAnnotationResultsOrBuilderList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index) { return annotationResults_.get(index); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList() + .equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,104 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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; } /** - * - * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -384,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoResponse.newBuilder()
@@ -408,17 +350,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) {
         getAnnotationResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
@@ -453,8 +395,7 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoResponse build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1.AnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -473,39 +414,38 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoResponse) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoResponse.getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -533,10 +472,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoResp
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationResultsFieldBuilder()
-                    : null;
+            annotationResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationResultsFieldBuilder() : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -561,8 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -571,40 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationResults_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationResults_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ =
-            new java.util.ArrayList(
-                annotationResults_);
+        annotationResults_ = new java.util.ArrayList(annotationResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoAnnotationResults,
-            com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -612,15 +537,11 @@ private void ensureAnnotationResultsIsMutable() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -630,18 +551,13 @@ public int getAnnotationResultsCount() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -649,15 +565,11 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotatio } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { @@ -674,19 +586,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( - int index, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -697,18 +604,13 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { + public Builder addAnnotationResults(com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -722,15 +624,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { @@ -747,15 +645,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { @@ -769,19 +663,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - int index, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -792,22 +681,18 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder addAllAnnotationResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -815,15 +700,11 @@ public Builder addAllAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -836,15 +717,11 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -857,53 +734,39 @@ public Builder removeAnnotationResults(int index) { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder - getAnnotationResultsBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( + int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); - } else { + return annotationResults_.get(index); } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList() { + public java.util.List + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -911,67 +774,45 @@ public Builder removeAnnotationResults(int index) { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder(int index) { - return getAnnotationResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( + int index) { + return getAnnotationResultsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -980,9 +821,9 @@ public Builder removeAnnotationResults(int index) { } return annotationResultsBuilder_; } - @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); } @@ -992,12 +833,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoResponse) private static final com.google.cloud.videointelligence.v1.AnnotateVideoResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(); } @@ -1006,16 +847,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +871,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..7fb4e122b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface AnnotateVideoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + */ + int getAnnotationResultsCount(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java index 3f69c98be..4bec75d33 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * A generic detected attribute represented by name in string format.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.DetectedAttribute} */ -public final class DetectedAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DetectedAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.DetectedAttribute) DetectedAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DetectedAttribute.newBuilder() to construct. private DetectedAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DetectedAttribute() { name_ = ""; value_ = ""; @@ -44,15 +26,16 @@ private DetectedAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DetectedAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DetectedAttribute( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private DetectedAttribute( 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 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 21: { - value_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + confidence_ = input.readFloat(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,40 +85,35 @@ private DetectedAttribute( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.DetectedAttribute.class, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1.DetectedAttribute.class, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -146,30 +122,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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * 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 { @@ -180,14 +156,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -198,15 +171,12 @@ public float getConfidence() { public static final int VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object value_; /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The value. */ @java.lang.Override @@ -215,30 +185,30 @@ public java.lang.String getValue() { 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(); value_ = s; return s; } } /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -247,7 +217,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +228,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_); } @@ -282,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -295,18 +266,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.videointelligence.v1.DetectedAttribute)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.DetectedAttribute other = - (com.google.cloud.videointelligence.v1.DetectedAttribute) obj; + com.google.cloud.videointelligence.v1.DetectedAttribute other = (com.google.cloud.videointelligence.v1.DetectedAttribute) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getValue().equals(other.getValue())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,7 +294,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -330,127 +304,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.DetectedAttribute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.DetectedAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.DetectedAttribute 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; } /** - * - * *
    * A generic detected attribute represented by name in string format.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.DetectedAttribute} */ - 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.videointelligence.v1.DetectedAttribute) com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.DetectedAttribute.class, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1.DetectedAttribute.class, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.DetectedAttribute.newBuilder() @@ -458,15 +422,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(); @@ -480,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override @@ -501,8 +466,7 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute build() { @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute buildPartial() { - com.google.cloud.videointelligence.v1.DetectedAttribute result = - new com.google.cloud.videointelligence.v1.DetectedAttribute(this); + com.google.cloud.videointelligence.v1.DetectedAttribute result = new com.google.cloud.videointelligence.v1.DetectedAttribute(this); result.name_ = name_; result.confidence_ = confidence_; result.value_ = value_; @@ -514,39 +478,38 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute) { - return mergeFrom((com.google.cloud.videointelligence.v1.DetectedAttribute) other); + return mergeFrom((com.google.cloud.videointelligence.v1.DetectedAttribute)other); } else { super.mergeFrom(other); return this; @@ -554,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.DetectedAttribute other) { - if (other == com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -586,8 +548,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.DetectedAttribute) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.DetectedAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,21 +560,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; @@ -622,22 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 { @@ -645,79 +603,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -725,36 +673,30 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; @@ -762,21 +704,19 @@ public Builder clearConfidence() { private java.lang.Object value_ = ""; /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; @@ -785,22 +725,21 @@ public java.lang.String getValue() { } } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -808,71 +747,64 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -882,12 +814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.DetectedAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.DetectedAttribute) private static final com.google.cloud.videointelligence.v1.DetectedAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.DetectedAttribute(); } @@ -896,16 +828,16 @@ public static com.google.cloud.videointelligence.v1.DetectedAttribute getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedAttribute(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedAttribute(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,4 +852,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.DetectedAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java index 96ead23cc..2644be6e0 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java @@ -1,92 +1,63 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface DetectedAttributeOrBuilder - extends +public interface DetectedAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.DetectedAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java index 80afeadc0..a5afade82 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * A generic detected landmark represented by name in string format and a 2D
  * location.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.DetectedLandmark}
  */
-public final class DetectedLandmark extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DetectedLandmark extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.DetectedLandmark)
     DetectedLandmarkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DetectedLandmark.newBuilder() to construct.
   private DetectedLandmark(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DetectedLandmark() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DetectedLandmark();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DetectedLandmark(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,42 +54,37 @@ private DetectedLandmark(
           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:
-            {
-              com.google.cloud.videointelligence.v1.NormalizedVertex.Builder subBuilder = null;
-              if (point_ != null) {
-                subBuilder = point_.toBuilder();
-              }
-              point_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.NormalizedVertex.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(point_);
-                point_ = subBuilder.buildPartial();
-              }
-
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder subBuilder = null;
+            if (point_ != null) {
+              subBuilder = point_.toBuilder();
             }
-          case 29:
-            {
-              confidence_ = input.readFloat();
-              break;
+            point_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedVertex.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(point_);
+              point_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 29: {
+
+            confidence_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,39 +92,34 @@ private DetectedLandmark(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.DetectedLandmark.class,
-            com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
+            com.google.cloud.videointelligence.v1.DetectedLandmark.class, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -155,29 +128,29 @@ 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 name of this landmark, for example, left_hand, right_shoulder.
    * 
* * 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 { @@ -188,15 +161,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int POINT_FIELD_NUMBER = 2; private com.google.cloud.videointelligence.v1.NormalizedVertex point_; /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ @java.lang.Override @@ -204,26 +174,19 @@ public boolean hasPoint() { return point_ != null; } /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return The point. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedVertex getPoint() { - return point_ == null - ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() - : point_; + return point_ == null ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_; } /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -239,14 +202,11 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
   public static final int CONFIDENCE_FIELD_NUMBER = 3;
   private float confidence_;
   /**
-   *
-   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; - * * @return The confidence. */ @java.lang.Override @@ -255,7 +215,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +226,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_); } @@ -290,10 +250,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (point_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPoint()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,21 +265,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.videointelligence.v1.DetectedLandmark)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.DetectedLandmark other = - (com.google.cloud.videointelligence.v1.DetectedLandmark) obj; + com.google.cloud.videointelligence.v1.DetectedLandmark other = (com.google.cloud.videointelligence.v1.DetectedLandmark) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasPoint() != other.hasPoint()) return false; if (hasPoint()) { - if (!getPoint().equals(other.getPoint())) return false; + if (!getPoint() + .equals(other.getPoint())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,111 +300,104 @@ public int hashCode() { hash = (53 * hash) + getPoint().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.DetectedLandmark parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.DetectedLandmark parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.DetectedLandmark 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; } /** - * - * *
    * A generic detected landmark represented by name in string format and a 2D
    * location.
@@ -448,23 +405,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.DetectedLandmark}
    */
-  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.videointelligence.v1.DetectedLandmark)
       com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.DetectedLandmark.class,
-              com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
+              com.google.cloud.videointelligence.v1.DetectedLandmark.class, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.DetectedLandmark.newBuilder()
@@ -472,15 +427,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();
@@ -498,9 +454,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
@@ -519,8 +475,7 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.DetectedLandmark buildPartial() {
-      com.google.cloud.videointelligence.v1.DetectedLandmark result =
-          new com.google.cloud.videointelligence.v1.DetectedLandmark(this);
+      com.google.cloud.videointelligence.v1.DetectedLandmark result = new com.google.cloud.videointelligence.v1.DetectedLandmark(this);
       result.name_ = name_;
       if (pointBuilder_ == null) {
         result.point_ = point_;
@@ -536,39 +491,38 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.DetectedLandmark) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.DetectedLandmark)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -576,8 +530,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.DetectedLandmark other) {
-      if (other == com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -607,8 +560,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.DetectedLandmark) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.DetectedLandmark) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -620,20 +572,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -642,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 { @@ -664,61 +613,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 name of this landmark, for example, left_hand, right_shoulder.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -726,49 +668,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.videointelligence.v1.NormalizedVertex point_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, - com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> - pointBuilder_; + com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> pointBuilder_; /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ public boolean hasPoint() { return pointBuilder_ != null || point_ != null; } /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return The point. */ public com.google.cloud.videointelligence.v1.NormalizedVertex getPoint() { if (pointBuilder_ == null) { - return point_ == null - ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() - : point_; + return point_ == null ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_; } else { return pointBuilder_.getMessage(); } } /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -790,8 +719,6 @@ public Builder setPoint(com.google.cloud.videointelligence.v1.NormalizedVertex v
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -811,8 +738,6 @@ public Builder setPoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -824,9 +749,7 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1.NormalizedVertex
       if (pointBuilder_ == null) {
         if (point_ != null) {
           point_ =
-              com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder(point_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder(point_).mergeFrom(value).buildPartial();
         } else {
           point_ = value;
         }
@@ -838,8 +761,6 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1.NormalizedVertex
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -859,8 +780,6 @@ public Builder clearPoint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -869,13 +788,11 @@ public Builder clearPoint() {
      * .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
      */
     public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getPointBuilder() {
-
+      
       onChanged();
       return getPointFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -887,14 +804,11 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
       if (pointBuilder_ != null) {
         return pointBuilder_.getMessageOrBuilder();
       } else {
-        return point_ == null
-            ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()
-            : point_;
+        return point_ == null ?
+            com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_;
       }
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -903,32 +817,26 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
      * .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedVertex,
-            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
-            com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
+        com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> 
         getPointFieldBuilder() {
       if (pointBuilder_ == null) {
-        pointBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.NormalizedVertex,
-                com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
-                com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>(
-                getPoint(), getParentForChildren(), isClean());
+        pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>(
+                getPoint(),
+                getParentForChildren(),
+                isClean());
         point_ = null;
       }
       return pointBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @return The confidence. */ @java.lang.Override @@ -936,43 +844,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -982,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.DetectedLandmark) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.DetectedLandmark) private static final com.google.cloud.videointelligence.v1.DetectedLandmark DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.DetectedLandmark(); } @@ -996,16 +898,16 @@ public static com.google.cloud.videointelligence.v1.DetectedLandmark getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedLandmark parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLandmark(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedLandmark parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedLandmark(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1020,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.DetectedLandmark getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java index 8c16528c7..648404e70 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java @@ -1,82 +1,53 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface DetectedLandmarkOrBuilder - extends +public interface DetectedLandmarkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.DetectedLandmark) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ boolean hasPoint(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; - * * @return The point. */ com.google.cloud.videointelligence.v1.NormalizedVertex getPoint(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -87,14 +58,11 @@ public interface DetectedLandmarkOrBuilder
   com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointOrBuilder();
 
   /**
-   *
-   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java index d545c18a1..49154c160 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entityId_ = ""; description_ = ""; @@ -45,15 +27,16 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Entity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Entity( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Entity.class, - com.google.cloud.videointelligence.v1.Entity.Builder.class); + com.google.cloud.videointelligence.v1.Entity.class, com.google.cloud.videointelligence.v1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity_id = 1; - * * @return The entityId. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -166,15 +140,16 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getEntityIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -329,17 +298,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.videointelligence.v1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.Entity other = - (com.google.cloud.videointelligence.v1.Entity) obj; + com.google.cloud.videointelligence.v1.Entity other = (com.google.cloud.videointelligence.v1.Entity) obj; - if (!getEntityId().equals(other.getEntityId())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getEntityId() + .equals(other.getEntityId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -362,127 +333,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.Entity parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.Entity parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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; } /** - * - * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Entity} */ - 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.videointelligence.v1.Entity) com.google.cloud.videointelligence.v1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Entity.class, - com.google.cloud.videointelligence.v1.Entity.Builder.class); + com.google.cloud.videointelligence.v1.Entity.class, com.google.cloud.videointelligence.v1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.Entity.newBuilder() @@ -490,15 +452,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(); @@ -512,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override @@ -533,8 +496,7 @@ public com.google.cloud.videointelligence.v1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1.Entity buildPartial() { - com.google.cloud.videointelligence.v1.Entity result = - new com.google.cloud.videointelligence.v1.Entity(this); + com.google.cloud.videointelligence.v1.Entity result = new com.google.cloud.videointelligence.v1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -546,39 +508,38 @@ public com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1.Entity) other); + return mergeFrom((com.google.cloud.videointelligence.v1.Entity)other); } else { super.mergeFrom(other); return this; @@ -630,8 +591,6 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -639,13 +598,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; - * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -654,8 +613,6 @@ public java.lang.String getEntityId() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -663,14 +620,15 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -678,8 +636,6 @@ public com.google.protobuf.ByteString getEntityIdBytes() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -687,22 +643,20 @@ public com.google.protobuf.ByteString getEntityIdBytes() {
      * 
* * string entity_id = 1; - * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId(java.lang.String value) { + public Builder setEntityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -710,18 +664,15 @@ public Builder setEntityId(java.lang.String value) {
      * 
* * string entity_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -729,16 +680,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; - * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -746,20 +697,18 @@ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -768,21 +717,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -790,61 +738,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -852,20 +793,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -874,21 +813,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -896,68 +834,61 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -967,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.Entity) private static final com.google.cloud.videointelligence.v1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.Entity(); } @@ -981,16 +912,16 @@ public static com.google.cloud.videointelligence.v1.Entity getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java index 5675e881a..70b7d5a66 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -33,13 +15,10 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The entityId. */ java.lang.String getEntityId(); /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -47,58 +26,48 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - com.google.protobuf.ByteString getEntityIdBytes(); + com.google.protobuf.ByteString + getEntityIdBytes(); /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java index 6ed7bc177..bbb9d0daf 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExplicitContentAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExplicitContentAnnotation() {
     frames_ = java.util.Collections.emptyList();
     version_ = "";
@@ -46,15 +28,16 @@ private ExplicitContentAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                frames_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.ExplicitContentFrame>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              frames_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.ExplicitContentFrame.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              frames_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            frames_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentFrame.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -118,27 +96,22 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class,
-            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
-   *
-   *
    * 
    * All video frames where explicit content was detected.
    * 
@@ -146,13 +119,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -160,14 +130,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -179,8 +146,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -192,8 +157,6 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int return frames_.get(index); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -209,14 +172,11 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -225,29 +185,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -256,7 +216,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +227,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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -285,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, frames_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); @@ -298,16 +259,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.videointelligence.v1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other = - (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) obj; - if (!getFramesList().equals(other.getFramesList())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,104 +293,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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; } /** - * - * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -437,23 +391,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class,
-              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder()
@@ -461,17 +413,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) {
         getFramesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -487,14 +439,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance();
     }
 
@@ -509,8 +460,7 @@ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1.ExplicitContentAnnotation result =
-          new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -530,50 +480,46 @@ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation buildPart
     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.videointelligence.v1.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other) {
-      if (other
-          == com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other) {
+      if (other == com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -592,10 +538,9 @@ public Builder mergeFrom(
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFramesFieldBuilder()
-                    : null;
+            framesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFramesFieldBuilder() : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -624,9 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -635,38 +578,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List frames_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ =
-            new java.util.ArrayList(
-                frames_);
+        frames_ = new java.util.ArrayList(frames_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.ExplicitContentFrame,
-            com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder,
-            com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>
-        framesBuilder_;
+        com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> framesBuilder_;
 
     /**
-     *
-     *
      * 
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -674,8 +607,6 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -690,8 +621,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -706,8 +635,6 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -729,8 +656,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -738,8 +663,7 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -750,8 +674,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -772,8 +694,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.ExplicitContentFr return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -795,8 +715,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -815,8 +733,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -824,8 +740,7 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -836,8 +751,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -845,11 +758,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -857,8 +770,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -876,8 +787,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -895,8 +804,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -908,8 +815,6 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder getFra return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -919,23 +824,19 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder getFra public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -943,8 +844,6 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -952,13 +851,10 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
@@ -967,37 +863,30 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFra */ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; @@ -1005,20 +894,18 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFra private java.lang.Object version_ = ""; /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1027,21 +914,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1049,68 +935,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1120,32 +999,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1.ExplicitContentAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.ExplicitContentAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1157,8 +1034,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java index 69c735df7..29fdaf493 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentAnnotationOrBuilder - extends +public interface ExplicitContentAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -44,8 +25,6 @@ public interface ExplicitContentAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int index); /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -54,49 +33,41 @@ public interface ExplicitContentAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index); /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java index 86b9a22ab..473074f11 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,33 +73,29 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -135,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -151,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -168,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -204,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.videointelligence.v1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.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(); @@ -380,16 +345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override @@ -403,8 +366,7 @@ public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buil @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(this); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -414,51 +376,46 @@ public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buil 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.videointelligence.v1.ExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -482,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -505,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -520,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -529,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -544,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -553,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -576,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -595,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -621,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +601,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java index 6b9473be1..dc6c4578b 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentDetectionConfigOrBuilder - extends +public interface ExplicitContentDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java index 8622a3807..a5ec9fc27 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - pornographyLikelihood_ = rawValue; - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + pornographyLikelihood_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private ExplicitContentFrame( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -147,15 +122,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -163,8 +135,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -180,41 +150,31 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { + @java.lang.Override public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Likelihood result = - com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); + com.google.cloud.videointelligence.v1.Likelihood result = com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); return result == null ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,12 +186,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -244,11 +204,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -258,17 +219,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.videointelligence.v1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentFrame other = - (com.google.cloud.videointelligence.v1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -294,127 +255,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ExplicitContentFrame 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; } /** - * - * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentFrame} */ - 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.videointelligence.v1.ExplicitContentFrame) com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ExplicitContentFrame.newBuilder() @@ -422,15 +373,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(); @@ -446,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override @@ -467,8 +419,7 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1.ExplicitContentFrame result = - new com.google.cloud.videointelligence.v1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -483,39 +434,38 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentFrame)other); } else { super.mergeFrom(other); return this; @@ -523,8 +473,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -550,8 +499,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,49 +511,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -627,8 +562,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,7 +569,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -647,8 +581,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,7 +592,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -672,8 +604,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -693,8 +623,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -703,13 +631,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -721,14 +647,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -737,17 +660,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -755,100 +675,80 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Likelihood result = - com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1.Likelihood result = com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood( - com.google.cloud.videointelligence.v1.Likelihood value) { + public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -858,12 +758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentFrame) private static final com.google.cloud.videointelligence.v1.ExplicitContentFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentFrame(); } @@ -872,16 +772,16 @@ public static com.google.cloud.videointelligence.v1.ExplicitContentFrame getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,4 +796,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java index 0a1254d6e..df7511eec 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentFrameOrBuilder - extends +public interface ExplicitContentFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,26 +38,20 @@ public interface ExplicitContentFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java index 2b642d51b..8d9212047 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java @@ -1,43 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Deprecated. No effect.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceAnnotation} */ -@java.lang.Deprecated -public final class FaceAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +@java.lang.Deprecated public final class FaceAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceAnnotation) FaceAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceAnnotation.newBuilder() to construct. private FaceAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceAnnotation() { thumbnail_ = com.google.protobuf.ByteString.EMPTY; segments_ = java.util.Collections.emptyList(); @@ -46,15 +27,16 @@ private FaceAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,36 @@ private FaceAnnotation( case 0: done = true; break; - case 10: - { - thumbnail_ = input.readBytes(); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.FaceSegment.parser(), - extensionRegistry)); - break; + case 10: { + + thumbnail_ = input.readBytes(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - frames_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.FaceFrame.parser(), extensionRegistry)); - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1.FaceSegment.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1.FaceFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +93,8 @@ private FaceAnnotation( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -130,33 +106,27 @@ private FaceAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceAnnotation.class, - com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceAnnotation.class, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); } public static final int THUMBNAIL_FIELD_NUMBER = 1; private com.google.protobuf.ByteString thumbnail_; /** - * - * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ @java.lang.Override @@ -167,8 +137,6 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -180,8 +148,6 @@ public java.util.List getSegm return segments_; } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -189,13 +155,11 @@ public java.util.List getSegm * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -207,8 +171,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -220,8 +182,6 @@ public com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index) return segments_.get(index); } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -237,8 +197,6 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -250,8 +208,6 @@ public java.util.List getFrames return frames_; } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -259,13 +215,11 @@ public java.util.List getFrames * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -277,8 +231,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -290,8 +242,6 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -299,12 +249,12 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +266,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 (!thumbnail_.isEmpty()) { output.writeBytes(1, thumbnail_); } @@ -336,13 +287,16 @@ public int getSerializedSize() { size = 0; if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, thumbnail_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, thumbnail_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -352,17 +306,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.videointelligence.v1.FaceAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceAnnotation other = - (com.google.cloud.videointelligence.v1.FaceAnnotation) obj; + com.google.cloud.videointelligence.v1.FaceAnnotation other = (com.google.cloud.videointelligence.v1.FaceAnnotation) obj; - if (!getThumbnail().equals(other.getThumbnail())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getThumbnail() + .equals(other.getThumbnail())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -390,126 +346,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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; } /** - * - * *
    * Deprecated. No effect.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceAnnotation} */ - 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.videointelligence.v1.FaceAnnotation) com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceAnnotation.class, - com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceAnnotation.class, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceAnnotation.newBuilder() @@ -517,18 +464,18 @@ 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) { getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override @@ -571,8 +518,7 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.FaceAnnotation result = - new com.google.cloud.videointelligence.v1.FaceAnnotation(this); + com.google.cloud.videointelligence.v1.FaceAnnotation result = new com.google.cloud.videointelligence.v1.FaceAnnotation(this); int from_bitField0_ = bitField0_; result.thumbnail_ = thumbnail_; if (segmentsBuilder_ == null) { @@ -601,39 +547,38 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceAnnotation)other); } else { super.mergeFrom(other); return this; @@ -641,8 +586,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()) return this; if (other.getThumbnail() != com.google.protobuf.ByteString.EMPTY) { setThumbnail(other.getThumbnail()); } @@ -664,10 +608,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation ot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -691,10 +634,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation ot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000002); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -719,8 +661,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.FaceAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.FaceAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -729,19 +670,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ @java.lang.Override @@ -749,64 +686,51 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList(segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, - com.google.cloud.videointelligence.v1.FaceSegment.Builder, - com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -821,8 +745,6 @@ public java.util.List getSegm } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -837,8 +759,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -853,15 +773,14 @@ public com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index) } } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public Builder setSegments(int index, com.google.cloud.videointelligence.v1.FaceSegment value) { + public Builder setSegments( + int index, com.google.cloud.videointelligence.v1.FaceSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -875,8 +794,6 @@ public Builder setSegments(int index, com.google.cloud.videointelligence.v1.Face return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -895,8 +812,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -917,15 +832,14 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.FaceSegment val return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public Builder addSegments(int index, com.google.cloud.videointelligence.v1.FaceSegment value) { + public Builder addSegments( + int index, com.google.cloud.videointelligence.v1.FaceSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -939,8 +853,6 @@ public Builder addSegments(int index, com.google.cloud.videointelligence.v1.Face return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -959,8 +871,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -979,8 +889,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -991,7 +899,8 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -999,8 +908,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1018,8 +925,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1037,20 +942,17 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuilder( + int index) { return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1060,22 +962,19 @@ public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuil public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1083,8 +982,6 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1092,73 +989,60 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder(int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder( + int index) { + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, - com.google.cloud.videointelligence.v1.FaceSegment.Builder, - com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> + com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, - com.google.cloud.videointelligence.v1.FaceSegment.Builder, - com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, - com.google.cloud.videointelligence.v1.FaceFrame.Builder, - com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1173,8 +1057,6 @@ public java.util.List getFrames } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1189,8 +1071,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1205,15 +1085,14 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { } } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public Builder setFrames(int index, com.google.cloud.videointelligence.v1.FaceFrame value) { + public Builder setFrames( + int index, com.google.cloud.videointelligence.v1.FaceFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1227,8 +1106,6 @@ public Builder setFrames(int index, com.google.cloud.videointelligence.v1.FaceFr return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1247,8 +1124,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1269,15 +1144,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.FaceFrame value) return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public Builder addFrames(int index, com.google.cloud.videointelligence.v1.FaceFrame value) { + public Builder addFrames( + int index, com.google.cloud.videointelligence.v1.FaceFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1291,8 +1165,6 @@ public Builder addFrames(int index, com.google.cloud.videointelligence.v1.FaceFr return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1311,8 +1183,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1331,8 +1201,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1343,7 +1211,8 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1351,8 +1220,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1370,8 +1237,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1389,44 +1254,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrame.Builder getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1434,8 +1294,6 @@ public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuild } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1443,55 +1301,49 @@ public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuild * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, - com.google.cloud.videointelligence.v1.FaceFrame.Builder, - com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> + com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, - com.google.cloud.videointelligence.v1.FaceFrame.Builder, - com.google.cloud.videointelligence.v1.FaceFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1501,12 +1353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceAnnotation) private static final com.google.cloud.videointelligence.v1.FaceAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceAnnotation(); } @@ -1515,16 +1367,16 @@ public static com.google.cloud.videointelligence.v1.FaceAnnotation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1539,4 +1391,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java index db7ed407f..ca5f4107f 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java @@ -1,55 +1,32 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -@java.lang.Deprecated -public interface FaceAnnotationOrBuilder - extends +@java.lang.Deprecated public interface FaceAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -58,8 +35,6 @@ public interface FaceAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index); /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -68,40 +43,34 @@ public interface FaceAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( + int index); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -110,8 +79,6 @@ public interface FaceAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index); /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -120,24 +87,21 @@ public interface FaceAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java index 7edbd3cd6..5535d88f7 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Face detection annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionAnnotation} */ -public final class FaceDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceDetectionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceDetectionAnnotation) FaceDetectionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceDetectionAnnotation.newBuilder() to construct. private FaceDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); thumbnail_ = com.google.protobuf.ByteString.EMPTY; @@ -45,15 +27,16 @@ private FaceDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,36 +56,33 @@ private FaceDetectionAnnotation( case 0: done = true; break; - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; - } - case 34: - { - thumbnail_ = input.readBytes(); - break; + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; + } + case 34: { - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + thumbnail_ = input.readBytes(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,7 +90,8 @@ private FaceDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -119,27 +100,22 @@ private FaceDetectionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 3; private java.util.List tracks_; /** - * - * *
    * The face tracks with attributes.
    * 
@@ -151,8 +127,6 @@ public java.util.List getTracksList return tracks_; } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -160,13 +134,11 @@ public java.util.List getTracksList * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -178,8 +150,6 @@ public int getTracksCount() { return tracks_.size(); } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -191,8 +161,6 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { return tracks_.get(index); } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -200,21 +168,19 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index) { return tracks_.get(index); } public static final int THUMBNAIL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString thumbnail_; /** - * - * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ @java.lang.Override @@ -225,14 +191,11 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The version. */ @java.lang.Override @@ -241,29 +204,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -272,7 +235,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +246,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 < tracks_.size(); i++) { output.writeMessage(3, tracks_.get(i)); } @@ -304,10 +267,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, tracks_.get(i)); } if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, thumbnail_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, thumbnail_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); @@ -320,17 +285,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.videointelligence.v1.FaceDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other = - (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other = (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) obj; - if (!getTracksList().equals(other.getTracksList())) return false; - if (!getThumbnail().equals(other.getThumbnail())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getTracksList() + .equals(other.getTracksList())) return false; + if (!getThumbnail() + .equals(other.getThumbnail())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -356,127 +323,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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; } /** - * - * *
    * Face detection annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionAnnotation} */ - 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.videointelligence.v1.FaceDetectionAnnotation) com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.newBuilder() @@ -484,17 +441,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) { getTracksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -512,14 +469,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance(); } @@ -534,8 +490,7 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation result = - new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(this); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation result = new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -556,39 +511,38 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionAnnotation)other); } else { super.mergeFrom(other); return this; @@ -596,9 +550,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -617,10 +569,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionAnno tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -652,9 +603,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,28 +612,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder> - tracksBuilder_; + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_; /** - * - * *
      * The face tracks with attributes.
      * 
@@ -699,8 +641,6 @@ public java.util.List getTracksList } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -715,8 +655,6 @@ public int getTracksCount() { } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -731,15 +669,14 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { } } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder setTracks( + int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -753,8 +690,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -773,8 +708,6 @@ public Builder setTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -795,15 +728,14 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) { return this; } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder addTracks( + int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -817,15 +749,14 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track return this; } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { + public Builder addTracks( + com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); tracks_.add(builderForValue.build()); @@ -836,8 +767,6 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder bui return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -856,8 +785,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -868,7 +795,8 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -876,8 +804,6 @@ public Builder addAllTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -895,8 +821,6 @@ public Builder clearTracks() { return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -914,44 +838,39 @@ public Builder removeTracks(int index) { return this; } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) { + public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder( + int index) { return getTracksFieldBuilder().getBuilder(index); } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); - } else { + return tracks_.get(index); } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -959,8 +878,6 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -968,48 +885,42 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + return getTracksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) { - return getTracksFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( + int index) { + return getTracksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder> + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder>( - tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>( + tracks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tracks_ = null; } return tracksBuilder_; @@ -1017,14 +928,11 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ @java.lang.Override @@ -1032,39 +940,33 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; @@ -1072,20 +974,18 @@ public Builder clearThumbnail() { private java.lang.Object version_ = ""; /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1094,21 +994,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1116,68 +1015,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1187,13 +1079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1.FaceDetectionAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.FaceDetectionAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(); } @@ -1202,16 +1093,16 @@ public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,4 +1117,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java index bb8dab491..32353557b 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceDetectionAnnotationOrBuilder - extends +public interface FaceDetectionAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - java.util.List getTracksList(); + java.util.List + getTracksList(); /** - * - * *
    * The face tracks with attributes.
    * 
@@ -44,8 +25,6 @@ public interface FaceDetectionAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.Track getTracks(int index); /** - * - * *
    * The face tracks with attributes.
    * 
@@ -54,62 +33,51 @@ public interface FaceDetectionAnnotationOrBuilder */ int getTracksCount(); /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index); + com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index); /** - * - * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java index 2b602ec22..edc38734c 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceDetectionConfig) FaceDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,30 +53,29 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - case 16: - { - includeBoundingBoxes_ = input.readBool(); - break; - } - case 40: - { - includeAttributes_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + case 16: { + + includeBoundingBoxes_ = input.readBool(); + break; + } + case 40: { + + includeAttributes_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,33 +83,29 @@ private FaceDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -135,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -144,15 +121,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -160,15 +136,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -179,14 +156,11 @@ public com.google.protobuf.ByteString getModelBytes() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** - * - * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -197,15 +171,12 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 5; private boolean includeAttributes_; /** - * - * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ @java.lang.Override @@ -214,7 +185,6 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,7 +196,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -249,10 +220,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, includeBoundingBoxes_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, includeAttributes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +235,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.videointelligence.v1.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceDetectionConfig other = - (com.google.cloud.videointelligence.v1.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1.FaceDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; - if (getIncludeAttributes() != other.getIncludeAttributes()) return false; + if (!getModel() + .equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() + != other.getIncludeBoundingBoxes()) return false; + if (getIncludeAttributes() + != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,136 +262,128 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.FaceDetectionConfig 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; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionConfig} */ - 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.videointelligence.v1.FaceDetectionConfig) com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder() @@ -424,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(); @@ -446,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override @@ -467,8 +435,7 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.FaceDetectionConfig result = - new com.google.cloud.videointelligence.v1.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includeAttributes_ = includeAttributes_; @@ -480,39 +447,38 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionConfig)other); } else { super.mergeFrom(other); return this; @@ -520,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -551,8 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.FaceDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.FaceDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,8 +528,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -573,13 +535,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -588,8 +550,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -597,14 +557,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -612,8 +573,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -621,22 +580,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -644,18 +601,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -663,31 +617,28 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_; + private boolean includeBoundingBoxes_ ; /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -695,52 +646,43 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includeAttributes_; + private boolean includeAttributes_ ; /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ @java.lang.Override @@ -748,45 +690,39 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -796,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceDetectionConfig) private static final com.google.cloud.videointelligence.v1.FaceDetectionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceDetectionConfig(); } @@ -810,16 +746,16 @@ public static com.google.cloud.videointelligence.v1.FaceDetectionConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java index 946bb8b9b..995ef4ccf 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceDetectionConfigOrBuilder - extends +public interface FaceDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,34 +26,28 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); /** - * - * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** - * - * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java index 3f45d2304..21724f006 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java @@ -1,58 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Deprecated. No effect.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceFrame} */ -@java.lang.Deprecated -public final class FaceFrame extends com.google.protobuf.GeneratedMessageV3 - implements +@java.lang.Deprecated public final class FaceFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceFrame) FaceFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceFrame.newBuilder() to construct. private FaceFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceFrame() { normalizedBoundingBoxes_ = 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 FaceFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +54,35 @@ private FaceFrame( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox>(); - mutable_bitField0_ |= 0x00000001; - } - normalizedBoundingBoxes_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + normalizedBoundingBoxes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + normalizedBoundingBoxes_.add( + input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = 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) { @@ -115,7 +90,8 @@ private FaceFrame( } 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)) { normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); @@ -124,128 +100,98 @@ private FaceFrame( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceFrame.class, - com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1.FaceFrame.class, com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); } public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER = 1; - private java.util.List - normalizedBoundingBoxes_; + private java.util.List normalizedBoundingBoxes_; /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public java.util.List - getNormalizedBoundingBoxesList() { + public java.util.List getNormalizedBoundingBoxesList() { return normalizedBoundingBoxes_; } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + public java.util.List getNormalizedBoundingBoxesOrBuilderList() { return normalizedBoundingBoxes_; } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override public int getNormalizedBoundingBoxesCount() { return normalizedBoundingBoxes_.size(); } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes( - int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { return normalizedBoundingBoxes_.get(index); } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index) { return normalizedBoundingBoxes_.get(index); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -253,15 +199,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -269,8 +212,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
@@ -284,7 +225,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -296,7 +236,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 < normalizedBoundingBoxes_.size(); i++) {
       output.writeMessage(1, normalizedBoundingBoxes_.get(i));
     }
@@ -313,12 +254,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < normalizedBoundingBoxes_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, normalizedBoundingBoxes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, normalizedBoundingBoxes_.get(i));
     }
     if (timeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -328,19 +269,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.videointelligence.v1.FaceFrame)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.FaceFrame other =
-        (com.google.cloud.videointelligence.v1.FaceFrame) obj;
+    com.google.cloud.videointelligence.v1.FaceFrame other = (com.google.cloud.videointelligence.v1.FaceFrame) obj;
 
-    if (!getNormalizedBoundingBoxesList().equals(other.getNormalizedBoundingBoxesList()))
-      return false;
+    if (!getNormalizedBoundingBoxesList()
+        .equals(other.getNormalizedBoundingBoxesList())) return false;
     if (hasTimeOffset() != other.hasTimeOffset()) return false;
     if (hasTimeOffset()) {
-      if (!getTimeOffset().equals(other.getTimeOffset())) return false;
+      if (!getTimeOffset()
+          .equals(other.getTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -366,127 +307,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.videointelligence.v1.FaceFrame parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.videointelligence.v1.FaceFrame parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.FaceFrame parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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;
   }
   /**
-   *
-   *
    * 
    * Deprecated. No effect.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceFrame} */ - 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.videointelligence.v1.FaceFrame) com.google.cloud.videointelligence.v1.FaceFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceFrame.class, - com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1.FaceFrame.class, com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceFrame.newBuilder() @@ -494,17 +426,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) { getNormalizedBoundingBoxesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -524,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override @@ -545,13 +477,11 @@ public com.google.cloud.videointelligence.v1.FaceFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceFrame buildPartial() { - com.google.cloud.videointelligence.v1.FaceFrame result = - new com.google.cloud.videointelligence.v1.FaceFrame(this); + com.google.cloud.videointelligence.v1.FaceFrame result = new com.google.cloud.videointelligence.v1.FaceFrame(this); int from_bitField0_ = bitField0_; if (normalizedBoundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); bitField0_ = (bitField0_ & ~0x00000001); } result.normalizedBoundingBoxes_ = normalizedBoundingBoxes_; @@ -571,39 +501,38 @@ public com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceFrame)other); } else { super.mergeFrom(other); return this; @@ -611,8 +540,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceFrame other) { - if (other == com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()) return this; if (normalizedBoundingBoxesBuilder_ == null) { if (!other.normalizedBoundingBoxes_.isEmpty()) { if (normalizedBoundingBoxes_.isEmpty()) { @@ -631,10 +559,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceFrame other) normalizedBoundingBoxesBuilder_ = null; normalizedBoundingBoxes_ = other.normalizedBoundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - normalizedBoundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNormalizedBoundingBoxesFieldBuilder() - : null; + normalizedBoundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNormalizedBoundingBoxesFieldBuilder() : null; } else { normalizedBoundingBoxesBuilder_.addAllMessages(other.normalizedBoundingBoxes_); } @@ -671,42 +598,30 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - normalizedBoundingBoxes_ = java.util.Collections.emptyList(); - + private java.util.List normalizedBoundingBoxes_ = + java.util.Collections.emptyList(); private void ensureNormalizedBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - new java.util.ArrayList( - normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = new java.util.ArrayList(normalizedBoundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> - normalizedBoundingBoxesBuilder_; + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxesBuilder_; /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List - getNormalizedBoundingBoxesList() { + public java.util.List getNormalizedBoundingBoxesList() { if (normalizedBoundingBoxesBuilder_ == null) { return java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); } else { @@ -714,17 +629,13 @@ private void ensureNormalizedBoundingBoxesIsMutable() { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public int getNormalizedBoundingBoxesCount() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -734,20 +645,15 @@ public int getNormalizedBoundingBoxesCount() { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes( - int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { return normalizedBoundingBoxes_.get(index); } else { @@ -755,17 +661,13 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalized } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder setNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { @@ -782,21 +684,16 @@ public Builder setNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder setNormalizedBoundingBoxes( - int index, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.set(index, builderForValue.build()); @@ -807,20 +704,15 @@ public Builder setNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public Builder addNormalizedBoundingBoxes( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -834,17 +726,13 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { @@ -861,17 +749,13 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -885,21 +769,16 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( - int index, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.add(index, builderForValue.build()); @@ -910,24 +789,20 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addAllNormalizedBoundingBoxes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, normalizedBoundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, normalizedBoundingBoxes_); onChanged(); } else { normalizedBoundingBoxesBuilder_.addAllMessages(values); @@ -935,17 +810,13 @@ public Builder addAllNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder clearNormalizedBoundingBoxes() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -958,17 +829,13 @@ public Builder clearNormalizedBoundingBoxes() { return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder removeNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { @@ -981,59 +848,45 @@ public Builder removeNormalizedBoundingBoxes(int index) { return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxesBuilder(int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder( + int index) { return getNormalizedBoundingBoxesFieldBuilder().getBuilder(index); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index) { if (normalizedBoundingBoxesBuilder_ == null) { - return normalizedBoundingBoxes_.get(index); - } else { + return normalizedBoundingBoxes_.get(index); } else { return normalizedBoundingBoxesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> - getNormalizedBoundingBoxesOrBuilderList() { + public java.util.List + getNormalizedBoundingBoxesOrBuilderList() { if (normalizedBoundingBoxesBuilder_ != null) { return normalizedBoundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -1041,73 +894,51 @@ public Builder removeNormalizedBoundingBoxes(int index) { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder - addNormalizedBoundingBoxesBuilder() { - return getNormalizedBoundingBoxesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder() { + return getNormalizedBoundingBoxesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder - addNormalizedBoundingBoxesBuilder(int index) { - return getNormalizedBoundingBoxesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder( + int index) { + return getNormalizedBoundingBoxesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List - getNormalizedBoundingBoxesBuilderList() { + public java.util.List + getNormalizedBoundingBoxesBuilderList() { return getNormalizedBoundingBoxesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesFieldBuilder() { if (normalizedBoundingBoxesBuilder_ == null) { - normalizedBoundingBoxesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + normalizedBoundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( normalizedBoundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1119,49 +950,36 @@ public Builder removeNormalizedBoundingBoxes(int index) { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1183,8 +1001,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1192,7 +1008,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1203,8 +1020,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1216,7 +1031,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1228,8 +1043,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1249,8 +1062,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1259,13 +1070,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1277,14 +1086,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1293,24 +1099,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
-
     @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);
     }
 
@@ -1320,12 +1123,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceFrame)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceFrame)
   private static final com.google.cloud.videointelligence.v1.FaceFrame DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceFrame();
   }
@@ -1334,16 +1137,16 @@ public static com.google.cloud.videointelligence.v1.FaceFrame getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FaceFrame parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new FaceFrame(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FaceFrame parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new FaceFrame(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1358,4 +1161,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.FaceFrame getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
similarity index 63%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
index 1f6d37d7b..ca200cbfe 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
@@ -1,132 +1,87 @@
-/*
- * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-@java.lang.Deprecated
-public interface FaceFrameOrBuilder
-    extends
+@java.lang.Deprecated public interface FaceFrameOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceFrame)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - java.util.List + java.util.List getNormalizedBoundingBoxesList(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ int getNormalizedBoundingBoxesCount(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - java.util.List + java.util.List getNormalizedBoundingBoxesOrBuilderList(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
similarity index 68%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
index efa7c899c..e4bc112dc 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
- *
- *
  * 
  * Video segment level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceSegment} */ -public final class FaceSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceSegment) FaceSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceSegment.newBuilder() to construct. private FaceSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FaceSegment() {} + private FaceSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,30 +52,26 @@ private FaceSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +79,34 @@ private FaceSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceSegment.class, - com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1.FaceSegment.class, com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -139,25 +114,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a face was detected.
    * 
@@ -170,7 +138,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +149,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -196,7 +164,8 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +175,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.videointelligence.v1.FaceSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceSegment other = - (com.google.cloud.videointelligence.v1.FaceSegment) obj; + com.google.cloud.videointelligence.v1.FaceSegment other = (com.google.cloud.videointelligence.v1.FaceSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,126 +208,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.FaceSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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; } /** - * - * *
    * Video segment level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceSegment} */ - 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.videointelligence.v1.FaceSegment) com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceSegment.class, - com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1.FaceSegment.class, com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceSegment.newBuilder() @@ -366,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(); @@ -388,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override @@ -409,8 +370,7 @@ public com.google.cloud.videointelligence.v1.FaceSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceSegment buildPartial() { - com.google.cloud.videointelligence.v1.FaceSegment result = - new com.google.cloud.videointelligence.v1.FaceSegment(this); + com.google.cloud.videointelligence.v1.FaceSegment result = new com.google.cloud.videointelligence.v1.FaceSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -424,39 +384,38 @@ public com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceSegment)other); } else { super.mergeFrom(other); return this; @@ -464,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceSegment other) { - if (other == com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -488,8 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.FaceSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.FaceSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -562,8 +506,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -582,8 +524,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -594,9 +534,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -608,8 +546,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -628,8 +564,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -637,13 +571,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -654,14 +586,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -669,24 +598,21 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - @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); } @@ -696,12 +622,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceSegment) private static final com.google.cloud.videointelligence.v1.FaceSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceSegment(); } @@ -710,16 +636,16 @@ public static com.google.cloud.videointelligence.v1.FaceSegment getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java similarity index 60% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java index c099d89c4..b04e8ba05 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceSegmentOrBuilder - extends +public interface FaceSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a face was detected.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java index cbab0641e..40042d3c7 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.Feature} */ -public enum Feature implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * Human face detection.
    * 
@@ -79,8 +53,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FACE_DETECTION(4), /** - * - * *
    * Speech transcription.
    * 
@@ -89,8 +61,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SPEECH_TRANSCRIPTION(6), /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -99,8 +69,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ TEXT_DETECTION(7), /** - * - * *
    * Object detection and tracking.
    * 
@@ -109,8 +77,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ OBJECT_TRACKING(9), /** - * - * *
    * Logo detection, tracking, and recognition.
    * 
@@ -119,8 +85,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LOGO_RECOGNITION(12), /** - * - * *
    * Person detection.
    * 
@@ -132,8 +96,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -142,8 +104,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -152,8 +112,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -162,8 +120,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -172,8 +128,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * Human face detection.
    * 
@@ -182,8 +136,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FACE_DETECTION_VALUE = 4; /** - * - * *
    * Speech transcription.
    * 
@@ -192,8 +144,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -202,8 +152,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_DETECTION_VALUE = 7; /** - * - * *
    * Object detection and tracking.
    * 
@@ -212,8 +160,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OBJECT_TRACKING_VALUE = 9; /** - * - * *
    * Logo detection, tracking, and recognition.
    * 
@@ -222,8 +168,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOGO_RECOGNITION_VALUE = 12; /** - * - * *
    * Person detection.
    * 
@@ -232,6 +176,7 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_DETECTION_VALUE = 14; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -256,65 +201,56 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: - return FEATURE_UNSPECIFIED; - case 1: - return LABEL_DETECTION; - case 2: - return SHOT_CHANGE_DETECTION; - case 3: - return EXPLICIT_CONTENT_DETECTION; - case 4: - return FACE_DETECTION; - case 6: - return SPEECH_TRANSCRIPTION; - case 7: - return TEXT_DETECTION; - case 9: - return OBJECT_TRACKING; - case 12: - return LOGO_RECOGNITION; - case 14: - return PERSON_DETECTION; - default: - return null; + case 0: return FEATURE_UNSPECIFIED; + case 1: return LABEL_DETECTION; + case 2: return SHOT_CHANGE_DETECTION; + case 3: return EXPLICIT_CONTENT_DETECTION; + case 4: return FACE_DETECTION; + case 6: return SPEECH_TRANSCRIPTION; + case 7: return TEXT_DETECTION; + case 9: return OBJECT_TRACKING; + case 12: return LOGO_RECOGNITION; + case 14: return PERSON_DETECTION; + 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< + Feature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -330,3 +266,4 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.Feature) } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java index 770ec6ab7..7ef6be5ec 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelAnnotation} */ -public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelAnnotation) LabelAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -46,15 +28,16 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,74 +57,59 @@ private LabelAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - categoryEntities_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelFrame.parser(), - extensionRegistry)); - break; + categoryEntities_.add( + input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelSegment.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelFrame.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +117,8 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -164,33 +133,27 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LabelAnnotation.class, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -198,25 +161,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Detected entity.
    * 
@@ -231,8 +187,6 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** - * - * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -247,8 +201,6 @@ public java.util.List getCategoryE
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -259,13 +211,11 @@ public java.util.List getCategoryE
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -280,8 +230,6 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -296,8 +244,6 @@ public com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int inde
     return categoryEntities_.get(index);
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -316,8 +262,6 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
@@ -329,8 +273,6 @@ public java.util.List getSeg return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -338,13 +280,11 @@ public java.util.List getSeg * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -356,8 +296,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -369,8 +307,6 @@ public com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index) return segments_.get(index); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -386,8 +322,6 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -399,8 +333,6 @@ public java.util.List getFrame return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -408,13 +340,11 @@ public java.util.List getFrame * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -426,8 +356,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -439,8 +367,6 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -448,21 +374,19 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The version. */ @java.lang.Override @@ -471,29 +395,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -502,7 +426,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -514,7 +437,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -540,16 +464,20 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, frames_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); @@ -562,22 +490,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.videointelligence.v1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelAnnotation other = - (com.google.cloud.videointelligence.v1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1.LabelAnnotation other = (com.google.cloud.videointelligence.v1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList() + .equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -613,127 +545,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation 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; } /** - * - * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelAnnotation} */ - 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.videointelligence.v1.LabelAnnotation) com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LabelAnnotation.class, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelAnnotation.newBuilder() @@ -741,19 +663,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -787,9 +709,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override @@ -808,8 +730,7 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.LabelAnnotation result = - new com.google.cloud.videointelligence.v1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1.LabelAnnotation result = new com.google.cloud.videointelligence.v1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -852,39 +773,38 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelAnnotation)other); } else { super.mergeFrom(other); return this; @@ -892,8 +812,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -915,10 +834,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoryEntitiesFieldBuilder() - : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoryEntitiesFieldBuilder() : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -942,10 +860,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -969,10 +886,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -1001,8 +917,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1011,52 +926,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Detected entity.
      * 
@@ -1077,15 +978,14 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; */ - public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { + public Builder setEntity( + com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); @@ -1096,8 +996,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder bu return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1108,9 +1006,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1122,8 +1018,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1142,8 +1036,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1151,13 +1043,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Detected entity.
      * 
@@ -1168,14 +1058,11 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Detected entity.
      * 
@@ -1183,43 +1070,32 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( * .google.cloud.videointelligence.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList( - categoryEntities_); + categoryEntities_ = new java.util.ArrayList(categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> - categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> categoryEntitiesBuilder_; /** - * - * *
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1237,8 +1113,6 @@ public java.util.List getCategoryE
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1256,8 +1130,6 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1275,8 +1147,6 @@ public com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int inde
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1301,8 +1171,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1324,8 +1192,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1349,8 +1215,6 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1.Entity
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1375,8 +1239,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1398,8 +1260,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1421,8 +1281,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1436,7 +1294,8 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1444,8 +1303,6 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1466,8 +1323,6 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1488,8 +1343,6 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1504,8 +1357,6 @@ public com.google.cloud.videointelligence.v1.Entity.Builder getCategoryEntitiesB
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1518,14 +1369,11 @@ public com.google.cloud.videointelligence.v1.Entity.Builder getCategoryEntitiesB
     public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(
         int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);
-      } else {
+        return categoryEntities_.get(index);  } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1535,8 +1383,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
      *
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesOrBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1544,8 +1392,6 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1556,12 +1402,10 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1573,12 +1417,10 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(index, com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1588,22 +1430,16 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
      *
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Entity,
-            com.google.cloud.videointelligence.v1.Entity.Builder,
-            com.google.cloud.videointelligence.v1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> 
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.Entity,
-                com.google.cloud.videointelligence.v1.Entity.Builder,
-                com.google.cloud.videointelligence.v1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1614,25 +1450,18 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.LabelSegment,
-            com.google.cloud.videointelligence.v1.LabelSegment.Builder,
-            com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where a label was detected.
      * 
@@ -1647,8 +1476,6 @@ public java.util.List getSeg } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1663,8 +1490,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1679,8 +1504,6 @@ public com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index) } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1702,8 +1525,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1722,8 +1543,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1744,8 +1563,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.LabelSegment va return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1767,8 +1584,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1787,8 +1602,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1807,8 +1620,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1819,7 +1630,8 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1827,8 +1639,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1846,8 +1656,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1865,8 +1673,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1878,8 +1684,6 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder getSegmentsBui return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1889,22 +1693,19 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder getSegmentsBui public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1912,8 +1713,6 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1921,12 +1720,10 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1935,61 +1732,48 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBui */ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelSegment, - com.google.cloud.videointelligence.v1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelSegment, - com.google.cloud.videointelligence.v1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList(frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, - com.google.cloud.videointelligence.v1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2004,8 +1788,6 @@ public java.util.List getFrame } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2020,8 +1802,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2036,15 +1816,14 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public Builder setFrames(int index, com.google.cloud.videointelligence.v1.LabelFrame value) { + public Builder setFrames( + int index, com.google.cloud.videointelligence.v1.LabelFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2058,8 +1837,6 @@ public Builder setFrames(int index, com.google.cloud.videointelligence.v1.LabelF return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2078,8 +1855,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2100,15 +1875,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.LabelFrame value) return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public Builder addFrames(int index, com.google.cloud.videointelligence.v1.LabelFrame value) { + public Builder addFrames( + int index, com.google.cloud.videointelligence.v1.LabelFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2122,8 +1896,6 @@ public Builder addFrames(int index, com.google.cloud.videointelligence.v1.LabelF return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2142,8 +1914,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2162,8 +1932,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2174,7 +1942,8 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -2182,8 +1951,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2201,8 +1968,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2220,44 +1985,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrame.Builder getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2265,8 +2025,6 @@ public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuil } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2274,48 +2032,42 @@ public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuil * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, - com.google.cloud.videointelligence.v1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, - com.google.cloud.videointelligence.v1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1.LabelFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; @@ -2323,20 +2075,18 @@ public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder private java.lang.Object version_ = ""; /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -2345,21 +2095,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -2367,68 +2116,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 5; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -2438,12 +2180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelAnnotation) private static final com.google.cloud.videointelligence.v1.LabelAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelAnnotation(); } @@ -2452,16 +2194,16 @@ public static com.google.cloud.videointelligence.v1.LabelAnnotation getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2476,4 +2218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java similarity index 82% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java index e25ebda5a..ea04513b6 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelAnnotationOrBuilder - extends +public interface LabelAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** - * - * *
    * Detected entity.
    * 
@@ -59,8 +35,6 @@ public interface LabelAnnotationOrBuilder com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -70,10 +44,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  java.util.List getCategoryEntitiesList();
+  java.util.List 
+      getCategoryEntitiesList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -85,8 +58,6 @@ public interface LabelAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int index);
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -98,8 +69,6 @@ public interface LabelAnnotationOrBuilder
    */
   int getCategoryEntitiesCount();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -109,11 +78,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  java.util.List
+  java.util.List 
       getCategoryEntitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -123,21 +90,19 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(int index);
+  com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -146,8 +111,6 @@ public interface LabelAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -156,40 +119,34 @@ public interface LabelAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder( + int index); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -198,8 +155,6 @@ public interface LabelAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -208,49 +163,41 @@ public interface LabelAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( + int index); /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 5; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java index 2aecb6d56..c4bc41341 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -44,15 +26,16 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,42 +54,40 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - labelDetectionMode_ = rawValue; - break; - } - case 16: - { - stationaryCamera_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: { - model_ = s; - break; - } - case 37: - { - frameConfidenceThreshold_ = input.readFloat(); - break; - } - case 45: - { - videoConfidenceThreshold_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stationaryCamera_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + model_ = s; + break; + } + case 37: { + + frameConfidenceThreshold_ = input.readFloat(); + break; + } + case 45: { + + videoConfidenceThreshold_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,33 +95,29 @@ private LabelDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -148,16 +125,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -165,24 +138,17 @@ public int getLabelDetectionModeValue() {
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The labelDetectionMode. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1.LabelDetectionMode result = com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -190,7 +156,6 @@ public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectio
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -201,8 +166,6 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -210,7 +173,6 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; - * * @return The model. */ @java.lang.Override @@ -219,15 +181,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -235,15 +196,16 @@ public java.lang.String getModel() {
    * 
* * string model = 3; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -254,8 +216,6 @@ public com.google.protobuf.ByteString getModelBytes() { public static final int FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 4; private float frameConfidenceThreshold_; /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -266,7 +226,6 @@ public com.google.protobuf.ByteString getModelBytes() {
    * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -277,8 +236,6 @@ public float getFrameConfidenceThreshold() { public static final int VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 5; private float videoConfidenceThreshold_; /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -289,7 +246,6 @@ public float getFrameConfidenceThreshold() {
    * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -298,7 +254,6 @@ public float getVideoConfidenceThreshold() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,10 +265,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -337,22 +291,24 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); } if (java.lang.Float.floatToRawIntBits(frameConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, frameConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, frameConfidenceThreshold_); } if (java.lang.Float.floatToRawIntBits(videoConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, videoConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(5, videoConfidenceThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -362,21 +318,24 @@ 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.videointelligence.v1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelDetectionConfig other = - (com.google.cloud.videointelligence.v1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() != other.getStationaryCamera()) return false; - if (!getModel().equals(other.getModel())) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; + if (!getModel() + .equals(other.getModel())) return false; if (java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()) - != java.lang.Float.floatToIntBits(other.getFrameConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits( + other.getFrameConfidenceThreshold())) return false; if (java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()) - != java.lang.Float.floatToIntBits(other.getVideoConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits( + other.getVideoConfidenceThreshold())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,140 +350,133 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getFrameConfidenceThreshold()); hash = (37 * hash) + VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getVideoConfidenceThreshold()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.LabelDetectionConfig 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; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelDetectionConfig} */ - 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.videointelligence.v1.LabelDetectionConfig) com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder() @@ -532,15 +484,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(); @@ -558,9 +511,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override @@ -579,8 +532,7 @@ public com.google.cloud.videointelligence.v1.LabelDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.LabelDetectionConfig result = - new com.google.cloud.videointelligence.v1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -594,39 +546,38 @@ public com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelDetectionConfig)other); } else { super.mergeFrom(other); return this; @@ -634,8 +585,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance()) return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -671,8 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,8 +633,6 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -693,16 +640,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -710,19 +653,16 @@ public int getLabelDetectionModeValue() {
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -730,21 +670,15 @@ public Builder setLabelDetectionModeValue(int value) {
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1.LabelDetectionMode result = com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED : result; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -752,23 +686,19 @@ public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectio
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode( - com.google.cloud.videointelligence.v1.LabelDetectionMode value) { + public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -776,20 +706,17 @@ public Builder setLabelDetectionMode(
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -797,7 +724,6 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -805,8 +731,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -814,19 +738,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -834,11 +755,10 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -846,8 +766,6 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -855,13 +773,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -870,8 +788,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -879,14 +795,15 @@ public java.lang.String getModel() {
      * 
* * string model = 3; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -894,8 +811,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -903,22 +818,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 3; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -926,18 +839,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 3; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -945,25 +855,23 @@ public Builder clearModel() {
      * 
* * string model = 3; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private float frameConfidenceThreshold_; + private float frameConfidenceThreshold_ ; /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -974,7 +882,6 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
      * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -982,8 +889,6 @@ public float getFrameConfidenceThreshold() { return frameConfidenceThreshold_; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -994,19 +899,16 @@ public float getFrameConfidenceThreshold() {
      * 
* * float frame_confidence_threshold = 4; - * * @param value The frameConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setFrameConfidenceThreshold(float value) { - + frameConfidenceThreshold_ = value; onChanged(); return this; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -1017,20 +919,17 @@ public Builder setFrameConfidenceThreshold(float value) {
      * 
* * float frame_confidence_threshold = 4; - * * @return This builder for chaining. */ public Builder clearFrameConfidenceThreshold() { - + frameConfidenceThreshold_ = 0F; onChanged(); return this; } - private float videoConfidenceThreshold_; + private float videoConfidenceThreshold_ ; /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1041,7 +940,6 @@ public Builder clearFrameConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -1049,8 +947,6 @@ public float getVideoConfidenceThreshold() { return videoConfidenceThreshold_; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1061,19 +957,16 @@ public float getVideoConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; - * * @param value The videoConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setVideoConfidenceThreshold(float value) { - + videoConfidenceThreshold_ = value; onChanged(); return this; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1084,18 +977,17 @@ public Builder setVideoConfidenceThreshold(float value) {
      * 
* * float video_confidence_threshold = 5; - * * @return This builder for chaining. */ public Builder clearVideoConfidenceThreshold() { - + videoConfidenceThreshold_ = 0F; 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); } @@ -1105,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelDetectionConfig) private static final com.google.cloud.videointelligence.v1.LabelDetectionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelDetectionConfig(); } @@ -1119,16 +1011,16 @@ public static com.google.cloud.videointelligence.v1.LabelDetectionConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java similarity index 79% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java index 25870c79a..00fb7430b 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelDetectionConfigOrBuilder - extends +public interface LabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -33,13 +15,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -47,14 +26,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; - * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode(); /** - * - * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -62,14 +38,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -77,13 +50,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -91,14 +61,12 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -109,14 +77,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ float getFrameConfidenceThreshold(); /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -127,7 +92,6 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ float getVideoConfidenceThreshold(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java index 3afe1cae4..7d5efd7b4 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.LabelDetectionMode} */ -public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** - * - * *
    * Detect shot-level labels.
    * 
@@ -49,8 +29,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ SHOT_MODE(1), /** - * - * *
    * Detect frame-level labels.
    * 
@@ -59,8 +37,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ FRAME_MODE(2), /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -72,8 +48,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unspecified.
    * 
@@ -82,8 +56,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Detect shot-level labels.
    * 
@@ -92,8 +64,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_MODE_VALUE = 1; /** - * - * *
    * Detect frame-level labels.
    * 
@@ -102,8 +72,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int FRAME_MODE_VALUE = 2; /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -112,6 +80,7 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,47 +105,41 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: - return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: - return SHOT_MODE; - case 2: - return FRAME_MODE; - case 3: - return SHOT_AND_FRAME_MODE; - default: - return null; + case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: return SHOT_MODE; + case 2: return FRAME_MODE; + case 3: return SHOT_AND_FRAME_MODE; + 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 - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + LabelDetectionMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -184,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LabelDetectionMode 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; @@ -200,3 +164,4 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.LabelDetectionMode) } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java index 348e2b517..703926d0e 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelFrame} */ -public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelFrame) LabelFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelFrame() {} + private LabelFrame() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private LabelFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,40 +84,35 @@ private LabelFrame( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelFrame.class, - com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1.LabelFrame.class, com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -143,15 +120,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -159,8 +133,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -176,14 +148,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -192,7 +161,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -221,10 +190,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,20 +205,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.videointelligence.v1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelFrame other = - (com.google.cloud.videointelligence.v1.LabelFrame) obj; + com.google.cloud.videointelligence.v1.LabelFrame other = (com.google.cloud.videointelligence.v1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,133 +236,125 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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; } /** - * - * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelFrame} */ - 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.videointelligence.v1.LabelFrame) com.google.cloud.videointelligence.v1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelFrame.class, - com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1.LabelFrame.class, com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelFrame.newBuilder() @@ -398,15 +362,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(); @@ -422,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override @@ -443,8 +408,7 @@ public com.google.cloud.videointelligence.v1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1.LabelFrame result = - new com.google.cloud.videointelligence.v1.LabelFrame(this); + com.google.cloud.videointelligence.v1.LabelFrame result = new com.google.cloud.videointelligence.v1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -459,39 +423,38 @@ public com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelFrame)other); } else { super.mergeFrom(other); return this; @@ -499,8 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -538,49 +500,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -602,8 +551,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -611,7 +558,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -622,8 +570,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -635,7 +581,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -647,8 +593,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -668,8 +612,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -678,13 +620,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -696,14 +636,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -712,32 +649,26 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -745,43 +676,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -791,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelFrame) private static final com.google.cloud.videointelligence.v1.LabelFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelFrame(); } @@ -805,16 +730,16 @@ public static com.google.cloud.videointelligence.v1.LabelFrame getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java index 078ae6975..390d3e4cf 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelFrameOrBuilder - extends +public interface LabelFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,14 +38,11 @@ public interface LabelFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java index 2fa7f71e3..72a3046af 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelSegment} */ -public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelSegment) LabelSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelSegment() {} + private LabelSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private LabelSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private LabelSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelSegment.class, - com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1.LabelSegment.class, com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -144,25 +119,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -177,14 +145,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -193,7 +158,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +169,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -222,10 +187,12 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,20 +202,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.videointelligence.v1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelSegment other = - (com.google.cloud.videointelligence.v1.LabelSegment) obj; + com.google.cloud.videointelligence.v1.LabelSegment other = (com.google.cloud.videointelligence.v1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,133 +233,125 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.LabelSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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; } /** - * - * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelSegment} */ - 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.videointelligence.v1.LabelSegment) com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelSegment.class, - com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1.LabelSegment.class, com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelSegment.newBuilder() @@ -399,15 +359,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(); @@ -423,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override @@ -444,8 +405,7 @@ public com.google.cloud.videointelligence.v1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1.LabelSegment result = - new com.google.cloud.videointelligence.v1.LabelSegment(this); + com.google.cloud.videointelligence.v1.LabelSegment result = new com.google.cloud.videointelligence.v1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -460,39 +420,38 @@ public com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelSegment)other); } else { super.mergeFrom(other); return this; @@ -500,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -527,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,47 +497,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -601,8 +545,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -621,8 +563,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -633,9 +573,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -647,8 +585,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -667,8 +603,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -676,13 +610,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -693,14 +625,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -708,32 +637,26 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -741,43 +664,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -787,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelSegment) private static final com.google.cloud.videointelligence.v1.LabelSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelSegment(); } @@ -801,16 +718,16 @@ public static com.google.cloud.videointelligence.v1.LabelSegment getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java index 423198f8a..9bfe3ef0c 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelSegmentOrBuilder - extends +public interface LabelSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -59,14 +35,11 @@ public interface LabelSegmentOrBuilder com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java index 06ab95d4a..7ed36b2b4 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.Likelihood} */ -public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified likelihood.
    * 
@@ -39,8 +21,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Very unlikely.
    * 
@@ -49,8 +29,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ VERY_UNLIKELY(1), /** - * - * *
    * Unlikely.
    * 
@@ -59,8 +37,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ UNLIKELY(2), /** - * - * *
    * Possible.
    * 
@@ -69,8 +45,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ POSSIBLE(3), /** - * - * *
    * Likely.
    * 
@@ -79,8 +53,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELY(4), /** - * - * *
    * Very likely.
    * 
@@ -92,8 +64,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified likelihood.
    * 
@@ -102,8 +72,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Very unlikely.
    * 
@@ -112,8 +80,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_UNLIKELY_VALUE = 1; /** - * - * *
    * Unlikely.
    * 
@@ -122,8 +88,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Possible.
    * 
@@ -132,8 +96,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSSIBLE_VALUE = 3; /** - * - * *
    * Likely.
    * 
@@ -142,8 +104,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Very likely.
    * 
@@ -152,6 +112,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,57 +137,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -242,3 +198,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.Likelihood) } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java index 0614ce685..a9c0bd538 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Annotation corresponding to one detected, tracked and recognized logo class.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LogoRecognitionAnnotation} */ -public final class LogoRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LogoRecognitionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LogoRecognitionAnnotation) LogoRecognitionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LogoRecognitionAnnotation.newBuilder() to construct. private LogoRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LogoRecognitionAnnotation() { tracks_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private LogoRecognitionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LogoRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LogoRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,53 +55,44 @@ private LogoRecognitionAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -126,7 +100,8 @@ private LogoRecognitionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -138,34 +113,28 @@ private LogoRecognitionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -173,26 +142,19 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -208,8 +170,6 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
   public static final int TRACKS_FIELD_NUMBER = 2;
   private java.util.List tracks_;
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -222,8 +182,6 @@ public java.util.List getTracksList
     return tracks_;
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -232,13 +190,11 @@ public java.util.List getTracksList
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTracksOrBuilderList() {
     return tracks_;
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -251,8 +207,6 @@ public int getTracksCount() {
     return tracks_.size();
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -265,8 +219,6 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
     return tracks_.get(index);
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -275,15 +227,14 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) {
+  public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
+      int index) {
     return tracks_.get(index);
   }
 
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -296,8 +247,6 @@ public java.util.List getSeg
     return segments_;
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -306,13 +255,11 @@ public java.util.List getSeg
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -325,8 +272,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -339,8 +284,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -355,7 +298,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -367,7 +309,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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -387,13 +330,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < tracks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tracks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, tracks_.get(i));
     }
     for (int i = 0; i < segments_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, segments_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -403,20 +349,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.videointelligence.v1.LogoRecognitionAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other =
-        (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) obj;
+    com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other = (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity().equals(other.getEntity())) return false;
+      if (!getEntity()
+          .equals(other.getEntity())) return false;
     }
-    if (!getTracksList().equals(other.getTracksList())) return false;
-    if (!getSegmentsList().equals(other.getSegmentsList())) return false;
+    if (!getTracksList()
+        .equals(other.getTracksList())) return false;
+    if (!getSegmentsList()
+        .equals(other.getSegmentsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -446,127 +394,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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;
   }
   /**
-   *
-   *
    * 
    * Annotation corresponding to one detected, tracked and recognized logo class.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LogoRecognitionAnnotation} */ - 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.videointelligence.v1.LogoRecognitionAnnotation) com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.newBuilder() @@ -574,18 +512,18 @@ 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) { getTracksFieldBuilder(); getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -611,14 +549,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance(); } @@ -633,8 +570,7 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation result = - new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation(this); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation result = new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -667,50 +603,46 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation buildPart 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.videointelligence.v1.LogoRecognitionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -732,10 +664,9 @@ public Builder mergeFrom( tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -759,10 +690,9 @@ public Builder mergeFrom( segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -787,9 +717,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -798,54 +726,40 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -867,8 +781,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -876,7 +788,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) {
      *
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
-    public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) {
+    public Builder setEntity(
+        com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) {
       if (entityBuilder_ == null) {
         entity_ = builderForValue.build();
         onChanged();
@@ -887,8 +800,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -900,9 +811,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) {
       if (entityBuilder_ == null) {
         if (entity_ != null) {
           entity_ =
-              com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
         } else {
           entity_ = value;
         }
@@ -914,8 +823,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -935,8 +842,6 @@ public Builder clearEntity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -945,13 +850,11 @@ public Builder clearEntity() {
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() {
-
+      
       onChanged();
       return getEntityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -963,14 +866,11 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null
-            ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance()
-            : entity_;
+        return entity_ == null ?
+            com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_;
       }
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -979,41 +879,32 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Entity,
-            com.google.cloud.videointelligence.v1.Entity.Builder,
-            com.google.cloud.videointelligence.v1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> 
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.Entity,
-                com.google.cloud.videointelligence.v1.Entity.Builder,
-                com.google.cloud.videointelligence.v1.EntityOrBuilder>(
-                getEntity(), getParentForChildren(), isClean());
+        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>(
+                getEntity(),
+                getParentForChildren(),
+                isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
 
     private java.util.List tracks_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTracksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tracks_ = new java.util.ArrayList(tracks_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Track,
-            com.google.cloud.videointelligence.v1.Track.Builder,
-            com.google.cloud.videointelligence.v1.TrackOrBuilder>
-        tracksBuilder_;
+        com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_;
 
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1029,8 +920,6 @@ public java.util.List getTracksList
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1046,8 +935,6 @@ public int getTracksCount() {
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1063,8 +950,6 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1072,7 +957,8 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) {
+    public Builder setTracks(
+        int index, com.google.cloud.videointelligence.v1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1086,8 +972,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1107,8 +991,6 @@ public Builder setTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1130,8 +1012,6 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1139,7 +1019,8 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) {
+    public Builder addTracks(
+        int index, com.google.cloud.videointelligence.v1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1153,8 +1034,6 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1162,7 +1041,8 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) {
+    public Builder addTracks(
+        com.google.cloud.videointelligence.v1.Track.Builder builderForValue) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
         tracks_.add(builderForValue.build());
@@ -1173,8 +1053,6 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1194,8 +1072,6 @@ public Builder addTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1207,7 +1083,8 @@ public Builder addAllTracks(
         java.lang.Iterable values) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, tracks_);
         onChanged();
       } else {
         tracksBuilder_.addAllMessages(values);
@@ -1215,8 +1092,6 @@ public Builder addAllTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1235,8 +1110,6 @@ public Builder clearTracks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1255,8 +1128,6 @@ public Builder removeTracks(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1264,12 +1135,11 @@ public Builder removeTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) {
+    public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(
+        int index) {
       return getTracksFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1277,16 +1147,14 @@ public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) {
+    public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
+        int index) {
       if (tracksBuilder_ == null) {
-        return tracks_.get(index);
-      } else {
+        return tracks_.get(index);  } else {
         return tracksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1294,8 +1162,8 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public java.util.List
-        getTracksOrBuilderList() {
+    public java.util.List 
+         getTracksOrBuilderList() {
       if (tracksBuilder_ != null) {
         return tracksBuilder_.getMessageOrBuilderList();
       } else {
@@ -1303,8 +1171,6 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1313,12 +1179,10 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
     public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() {
-      return getTracksFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
+      return getTracksFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1326,13 +1190,12 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) {
-      return getTracksFieldBuilder()
-          .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(
+        int index) {
+      return getTracksFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1340,48 +1203,38 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public java.util.List
-        getTracksBuilderList() {
+    public java.util.List 
+         getTracksBuilderList() {
       return getTracksFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Track,
-            com.google.cloud.videointelligence.v1.Track.Builder,
-            com.google.cloud.videointelligence.v1.TrackOrBuilder>
+        com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> 
         getTracksFieldBuilder() {
       if (tracksBuilder_ == null) {
-        tracksBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.Track,
-                com.google.cloud.videointelligence.v1.Track.Builder,
-                com.google.cloud.videointelligence.v1.TrackOrBuilder>(
-                tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>(
+                tracks_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         tracks_ = null;
       }
       return tracksBuilder_;
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment,
-            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1397,8 +1250,6 @@ public java.util.List getSeg
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1414,8 +1265,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1431,8 +1280,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1455,8 +1302,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1476,8 +1321,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1499,8 +1342,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.VideoSegment va
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1523,8 +1364,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1544,8 +1383,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1565,8 +1402,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1578,7 +1413,8 @@ public Builder addAllSegments(
         java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1586,8 +1422,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1606,8 +1440,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1626,8 +1458,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1640,8 +1470,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1652,14 +1480,11 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
     public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1667,8 +1492,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
-    public java.util.List
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1676,8 +1501,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1686,12 +1509,10 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1701,13 +1522,10 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1715,30 +1533,27 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment,
-            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.VideoSegment,
-                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
     }
-
     @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);
     }
 
@@ -1748,32 +1563,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
-  private static final com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation();
   }
 
-  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public LogoRecognitionAnnotation parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new LogoRecognitionAnnotation(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public LogoRecognitionAnnotation parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new LogoRecognitionAnnotation(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1785,8 +1598,9 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
similarity index 82%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
index 5da50d02a..60496589e 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface LogoRecognitionAnnotationOrBuilder
-    extends
+public interface LogoRecognitionAnnotationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -62,8 +38,6 @@ public interface LogoRecognitionAnnotationOrBuilder
   com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder();
 
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -71,10 +45,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  java.util.List getTracksList();
+  java.util.List 
+      getTracksList();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -84,8 +57,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1.Track getTracks(int index);
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -95,8 +66,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   int getTracksCount();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -104,11 +73,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  java.util.List
+  java.util.List 
       getTracksOrBuilderList();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -116,11 +83,10 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index);
+  com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -128,10 +94,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -141,8 +106,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -152,8 +115,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -161,11 +122,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -173,5 +132,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
+  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
similarity index 70%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
index a1cbeafcd..d32213da8 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
- *
- *
  * 
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingBox extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedBoundingBox() {}
+  private NormalizedBoundingBox() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,33 +54,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              left_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              top_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              right_ = input.readFloat();
-              break;
-            }
-          case 37:
-            {
-              bottom_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            left_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            top_ = input.readFloat();
+            break;
+          }
+          case 29: {
+
+            right_ = input.readFloat();
+            break;
+          }
+          case 37: {
+
+            bottom_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,39 +88,34 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
-   *
-   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -147,14 +126,11 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -165,14 +141,11 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -183,14 +156,11 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -199,7 +169,6 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +180,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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -234,16 +204,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -253,22 +227,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.videointelligence.v1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedBoundingBox other = - (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits(other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) - return false; + != java.lang.Float.floatToIntBits( + other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) + != java.lang.Float.floatToIntBits( + other.getTop())) return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits(other.getRight())) return false; + != java.lang.Float.floatToIntBits( + other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits(other.getBottom())) return false; + != java.lang.Float.floatToIntBits( + other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,117 +258,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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; } /** - * - * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -400,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class,
-              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder()
@@ -424,15 +395,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();
@@ -448,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
@@ -469,8 +441,7 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedBoundingBox result =
-          new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -483,39 +454,38 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingBox) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingBox)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -523,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundingBox other) {
-      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -556,8 +525,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -567,16 +535,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_;
+    private float left_ ;
     /**
-     *
-     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -584,51 +549,42 @@ public float getLeft() { return left_; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_; + private float top_ ; /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -636,51 +592,42 @@ public float getTop() { return top_; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_; + private float right_ ; /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -688,51 +635,42 @@ public float getRight() { return right_; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_; + private float bottom_ ; /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -740,43 +678,37 @@ public float getBottom() { return bottom_; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -786,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingBox) private static final com.google.cloud.videointelligence.v1.NormalizedBoundingBox DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(); } @@ -800,16 +732,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java similarity index 55% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java index fd35203c0..2f419ce6f 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java @@ -1,76 +1,48 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface NormalizedBoundingBoxOrBuilder - extends +public interface NormalizedBoundingBoxOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ float getLeft(); /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ float getTop(); /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ float getRight(); /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ float getBottom(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java index d94d58156..6b1351cfc 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -41,31 +24,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingPoly extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,27 +68,22 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vertices_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.NormalizedVertex>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vertices_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.NormalizedVertex.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vertices_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            vertices_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.NormalizedVertex.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -113,7 +91,8 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -122,27 +101,22 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
-   *
-   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -154,8 +128,6 @@ public java.util.List ge return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -163,13 +135,11 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVerticesOrBuilderList() { return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -181,8 +151,6 @@ public int getVerticesCount() { return vertices_.size(); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -194,8 +162,6 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int in return vertices_.get(index); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -209,7 +175,6 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +186,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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -235,7 +201,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,15 +212,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.videointelligence.v1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other = - (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) obj; - if (!getVerticesList().equals(other.getVerticesList())) return false; + if (!getVerticesList() + .equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -275,104 +242,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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; } /** - * - * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -393,23 +352,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
-              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder()
@@ -417,17 +374,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) {
         getVerticesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,14 +398,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance();
     }
 
@@ -463,8 +419,7 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result =
-          new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -483,39 +438,38 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingPoly)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -523,9 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other) {
-      if (other
-          == com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance()) return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -544,10 +496,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundin
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVerticesFieldBuilder()
-                    : null;
+            verticesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVerticesFieldBuilder() : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -572,8 +523,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -582,38 +532,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List vertices_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ =
-            new java.util.ArrayList(
-                vertices_);
+        vertices_ = new java.util.ArrayList(vertices_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedVertex,
-            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
-            com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
-        verticesBuilder_;
+        com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> verticesBuilder_;
 
     /**
-     *
-     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesList() { + public java.util.List getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -621,8 +561,6 @@ private void ensureVerticesIsMutable() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -637,8 +575,6 @@ public int getVerticesCount() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -653,8 +589,6 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int in } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -676,8 +610,6 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -696,8 +628,6 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -718,8 +648,6 @@ public Builder addVertices(com.google.cloud.videointelligence.v1.NormalizedVerte return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -741,8 +669,6 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -761,8 +687,6 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -781,8 +705,6 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -790,11 +712,11 @@ public Builder addVertices( * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ public Builder addAllVertices( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -802,8 +724,6 @@ public Builder addAllVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -821,8 +741,6 @@ public Builder clearVertices() { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -840,8 +758,6 @@ public Builder removeVertices(int index) { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -853,8 +769,6 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getVertice return getVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -864,22 +778,19 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getVertice public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder( int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); - } else { + return vertices_.get(index); } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesOrBuilderList() { + public java.util.List + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -887,8 +798,6 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -896,12 +805,10 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVerticesBuilder() { - return getVerticesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -910,43 +817,37 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVertice */ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, - com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, - com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>( - vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>( + vertices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); vertices_ = null; } return verticesBuilder_; } - @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); } @@ -956,13 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1.NormalizedBoundingPoly - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.NormalizedBoundingPoly DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(); } @@ -971,16 +871,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +895,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java index d89c012e8..a842d5f9a 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface NormalizedBoundingPolyOrBuilder - extends +public interface NormalizedBoundingPolyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - java.util.List getVerticesList(); + java.util.List + getVerticesList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -44,8 +25,6 @@ public interface NormalizedBoundingPolyOrBuilder */ com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int index); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -54,24 +33,21 @@ public interface NormalizedBoundingPolyOrBuilder */ int getVerticesCount(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder(int index); + com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java index c5b967574..53a806ecc 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedVertex}
  */
-public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedVertex extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedVertex() {}
+  private NormalizedVertex() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,23 +54,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              x_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              y_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            x_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            y_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,39 +78,34 @@ private NormalizedVertex(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedVertex.class,
-            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedVertex.class, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
-   *
-   *
    * 
    * X coordinate.
    * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -137,14 +116,11 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** - * - * *
    * Y coordinate.
    * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -153,7 +129,6 @@ public float getY() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +140,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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -182,10 +158,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -195,18 +173,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.videointelligence.v1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedVertex other = - (com.google.cloud.videointelligence.v1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1.NormalizedVertex other = (com.google.cloud.videointelligence.v1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) - return false; - if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) - return false; + if (java.lang.Float.floatToIntBits(getX()) + != java.lang.Float.floatToIntBits( + other.getX())) return false; + if (java.lang.Float.floatToIntBits(getY()) + != java.lang.Float.floatToIntBits( + other.getY())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -219,113 +198,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedVertex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.NormalizedVertex 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; } /** - * - * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -334,23 +307,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedVertex}
    */
-  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.videointelligence.v1.NormalizedVertex)
       com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedVertex.class,
-              com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedVertex.class, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder()
@@ -358,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();
@@ -378,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
@@ -399,8 +371,7 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedVertex result =
-          new com.google.cloud.videointelligence.v1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1.NormalizedVertex result = new com.google.cloud.videointelligence.v1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -411,39 +382,38 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedVertex) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedVertex)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,8 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedVertex other) {
-      if (other == com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()) return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -478,8 +447,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.NormalizedVertex) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedVertex) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -489,16 +457,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_;
+    private float x_ ;
     /**
-     *
-     *
      * 
      * X coordinate.
      * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -506,51 +471,42 @@ public float getX() { return x_; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_; + private float y_ ; /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -558,43 +514,37 @@ public float getY() { return y_; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -604,12 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedVertex) private static final com.google.cloud.videointelligence.v1.NormalizedVertex DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedVertex(); } @@ -618,16 +568,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedVertex getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..60eb9cf84 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface NormalizedVertexOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * @return The x. + */ + float getX(); + + /** + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * @return The y. + */ + float getY(); +} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java index b7fc543c4..9a8d0eb31 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ObjectTrackingAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ObjectTrackingAnnotation() { frames_ = java.util.Collections.emptyList(); version_ = ""; @@ -44,15 +26,16 @@ private ObjectTrackingAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,80 +55,65 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.ObjectTrackingFrame>(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.ObjectTrackingFrame.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = - ((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_).toBuilder(); - } - trackInfo_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); - } - trackInfoCase_ = 3; - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 37: - { - confidence_ = input.readFloat(); - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingFrame.parser(), extensionRegistry)); + break; + } + case 26: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = ((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_).toBuilder(); } - case 40: - { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; + trackInfo_ = + input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + trackInfoCase_ = 3; + break; + } + case 37: { - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + confidence_ = input.readFloat(); + break; + } + case 40: { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,7 +121,8 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -162,34 +131,28 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public enum TrackInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; - private TrackInfoCase(int value) { this.value = value; } @@ -205,37 +168,31 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: - return SEGMENT; - case 5: - return TRACK_ID; - case 0: - return TRACKINFO_NOT_SET; - default: - return null; + case 3: return SEGMENT; + case 5: return TRACK_ID; + case 0: return TRACKINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -243,27 +200,22 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance(); } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -274,15 +226,13 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-      return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_;
+       return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -293,7 +243,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ @java.lang.Override @@ -301,8 +250,6 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -313,7 +260,6 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; - * * @return The trackId. */ @java.lang.Override @@ -327,14 +273,11 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -342,25 +285,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -375,14 +311,11 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -393,8 +326,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -409,8 +340,6 @@ public java.util.List
     return frames_;
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -421,14 +350,11 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
+  public java.util.List 
       getFramesOrBuilderList() {
     return frames_;
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -443,8 +369,6 @@ public int getFramesCount() {
     return frames_.size();
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -459,8 +383,6 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int i
     return frames_.get(index);
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -479,14 +401,11 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
   public static final int VERSION_FIELD_NUMBER = 6;
   private volatile java.lang.Object version_;
   /**
-   *
-   *
    * 
    * Feature version.
    * 
* * string version = 6; - * * @return The version. */ @java.lang.Override @@ -495,29 +414,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 6; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -526,7 +445,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,7 +456,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -552,7 +471,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeFloat(4, confidence_); } if (trackInfoCase_ == 5) { - output.writeInt64(5, (long) ((java.lang.Long) trackInfo_)); + output.writeInt64( + 5, (long)((java.lang.Long) trackInfo_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_); @@ -567,23 +487,25 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } if (trackInfoCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 5, (long) ((java.lang.Long) trackInfo_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 5, (long)((java.lang.Long) trackInfo_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_); @@ -596,29 +518,34 @@ 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.videointelligence.v1.ObjectTrackingAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other = - (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; - if (!getVersion().equals(other.getVersion())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false; switch (trackInfoCase_) { case 3: - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; break; case 5: - if (getTrackId() != other.getTrackId()) return false; + if (getTrackId() + != other.getTrackId()) return false; break; case 0: default: @@ -639,7 +566,8 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -653,7 +581,8 @@ public int hashCode() { break; case 5: hash = (37 * hash) + TRACK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTrackId()); break; case 0: default: @@ -664,127 +593,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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; } /** - * - * *
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.newBuilder() @@ -792,17 +711,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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -828,14 +747,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance(); } @@ -850,8 +768,7 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation result = - new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -888,39 +805,38 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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) { + 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.videointelligence.v1.ObjectTrackingAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation)other); } else { super.mergeFrom(other); return this; @@ -928,9 +844,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -955,10 +869,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnn framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -969,20 +882,17 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnn onChanged(); } switch (other.getTrackInfoCase()) { - case SEGMENT: - { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: - { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: - { - break; - } + case SEGMENT: { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1003,9 +913,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1014,12 +922,12 @@ public Builder mergeFrom( } return this; } - private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public Builder clearTrackInfo() { @@ -1032,20 +940,14 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -1053,15 +955,12 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override @@ -1079,8 +978,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { } } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1102,8 +999,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1123,8 +1018,6 @@ public Builder setSegment(
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1134,14 +1027,10 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3
-            && trackInfo_
-                != com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ =
-              com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(
-                      (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trackInfoCase_ == 3 &&
+            trackInfo_ != com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ = com.google.cloud.videointelligence.v1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -1157,8 +1046,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1183,8 +1070,6 @@ public Builder clearSegment() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1196,8 +1081,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuil
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1217,8 +1100,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
       }
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1227,33 +1108,25 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * .google.cloud.videointelligence.v1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment,
-            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
           trackInfo_ = com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.VideoSegment,
-                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return segmentBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1264,15 +1137,12 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1283,7 +1153,6 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; - * * @return The trackId. */ public long getTrackId() { @@ -1293,8 +1162,6 @@ public long getTrackId() { return 0L; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1305,7 +1172,6 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; - * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1316,8 +1182,6 @@ public Builder setTrackId(long value) { return this; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1328,7 +1192,6 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; - * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1342,47 +1205,34 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1403,15 +1253,14 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; */ - public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { + public Builder setEntity( + com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); @@ -1422,8 +1271,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder bu return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1434,9 +1281,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1448,8 +1293,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1468,8 +1311,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1477,13 +1318,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1494,14 +1333,11 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1509,32 +1345,26 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( * .google.cloud.videointelligence.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder> + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, - com.google.cloud.videointelligence.v1.Entity.Builder, - com.google.cloud.videointelligence.v1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -1542,62 +1372,48 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1607,8 +1423,7 @@ private void ensureFramesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List
-        getFramesList() {
+    public java.util.List getFramesList() {
       if (framesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(frames_);
       } else {
@@ -1616,8 +1431,6 @@ private void ensureFramesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1635,8 +1448,6 @@ public int getFramesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1654,8 +1465,6 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int i
       }
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1680,8 +1489,6 @@ public Builder setFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1692,8 +1499,7 @@ public Builder setFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder setFrames(
-        int index,
-        com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
         frames_.set(index, builderForValue.build());
@@ -1704,8 +1510,6 @@ public Builder setFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1729,8 +1533,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.ObjectTrackingFra
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1755,8 +1557,6 @@ public Builder addFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1778,8 +1578,6 @@ public Builder addFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1790,8 +1588,7 @@ public Builder addFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder addFrames(
-        int index,
-        com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
         frames_.add(index, builderForValue.build());
@@ -1802,8 +1599,6 @@ public Builder addFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1814,11 +1609,11 @@ public Builder addFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder addAllFrames(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, frames_);
         onChanged();
       } else {
         framesBuilder_.addAllMessages(values);
@@ -1826,8 +1621,6 @@ public Builder addAllFrames(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1848,8 +1641,6 @@ public Builder clearFrames() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1870,8 +1661,6 @@ public Builder removeFrames(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1886,8 +1675,6 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder getFram
       return getFramesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1900,14 +1687,11 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder getFram
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
         int index) {
       if (framesBuilder_ == null) {
-        return frames_.get(index);
-      } else {
+        return frames_.get(index);  } else {
         return framesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1917,9 +1701,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
-        getFramesOrBuilderList() {
+    public java.util.List 
+         getFramesOrBuilderList() {
       if (framesBuilder_ != null) {
         return framesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1927,8 +1710,6 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
       }
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1939,13 +1720,10 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFramesBuilder() {
-      return getFramesFieldBuilder()
-          .addBuilder(
-              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
+      return getFramesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1957,14 +1735,10 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
      */
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFramesBuilder(
         int index) {
-      return getFramesFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
+      return getFramesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1974,23 +1748,20 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List
-        getFramesBuilderList() {
+    public java.util.List 
+         getFramesBuilderList() {
       return getFramesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame,
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder,
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
+        com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> 
         getFramesFieldBuilder() {
       if (framesBuilder_ == null) {
-        framesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.ObjectTrackingFrame,
-                com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder,
-                com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>(
-                frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>(
+                frames_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         frames_ = null;
       }
       return framesBuilder_;
@@ -1998,20 +1769,18 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * Feature version.
      * 
* * string version = 6; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -2020,21 +1789,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 6; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -2042,68 +1810,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 6; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 6; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 6; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -2113,32 +1874,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2150,8 +1909,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java index c30434169..a6f116a79 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingAnnotationOrBuilder - extends +public interface ObjectTrackingAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -62,8 +38,6 @@ public interface ObjectTrackingAnnotationOrBuilder
   com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -74,13 +48,10 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -91,38 +62,29 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return The trackId. */ long getTrackId(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -132,21 +94,16 @@ public interface ObjectTrackingAnnotationOrBuilder com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -156,10 +113,9 @@ public interface ObjectTrackingAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List getFramesList();
+  java.util.List 
+      getFramesList();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -171,8 +127,6 @@ public interface ObjectTrackingAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int index);
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -184,8 +138,6 @@ public interface ObjectTrackingAnnotationOrBuilder
    */
   int getFramesCount();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -195,11 +147,9 @@ public interface ObjectTrackingAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List
+  java.util.List 
       getFramesOrBuilderList();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -209,33 +159,28 @@ public interface ObjectTrackingAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index);
+  com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Feature version.
    * 
* * string version = 6; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 6; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.TrackInfoCase - getTrackInfoCase(); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java index d355fb851..e06446fd6 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingConfig} */ -public final class ObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ObjectTrackingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingConfig) ObjectTrackingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ObjectTrackingConfig.newBuilder() to construct. private ObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ObjectTrackingConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ObjectTrackingConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ObjectTrackingConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1.ObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingConfig other = - (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingConfig other = (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingConfig} */ - 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.videointelligence.v1.ObjectTrackingConfig) com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder() @@ -359,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(); @@ -377,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override @@ -398,8 +366,7 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1.ObjectTrackingConfig result = - new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(this); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig result = new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(this); result.model_ = model_; onBuilt(); return result; @@ -409,39 +376,38 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingConfig)other); } else { super.mergeFrom(other); return this; @@ -449,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingConfig other) { - if (other == com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -474,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -496,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -511,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -520,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -535,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -544,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -567,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -586,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -612,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingConfig) private static final com.google.cloud.videointelligence.v1.ObjectTrackingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(); } @@ -626,16 +580,16 @@ public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java index 06c9e86bc..b980a9f29 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingConfigOrBuilder - extends +public interface ObjectTrackingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ObjectTrackingConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ObjectTrackingConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java index cb7288a85..4bd92b2c3 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectTrackingFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ObjectTrackingFrame() {}
+  private ObjectTrackingFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,45 +53,39 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
-              if (normalizedBoundingBox_ != null) {
-                subBuilder = normalizedBoundingBox_.toBuilder();
-              }
-              normalizedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedBoundingBox_);
-                normalizedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
+            if (normalizedBoundingBox_ != null) {
+              subBuilder = normalizedBoundingBox_.toBuilder();
+            }
+            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(normalizedBoundingBox_);
+              normalizedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,40 +93,34 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class,
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
-   *
-   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -156,50 +128,37 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -207,14 +166,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -222,8 +178,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
@@ -236,7 +190,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +201,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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -265,11 +219,12 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +234,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.videointelligence.v1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingFrame other = - (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox() + .equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,104 +276,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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; } /** - * - * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -425,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class,
-              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingFrame.newBuilder()
@@ -449,15 +395,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();
@@ -477,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
@@ -498,8 +445,7 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1.ObjectTrackingFrame result =
-          new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -518,39 +464,38 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingFrame other) {
-      if (other == com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance()) return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -585,8 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -598,58 +541,41 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>
-        normalizedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -663,14 +589,11 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder setNormalizedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -684,24 +607,17 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder mergeNormalizedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder( - normalizedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -713,14 +629,11 @@ public Builder mergeNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -734,63 +647,48 @@ public Builder clearNormalizedBoundingBox() { return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), getParentForChildren(), isClean()); + normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), + getParentForChildren(), + isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -798,47 +696,34 @@ public Builder clearNormalizedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -859,15 +744,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -878,8 +762,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -890,7 +772,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -902,8 +784,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -922,8 +802,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -931,13 +809,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -948,14 +824,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -963,24 +836,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -990,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingFrame) private static final com.google.cloud.videointelligence.v1.ObjectTrackingFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(); } @@ -1004,16 +874,16 @@ public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java index f05afcaef..2f3bd9d93 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingFrameOrBuilder - extends +public interface ObjectTrackingFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java index 8d176e81e..5147a9a2c 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Person detection annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionAnnotation} */ -public final class PersonDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PersonDetectionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.PersonDetectionAnnotation) PersonDetectionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PersonDetectionAnnotation.newBuilder() to construct. private PersonDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PersonDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); version_ = ""; @@ -44,15 +26,16 @@ private PersonDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PersonDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PersonDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private PersonDetectionAnnotation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private PersonDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -113,27 +94,22 @@ private PersonDetectionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 1; private java.util.List tracks_; /** - * - * *
    * The detected tracks of a person.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTracksList return tracks_; } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTracksList * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -172,8 +144,6 @@ public int getTracksCount() { return tracks_.size(); } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { return tracks_.get(index); } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -194,21 +162,19 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index) { return tracks_.get(index); } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -217,29 +183,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,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 < tracks_.size(); i++) { output.writeMessage(1, tracks_.get(i)); } @@ -277,7 +243,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tracks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); @@ -290,16 +257,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.videointelligence.v1.PersonDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other = - (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other = (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) obj; - if (!getTracksList().equals(other.getTracksList())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getTracksList() + .equals(other.getTracksList())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,127 +291,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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; } /** - * - * *
    * Person detection annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionAnnotation} */ - 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.videointelligence.v1.PersonDetectionAnnotation) com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.newBuilder() @@ -451,17 +409,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) { getTracksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,14 +435,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance(); } @@ -499,8 +456,7 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation result = - new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(this); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation result = new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,50 +476,46 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation buildPart 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.videointelligence.v1.PersonDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -582,10 +534,9 @@ public Builder mergeFrom( tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -614,9 +565,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,28 +574,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder> - tracksBuilder_; + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_; /** - * - * *
      * The detected tracks of a person.
      * 
@@ -661,8 +603,6 @@ public java.util.List getTracksList } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -677,8 +617,6 @@ public int getTracksCount() { } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -693,15 +631,14 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { } } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder setTracks( + int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +652,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -735,8 +670,6 @@ public Builder setTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -757,15 +690,14 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) { return this; } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder addTracks( + int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,15 +711,14 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track return this; } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { + public Builder addTracks( + com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); tracks_.add(builderForValue.build()); @@ -798,8 +729,6 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder bui return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -818,8 +747,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -830,7 +757,8 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -838,8 +766,6 @@ public Builder addAllTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -857,8 +783,6 @@ public Builder clearTracks() { return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -876,44 +800,39 @@ public Builder removeTracks(int index) { return this; } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) { + public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder( + int index) { return getTracksFieldBuilder().getBuilder(index); } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); - } else { + return tracks_.get(index); } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +840,6 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -930,48 +847,42 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(i * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + return getTracksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) { - return getTracksFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( + int index) { + return getTracksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder> + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, - com.google.cloud.videointelligence.v1.Track.Builder, - com.google.cloud.videointelligence.v1.TrackOrBuilder>( - tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>( + tracks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tracks_ = null; } return tracksBuilder_; @@ -979,20 +890,18 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int private java.lang.Object version_ = ""; /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1001,21 +910,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1023,68 +931,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1094,32 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.PersonDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.PersonDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.PersonDetectionAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java index 340f63beb..97550a28f 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface PersonDetectionAnnotationOrBuilder - extends +public interface PersonDetectionAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.PersonDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - java.util.List getTracksList(); + java.util.List + getTracksList(); /** - * - * *
    * The detected tracks of a person.
    * 
@@ -44,8 +25,6 @@ public interface PersonDetectionAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.Track getTracks(int index); /** - * - * *
    * The detected tracks of a person.
    * 
@@ -54,49 +33,41 @@ public interface PersonDetectionAnnotationOrBuilder */ int getTracksCount(); /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index); + com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( + int index); /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java index d72f261a8..73df4aad2 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for PERSON_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionConfig} */ -public final class PersonDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PersonDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.PersonDetectionConfig) PersonDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PersonDetectionConfig.newBuilder() to construct. private PersonDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PersonDetectionConfig() {} + private PersonDetectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PersonDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PersonDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,28 @@ private PersonDetectionConfig( case 0: done = true; break; - case 8: - { - includeBoundingBoxes_ = input.readBool(); - break; - } - case 16: - { - includePoseLandmarks_ = input.readBool(); - break; - } - case 24: - { - includeAttributes_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + includeBoundingBoxes_ = input.readBool(); + break; + } + case 16: { + + includePoseLandmarks_ = input.readBool(); + break; + } + case 24: { + + includeAttributes_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,40 +81,35 @@ private PersonDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); } public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 1; private boolean includeBoundingBoxes_; /** - * - * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -141,15 +120,12 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_POSE_LANDMARKS_FIELD_NUMBER = 2; private boolean includePoseLandmarks_; /** - * - * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ @java.lang.Override @@ -160,8 +136,6 @@ public boolean getIncludePoseLandmarks() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 3; private boolean includeAttributes_; /** - * - * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -170,7 +144,6 @@ public boolean getIncludePoseLandmarks() {
    * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ @java.lang.Override @@ -179,7 +152,6 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +163,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 (includeBoundingBoxes_ != false) { output.writeBool(1, includeBoundingBoxes_); } @@ -211,13 +184,16 @@ public int getSerializedSize() { size = 0; if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, includeBoundingBoxes_); } if (includePoseLandmarks_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includePoseLandmarks_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, includePoseLandmarks_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAttributes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,17 +203,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.videointelligence.v1.PersonDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.PersonDetectionConfig other = - (com.google.cloud.videointelligence.v1.PersonDetectionConfig) obj; + com.google.cloud.videointelligence.v1.PersonDetectionConfig other = (com.google.cloud.videointelligence.v1.PersonDetectionConfig) obj; - if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; - if (getIncludePoseLandmarks() != other.getIncludePoseLandmarks()) return false; - if (getIncludeAttributes() != other.getIncludeAttributes()) return false; + if (getIncludeBoundingBoxes() + != other.getIncludeBoundingBoxes()) return false; + if (getIncludePoseLandmarks() + != other.getIncludePoseLandmarks()) return false; + if (getIncludeAttributes() + != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -250,138 +228,131 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_POSE_LANDMARKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePoseLandmarks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludePoseLandmarks()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.PersonDetectionConfig 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; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionConfig} */ - 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.videointelligence.v1.PersonDetectionConfig) com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder() @@ -389,15 +360,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(); @@ -411,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override @@ -432,8 +404,7 @@ public com.google.cloud.videointelligence.v1.PersonDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.PersonDetectionConfig result = - new com.google.cloud.videointelligence.v1.PersonDetectionConfig(this); + com.google.cloud.videointelligence.v1.PersonDetectionConfig result = new com.google.cloud.videointelligence.v1.PersonDetectionConfig(this); result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includePoseLandmarks_ = includePoseLandmarks_; result.includeAttributes_ = includeAttributes_; @@ -445,39 +416,38 @@ public com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionConfig)other); } else { super.mergeFrom(other); return this; @@ -485,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.PersonDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance()) return this; if (other.getIncludeBoundingBoxes() != false) { setIncludeBoundingBoxes(other.getIncludeBoundingBoxes()); } @@ -515,8 +484,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.PersonDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.PersonDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,17 +494,14 @@ public Builder mergeFrom( return this; } - private boolean includeBoundingBoxes_; + private boolean includeBoundingBoxes_ ; /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -544,54 +509,45 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includePoseLandmarks_; + private boolean includePoseLandmarks_ ; /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ @java.lang.Override @@ -599,47 +555,39 @@ public boolean getIncludePoseLandmarks() { return includePoseLandmarks_; } /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @param value The includePoseLandmarks to set. * @return This builder for chaining. */ public Builder setIncludePoseLandmarks(boolean value) { - + includePoseLandmarks_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @return This builder for chaining. */ public Builder clearIncludePoseLandmarks() { - + includePoseLandmarks_ = false; onChanged(); return this; } - private boolean includeAttributes_; + private boolean includeAttributes_ ; /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -648,7 +596,6 @@ public Builder clearIncludePoseLandmarks() {
      * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ @java.lang.Override @@ -656,8 +603,6 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -666,19 +611,16 @@ public boolean getIncludeAttributes() {
      * 
* * bool include_attributes = 3; - * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -687,18 +629,17 @@ public Builder setIncludeAttributes(boolean value) {
      * 
* * bool include_attributes = 3; - * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -708,12 +649,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.PersonDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.PersonDetectionConfig) private static final com.google.cloud.videointelligence.v1.PersonDetectionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.PersonDetectionConfig(); } @@ -722,16 +663,16 @@ public static com.google.cloud.videointelligence.v1.PersonDetectionConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -746,4 +687,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.PersonDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java index de9e56561..91e9f797e 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java @@ -1,59 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface PersonDetectionConfigOrBuilder - extends +public interface PersonDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.PersonDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** - * - * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ boolean getIncludePoseLandmarks(); /** - * - * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -62,7 +38,6 @@ public interface PersonDetectionConfigOrBuilder
    * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java index 3d53da2c2..0350786bb 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder() @@ -359,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(); @@ -377,14 +345,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance(); } @@ -399,8 +366,7 @@ public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -410,50 +376,46 @@ public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig buildPart 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.videointelligence.v1.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -477,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -500,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -515,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -539,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -548,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -571,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -590,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java index a7b9ca6c6..247030e0f 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ShotChangeDetectionConfigOrBuilder - extends +public interface ShotChangeDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java index 76ccec4e6..92cde08ff 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.SpeechContext}
  */
-public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpeechContext extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechContext)
     SpeechContextOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,23 +55,22 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                phrases_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              phrases_.add(s);
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              phrases_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            phrases_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -96,7 +78,8 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -105,27 +88,22 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.SpeechContext.class,
-            com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1.SpeechContext.class, com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
-   *
-   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -136,15 +114,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_; } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -155,15 +131,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -174,7 +147,6 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -182,8 +154,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -194,16 +164,15 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +184,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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -244,15 +214,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.videointelligence.v1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechContext other = - (com.google.cloud.videointelligence.v1.SpeechContext) obj; + com.google.cloud.videointelligence.v1.SpeechContext other = (com.google.cloud.videointelligence.v1.SpeechContext) obj; - if (!getPhrasesList().equals(other.getPhrasesList())) return false; + if (!getPhrasesList() + .equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -274,103 +244,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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; } /** - * - * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -378,23 +341,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.SpeechContext}
    */
-  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.videointelligence.v1.SpeechContext)
       com.google.cloud.videointelligence.v1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.SpeechContext.class,
-              com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1.SpeechContext.class, com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.SpeechContext.newBuilder()
@@ -402,15 +363,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();
@@ -420,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +403,7 @@ public com.google.cloud.videointelligence.v1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1.SpeechContext result =
-          new com.google.cloud.videointelligence.v1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1.SpeechContext result = new com.google.cloud.videointelligence.v1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -457,39 +418,38 @@ public com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.SpeechContext) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.SpeechContext)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,8 +457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()) return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -528,8 +487,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -538,21 +496,16 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -563,15 +516,13 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -582,15 +533,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -601,7 +549,6 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -609,8 +556,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -621,16 +566,14 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -641,23 +584,21 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases(int index, java.lang.String value) { + public Builder setPhrases( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -668,22 +609,20 @@ public Builder setPhrases(int index, java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases(java.lang.String value) { + public Builder addPhrases( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -694,19 +633,18 @@ public Builder addPhrases(java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases(java.lang.Iterable values) { + public Builder addAllPhrases( + java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phrases_); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -717,7 +655,6 @@ public Builder addAllPhrases(java.lang.Iterable values) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -727,8 +664,6 @@ public Builder clearPhrases() { return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -739,23 +674,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -765,12 +700,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechContext) private static final com.google.cloud.videointelligence.v1.SpeechContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechContext(); } @@ -779,16 +714,16 @@ public static com.google.cloud.videointelligence.v1.SpeechContext getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java index 26233491b..ab2b371e3 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechContextOrBuilder - extends +public interface SpeechContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -36,13 +18,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - java.util.List getPhrasesList(); + java.util.List + getPhrasesList(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -53,13 +33,10 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ int getPhrasesCount(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -70,14 +47,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -88,9 +62,9 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString getPhrasesBytes(int index); + com.google.protobuf.ByteString + getPhrasesBytes(int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java index 63751fd6a..d76350e27 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechRecognitionAlternative extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,33 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - transcript_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - words_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.WordInfo.parser(), extensionRegistry)); - break; + transcript_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + words_.add( + input.readMessage(com.google.cloud.videointelligence.v1.WordInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,7 +89,8 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -118,33 +99,27 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -209,94 +181,74 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getWordsList() { return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { return words_.get(index); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( + int index) { return words_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,7 +260,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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -331,10 +284,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -344,18 +299,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.videointelligence.v1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other = - (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) obj; - if (!getTranscript().equals(other.getTranscript())) return false; + if (!getTranscript() + .equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getWordsList().equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getWordsList() + .equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,7 +327,8 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -381,147 +339,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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; } /** - * - * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.newBuilder() + // Construct using com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,16 +485,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance(); } @java.lang.Override @@ -562,8 +506,7 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative build( @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative buildPartial() { - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative result = - new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(this); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -584,51 +527,46 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative buildP 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.videointelligence.v1.SpeechRecognitionAlternative) { - return mergeFrom( - (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) other); + return mergeFrom((com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other) { - if (other - == com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other) { + if (other == com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -654,10 +592,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -682,9 +619,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -693,25 +628,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object transcript_ = ""; /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -720,21 +652,20 @@ public java.lang.String getTranscript() { } } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -742,70 +673,61 @@ public com.google.protobuf.ByteString getTranscriptBytes() { } } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript(java.lang.String value) { + public Builder setTranscript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -816,7 +738,6 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -824,8 +745,6 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -836,19 +755,16 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -859,44 +775,35 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, - com.google.cloud.videointelligence.v1.WordInfo.Builder, - com.google.cloud.videointelligence.v1.WordInfoOrBuilder> - wordsBuilder_; + com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder> wordsBuilder_; /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getWordsList() { if (wordsBuilder_ == null) { @@ -906,17 +813,13 @@ public java.util.List getWordsLi } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -926,17 +829,13 @@ public int getWordsCount() { } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { if (wordsBuilder_ == null) { @@ -946,19 +845,16 @@ public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWords(int index, com.google.cloud.videointelligence.v1.WordInfo value) { + public Builder setWords( + int index, com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -972,17 +868,13 @@ public Builder setWords(int index, com.google.cloud.videointelligence.v1.WordInf return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWords( int index, com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -996,17 +888,13 @@ public Builder setWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords(com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { @@ -1022,19 +910,16 @@ public Builder addWords(com.google.cloud.videointelligence.v1.WordInfo value) { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addWords(int index, com.google.cloud.videointelligence.v1.WordInfo value) { + public Builder addWords( + int index, com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1048,17 +933,13 @@ public Builder addWords(int index, com.google.cloud.videointelligence.v1.WordInf return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords( com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -1072,17 +953,13 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords( int index, com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -1096,23 +973,20 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllWords( java.lang.Iterable values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -1120,17 +994,13 @@ public Builder addAllWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -1143,17 +1013,13 @@ public Builder clearWords() { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -1166,56 +1032,45 @@ public Builder removeWords(int index) { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.videointelligence.v1.WordInfo.Builder getWordsBuilder(int index) { + public com.google.cloud.videointelligence.v1.WordInfo.Builder getWordsBuilder( + int index) { return getWordsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( + int index) { if (wordsBuilder_ == null) { - return words_.get(index); - } else { + return words_.get(index); } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1223,76 +1078,62 @@ public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder(int index) { - return getWordsFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder( + int index) { + return getWordsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, - com.google.cloud.videointelligence.v1.WordInfo.Builder, - com.google.cloud.videointelligence.v1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, - com.google.cloud.videointelligence.v1.WordInfo.Builder, - com.google.cloud.videointelligence.v1.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder>( + words_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; } - @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); } @@ -1302,32 +1143,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,8 +1178,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java index a55fb0a48..ea0f6555b 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,56 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechRecognitionAlternativeOrBuilder - extends +public interface SpeechRecognitionAlternativeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ java.lang.String getTranscript(); /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - com.google.protobuf.ByteString getTranscriptBytes(); + com.google.protobuf.ByteString + getTranscriptBytes(); /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -61,80 +38,61 @@ public interface SpeechRecognitionAlternativeOrBuilder
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getWordsList(); + java.util.List + getWordsList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.videointelligence.v1.WordInfo getWords(int index); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getWordsCount(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getWordsOrBuilderList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index); + com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java index 6036e9939..2d33ce6d4 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscription} */ -public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscription extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechTranscription) SpeechTranscriptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscription() { alternatives_ = java.util.Collections.emptyList(); languageCode_ = ""; @@ -44,15 +26,16 @@ private SpeechTranscription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private SpeechTranscription( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative>(); - mutable_bitField0_ |= 0x00000001; - } - alternatives_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + alternatives_.add( + input.readMessage(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -116,28 +94,22 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscription.class, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List - alternatives_; + private java.util.List alternatives_; /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -145,18 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -164,19 +131,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + public java.util.List getAlternativesOrBuilderList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -184,17 +146,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override public int getAlternativesCount() { return alternatives_.size(); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -202,18 +160,13 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives( - int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index) { return alternatives_.get(index); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -221,21 +174,17 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { return alternatives_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -243,7 +192,6 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ @java.lang.Override @@ -252,15 +200,14 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -268,15 +215,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -285,7 +233,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +244,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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -314,7 +262,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, alternatives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); @@ -327,16 +276,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.videointelligence.v1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechTranscription other = - (com.google.cloud.videointelligence.v1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1.SpeechTranscription other = (com.google.cloud.videointelligence.v1.SpeechTranscription) obj; - if (!getAlternativesList().equals(other.getAlternativesList())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getAlternativesList() + .equals(other.getAlternativesList())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,127 +310,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechTranscription parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.SpeechTranscription 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; } /** - * - * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscription} */ - 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.videointelligence.v1.SpeechTranscription) com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscription.class, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.SpeechTranscription.newBuilder() @@ -488,17 +428,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) { getAlternativesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override @@ -535,8 +475,7 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription build() { @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1.SpeechTranscription result = - new com.google.cloud.videointelligence.v1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1.SpeechTranscription result = new com.google.cloud.videointelligence.v1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -556,39 +495,38 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscription) other); + return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscription)other); } else { super.mergeFrom(other); return this; @@ -596,8 +534,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscription other) { - if (other == com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()) return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -616,10 +553,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscripti alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAlternativesFieldBuilder() - : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAlternativesFieldBuilder() : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -648,8 +584,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.SpeechTranscription) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.SpeechTranscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -658,30 +593,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - alternatives_ = java.util.Collections.emptyList(); - + private java.util.List alternatives_ = + java.util.Collections.emptyList(); private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative>(alternatives_); + alternatives_ = new java.util.ArrayList(alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> - alternativesBuilder_; + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -689,12 +615,9 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -702,8 +625,6 @@ private void ensureAlternativesIsMutable() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -711,9 +632,7 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -723,8 +642,6 @@ public int getAlternativesCount() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -732,12 +649,9 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives( - int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -745,8 +659,6 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -754,9 +666,7 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { @@ -773,8 +683,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -782,14 +690,10 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( - int index, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -800,8 +704,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -809,12 +711,9 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public Builder addAlternatives( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { + public Builder addAlternatives(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -828,8 +727,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -837,9 +734,7 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { @@ -856,8 +751,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -865,13 +758,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - builderForValue) { + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -882,8 +772,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -891,14 +779,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - int index, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -909,8 +793,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -918,17 +800,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAllAlternatives( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative> - values) { + java.lang.Iterable values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -936,8 +815,6 @@ public Builder addAllAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -945,9 +822,7 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -960,8 +835,6 @@ public Builder clearAlternatives() { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -969,9 +842,7 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -984,8 +855,6 @@ public Builder removeAlternatives(int index) { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -993,17 +862,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - getAlternativesBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( + int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1011,21 +876,16 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); - } else { + return alternatives_.get(index); } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1033,13 +893,10 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> - getAlternativesOrBuilderList() { + public java.util.List + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -1047,8 +904,6 @@ public Builder removeAlternatives(int index) { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1056,20 +911,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder() { - return getAlternativesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { + return getAlternativesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1077,21 +925,14 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder(int index) { - return getAlternativesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( + int index) { + return getAlternativesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1099,28 +940,22 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder> - getAlternativesBuilderList() { + public java.util.List + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); alternatives_ = null; } return alternativesBuilder_; @@ -1128,8 +963,6 @@ public Builder removeAlternatives(int index) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1137,13 +970,13 @@ public Builder removeAlternatives(int index) {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -1152,8 +985,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1161,14 +992,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1176,8 +1008,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1185,22 +1015,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1208,18 +1036,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1227,23 +1052,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1253,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscription) private static final com.google.cloud.videointelligence.v1.SpeechTranscription DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechTranscription(); } @@ -1267,16 +1092,16 @@ public static com.google.cloud.videointelligence.v1.SpeechTranscription getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1291,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.SpeechTranscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java index 73337d8b1..7ebc88fb4 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscriptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,86 +56,79 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: - { - maxAlternatives_ = input.readInt32(); - break; - } - case 24: - { - filterProfanity_ = input.readBool(); - break; + languageCode_ = s; + break; + } + case 16: { + + maxAlternatives_ = input.readInt32(); + break; + } + case 24: { + + filterProfanity_ = input.readBool(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - speechContexts_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.SpeechContext.parser(), - extensionRegistry)); - break; + speechContexts_.add( + input.readMessage(com.google.cloud.videointelligence.v1.SpeechContext.parser(), extensionRegistry)); + break; + } + case 40: { + + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { - enableAutomaticPunctuation_ = input.readBool(); - break; + audioTracks_.addInt(input.readInt32()); + break; + } + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 48: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } + while (input.getBytesUntilLimit() > 0) { audioTracks_.addInt(input.readInt32()); - break; - } - case 50: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - audioTracks_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } - case 56: - { - enableSpeakerDiarization_ = input.readBool(); - break; - } - case 64: - { - diarizationSpeakerCount_ = input.readInt32(); - break; } - case 72: - { - enableWordConfidence_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + case 56: { + + enableSpeakerDiarization_ = input.readBool(); + break; + } + case 64: { + + diarizationSpeakerCount_ = input.readInt32(); + break; + } + case 72: { + + enableWordConfidence_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -160,7 +136,8 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -172,27 +149,22 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -202,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ @java.lang.Override @@ -211,15 +182,14 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -229,15 +199,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -248,8 +219,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -259,7 +228,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -270,8 +238,6 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -280,7 +246,6 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -291,77 +256,56 @@ public boolean getFilterProfanity() { public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; private java.util.List speechContexts_; /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getSpeechContextsOrBuilderList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( @@ -372,8 +316,6 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -384,7 +326,6 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -395,60 +336,49 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List getAudioTracksList() { + public java.util.List + getAudioTracksList() { return audioTracks_; } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } - private int audioTracksMemoizedSerializedSize = -1; public static final int ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER = 7; private boolean enableSpeakerDiarization_; /** - * - * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -460,7 +390,6 @@ public int getAudioTracks(int index) {
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -471,8 +400,6 @@ public boolean getEnableSpeakerDiarization() { public static final int DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER = 8; private int diarizationSpeakerCount_; /** - * - * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -480,7 +407,6 @@ public boolean getEnableSpeakerDiarization() {
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -491,8 +417,6 @@ public int getDiarizationSpeakerCount() { public static final int ENABLE_WORD_CONFIDENCE_FIELD_NUMBER = 9; private boolean enableWordConfidence_; /** - * - * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -500,7 +424,6 @@ public int getDiarizationSpeakerCount() {
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ @java.lang.Override @@ -509,7 +432,6 @@ public boolean getEnableWordConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,7 +443,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -567,38 +490,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } if (enableSpeakerDiarization_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSpeakerDiarization_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, enableSpeakerDiarization_); } if (diarizationSpeakerCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diarizationSpeakerCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, diarizationSpeakerCount_); } if (enableWordConfidence_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enableWordConfidence_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, enableWordConfidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -608,23 +539,31 @@ 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.videointelligence.v1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other = - (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() != other.getMaxAlternatives()) return false; - if (getFilterProfanity() != other.getFilterProfanity()) return false; - if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; - if (getEnableSpeakerDiarization() != other.getEnableSpeakerDiarization()) return false; - if (getDiarizationSpeakerCount() != other.getDiarizationSpeakerCount()) return false; - if (getEnableWordConfidence() != other.getEnableWordConfidence()) return false; + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() + != other.getMaxAlternatives()) return false; + if (getFilterProfanity() + != other.getFilterProfanity()) return false; + if (!getSpeechContextsList() + .equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() + != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList() + .equals(other.getAudioTracksList())) return false; + if (getEnableSpeakerDiarization() + != other.getEnableSpeakerDiarization()) return false; + if (getDiarizationSpeakerCount() + != other.getDiarizationSpeakerCount()) return false; + if (getEnableWordConfidence() + != other.getEnableWordConfidence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -641,150 +580,144 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); } hash = (37 * hash) + ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpeakerDiarization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableSpeakerDiarization()); hash = (37 * hash) + DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiarizationSpeakerCount(); hash = (37 * hash) + ENABLE_WORD_CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWordConfidence()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableWordConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder() @@ -792,17 +725,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) { getSpeechContextsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -832,14 +765,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance(); } @@ -854,8 +786,7 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig result = - new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -886,50 +817,46 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig buildPart 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.videointelligence.v1.SpeechTranscriptionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other) { - if (other - == com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other) { + if (other == com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance()) return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -958,10 +885,9 @@ public Builder mergeFrom( speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechContextsFieldBuilder() - : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechContextsFieldBuilder() : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -1008,9 +934,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1019,13 +943,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object languageCode_ = ""; /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1035,13 +956,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -1050,8 +971,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1061,14 +980,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1076,8 +996,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1087,22 +1005,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1112,18 +1028,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1133,25 +1046,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_; + private int maxAlternatives_ ; /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1161,7 +1072,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -1169,8 +1079,6 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1180,19 +1088,16 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1202,20 +1107,17 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_; + private boolean filterProfanity_ ; /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1224,7 +1126,6 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -1232,8 +1133,6 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1242,19 +1141,16 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1263,47 +1159,35 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } private java.util.List speechContexts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList( - speechContexts_); + speechContexts_ = new java.util.ArrayList(speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, - com.google.cloud.videointelligence.v1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> - speechContextsBuilder_; + com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> speechContextsBuilder_; /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1311,15 +1195,11 @@ private void ensureSpeechContextsIsMutable() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1329,15 +1209,11 @@ public int getSpeechContextsCount() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1347,15 +1223,11 @@ public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext value) { @@ -1372,15 +1244,11 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1394,15 +1262,11 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1.SpeechContext value) { if (speechContextsBuilder_ == null) { @@ -1418,15 +1282,11 @@ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1.SpeechCon return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext value) { @@ -1443,15 +1303,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1465,15 +1321,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1487,21 +1339,18 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllSpeechContexts( java.lang.Iterable values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1509,15 +1358,11 @@ public Builder addAllSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1530,15 +1375,11 @@ public Builder clearSpeechContexts() { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1551,52 +1392,39 @@ public Builder removeSpeechContexts(int index) { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder getSpeechContextsBuilder( int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); - } else { + return speechContexts_.get(index); } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsOrBuilderList() { + public java.util.List + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1604,64 +1432,45 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); + return getSpeechContextsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechContextsBuilder( int index) { - return getSpeechContextsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); + return getSpeechContextsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, - com.google.cloud.videointelligence.v1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, - com.google.cloud.videointelligence.v1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1.SpeechContextOrBuilder>( + speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1671,10 +1480,8 @@ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechCont return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_; + private boolean enableAutomaticPunctuation_ ; /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1685,7 +1492,6 @@ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechCont
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1693,8 +1499,6 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1705,19 +1509,16 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1728,66 +1529,55 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); - private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ - public java.util.List getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(audioTracks_) - : audioTracks_; + public java.util.List + getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1795,35 +1585,30 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks(int index, int value) { + public Builder setAudioTracks( + int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1834,34 +1619,30 @@ public Builder addAudioTracks(int value) { return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks(java.lang.Iterable values) { + public Builder addAllAudioTracks( + java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, audioTracks_); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1871,10 +1652,8 @@ public Builder clearAudioTracks() { return this; } - private boolean enableSpeakerDiarization_; + private boolean enableSpeakerDiarization_ ; /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1886,7 +1665,6 @@ public Builder clearAudioTracks() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -1894,8 +1672,6 @@ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; } /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1907,19 +1683,16 @@ public boolean getEnableSpeakerDiarization() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableSpeakerDiarization to set. * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { - + enableSpeakerDiarization_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1931,20 +1704,17 @@ public Builder setEnableSpeakerDiarization(boolean value) {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { - + enableSpeakerDiarization_ = false; onChanged(); return this; } - private int diarizationSpeakerCount_; + private int diarizationSpeakerCount_ ; /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1952,7 +1722,6 @@ public Builder clearEnableSpeakerDiarization() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -1960,8 +1729,6 @@ public int getDiarizationSpeakerCount() { return diarizationSpeakerCount_; } /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1969,19 +1736,16 @@ public int getDiarizationSpeakerCount() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The diarizationSpeakerCount to set. * @return This builder for chaining. */ public Builder setDiarizationSpeakerCount(int value) { - + diarizationSpeakerCount_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1989,20 +1753,17 @@ public Builder setDiarizationSpeakerCount(int value) {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDiarizationSpeakerCount() { - + diarizationSpeakerCount_ = 0; onChanged(); return this; } - private boolean enableWordConfidence_; + private boolean enableWordConfidence_ ; /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2010,7 +1771,6 @@ public Builder clearDiarizationSpeakerCount() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ @java.lang.Override @@ -2018,8 +1778,6 @@ public boolean getEnableWordConfidence() { return enableWordConfidence_; } /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2027,19 +1785,16 @@ public boolean getEnableWordConfidence() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableWordConfidence to set. * @return This builder for chaining. */ public Builder setEnableWordConfidence(boolean value) { - + enableWordConfidence_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2047,18 +1802,17 @@ public Builder setEnableWordConfidence(boolean value) {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableWordConfidence() { - + enableWordConfidence_ = 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); } @@ -2068,32 +1822,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2105,8 +1857,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java similarity index 79% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java index ca13e773e..0789067da 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechTranscriptionConfigOrBuilder - extends +public interface SpeechTranscriptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -35,13 +17,10 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -51,14 +30,12 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -68,14 +45,11 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ int getMaxAlternatives(); /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -84,77 +58,55 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ boolean getFilterProfanity(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getSpeechContextsList(); + java.util.List + getSpeechContextsList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getSpeechContextsCount(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -165,55 +117,43 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ int getAudioTracksCount(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ int getAudioTracks(int index); /** - * - * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -225,14 +165,11 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); /** - * - * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -240,14 +177,11 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ int getDiarizationSpeakerCount(); /** - * - * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -255,7 +189,6 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ boolean getEnableWordConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java index 70d2da823..20d48d1f5 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechTranscriptionOrBuilder - extends +public interface SpeechTranscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -33,15 +15,11 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List + java.util.List getAlternativesList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,14 +27,10 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -64,14 +38,10 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ int getAlternativesCount(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -79,16 +49,11 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + java.util.List getAlternativesOrBuilderList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -96,16 +61,12 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; */ - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index); /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -113,13 +74,10 @@ public interface SpeechTranscriptionOrBuilder
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -127,8 +85,8 @@ public interface SpeechTranscriptionOrBuilder
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java index f8903ea43..05c20be3a 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TextAnnotation}
  */
-public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextAnnotation)
     TextAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -47,15 +29,16 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,40 +58,34 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              text_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                segments_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              segments_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.TextSegment.parser(),
-                      extensionRegistry));
-              break;
+            text_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              segments_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            segments_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.TextSegment.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,7 +93,8 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -125,33 +103,27 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TextAnnotation.class,
-            com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1.TextAnnotation.class, com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
-   *
-   *
    * 
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -160,29 +132,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -193,8 +165,6 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -206,8 +176,6 @@ public java.util.List getSegm return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -215,13 +183,11 @@ public java.util.List getSegm * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -233,8 +199,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -246,8 +210,6 @@ public com.google.cloud.videointelligence.v1.TextSegment getSegments(int index) return segments_.get(index); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -263,14 +225,11 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** - * - * *
    * Feature version.
    * 
* * string version = 3; - * * @return The version. */ @java.lang.Override @@ -279,29 +238,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** - * - * *
    * Feature version.
    * 
* * string version = 3; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -310,7 +269,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +280,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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -345,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, segments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); @@ -358,17 +318,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.videointelligence.v1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextAnnotation other = - (com.google.cloud.videointelligence.v1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1.TextAnnotation other = (com.google.cloud.videointelligence.v1.TextAnnotation) obj; - if (!getText().equals(other.getText())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getText() + .equals(other.getText())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -394,103 +356,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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; } /** - * - * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -499,23 +454,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TextAnnotation}
    */
-  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.videointelligence.v1.TextAnnotation)
       com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TextAnnotation.class,
-              com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1.TextAnnotation.class, com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TextAnnotation.newBuilder()
@@ -523,17 +476,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) {
         getSegmentsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -551,9 +504,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -572,8 +525,7 @@ public com.google.cloud.videointelligence.v1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1.TextAnnotation result =
-          new com.google.cloud.videointelligence.v1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1.TextAnnotation result = new com.google.cloud.videointelligence.v1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -594,39 +546,38 @@ public com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TextAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TextAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -634,8 +585,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()) return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -658,10 +608,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextAnnotation ot
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSegmentsFieldBuilder()
-                    : null;
+            segmentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSegmentsFieldBuilder() : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -690,8 +639,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -700,25 +648,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
-     *
-     *
      * 
      * The detected text.
      * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -727,21 +672,20 @@ public java.lang.String getText() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -749,86 +693,72 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList(segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, - com.google.cloud.videointelligence.v1.TextSegment.Builder, - com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -843,8 +773,6 @@ public java.util.List getSegm } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -859,8 +787,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -875,15 +801,14 @@ public com.google.cloud.videointelligence.v1.TextSegment getSegments(int index) } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public Builder setSegments(int index, com.google.cloud.videointelligence.v1.TextSegment value) { + public Builder setSegments( + int index, com.google.cloud.videointelligence.v1.TextSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -897,8 +822,6 @@ public Builder setSegments(int index, com.google.cloud.videointelligence.v1.Text return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -917,8 +840,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -939,15 +860,14 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.TextSegment val return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public Builder addSegments(int index, com.google.cloud.videointelligence.v1.TextSegment value) { + public Builder addSegments( + int index, com.google.cloud.videointelligence.v1.TextSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -961,8 +881,6 @@ public Builder addSegments(int index, com.google.cloud.videointelligence.v1.Text return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -981,8 +899,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1001,8 +917,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1013,7 +927,8 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1021,8 +936,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1040,8 +953,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1059,20 +970,17 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuilder(int index) { + public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuilder( + int index) { return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1082,22 +990,19 @@ public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuil public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1105,8 +1010,6 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1114,49 +1017,42 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder(int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder( + int index) { + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, - com.google.cloud.videointelligence.v1.TextSegment.Builder, - com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, - com.google.cloud.videointelligence.v1.TextSegment.Builder, - com.google.cloud.videointelligence.v1.TextSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; @@ -1164,20 +1060,18 @@ public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuil private java.lang.Object version_ = ""; /** - * - * *
      * Feature version.
      * 
* * string version = 3; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1186,21 +1080,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 3; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1208,68 +1101,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Feature version.
      * 
* * string version = 3; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 3; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Feature version.
      * 
* * string version = 3; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1279,12 +1165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextAnnotation) private static final com.google.cloud.videointelligence.v1.TextAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextAnnotation(); } @@ -1293,16 +1179,16 @@ public static com.google.cloud.videointelligence.v1.TextAnnotation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1203,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java index 64859fa22..f199c2466 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java @@ -1,66 +1,42 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextAnnotationOrBuilder - extends +public interface TextAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -69,8 +45,6 @@ public interface TextAnnotationOrBuilder */ com.google.cloud.videointelligence.v1.TextSegment getSegments(int index); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -79,49 +53,41 @@ public interface TextAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder( + int index); /** - * - * *
    * Feature version.
    * 
* * string version = 3; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Feature version.
    * 
* * string version = 3; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java index acdebff53..f0433f5dc 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextDetectionConfig} */ -public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextDetectionConfig) TextDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; model_ = ""; @@ -44,15 +26,16 @@ private TextDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - languageHints_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + languageHints_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -112,27 +94,22 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -141,15 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_; } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -158,15 +133,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -175,7 +147,6 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -183,8 +154,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -193,19 +162,17 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } public static final int MODEL_FIELD_NUMBER = 2; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -213,7 +180,6 @@ public com.google.protobuf.ByteString getLanguageHintsBytes(int index) {
    * 
* * string model = 2; - * * @return The model. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -238,15 +203,16 @@ public java.lang.String getModel() {
    * 
* * string model = 2; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -255,7 +221,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +232,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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -302,16 +268,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.videointelligence.v1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextDetectionConfig other = - (com.google.cloud.videointelligence.v1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1.TextDetectionConfig) obj; - if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; - if (!getModel().equals(other.getModel())) return false; + if (!getLanguageHintsList() + .equals(other.getLanguageHintsList())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,127 +302,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.TextDetectionConfig 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; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextDetectionConfig} */ - 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.videointelligence.v1.TextDetectionConfig) com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder() @@ -463,15 +420,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(); @@ -483,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override @@ -504,8 +462,7 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.TextDetectionConfig result = - new com.google.cloud.videointelligence.v1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -521,39 +478,38 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.TextDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1.TextDetectionConfig)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance()) return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -596,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.TextDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.TextDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,21 +560,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -629,15 +578,13 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -646,15 +593,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
      * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -663,7 +607,6 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -671,8 +614,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -681,16 +622,14 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -699,23 +638,21 @@ public com.google.protobuf.ByteString getLanguageHintsBytes(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints(int index, java.lang.String value) { + public Builder setLanguageHints( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -724,22 +661,20 @@ public Builder setLanguageHints(int index, java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints(java.lang.String value) { + public Builder addLanguageHints( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -748,19 +683,18 @@ public Builder addLanguageHints(java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints(java.lang.Iterable values) { + public Builder addAllLanguageHints( + java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageHints_); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -769,7 +703,6 @@ public Builder addAllLanguageHints(java.lang.Iterable values)
      * 
* * repeated string language_hints = 1; - * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -779,8 +712,6 @@ public Builder clearLanguageHints() { return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -789,15 +720,15 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; - * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); @@ -806,8 +737,6 @@ public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -815,13 +744,13 @@ public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) {
      * 
* * string model = 2; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -830,8 +759,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -839,14 +766,15 @@ public java.lang.String getModel() {
      * 
* * string model = 2; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -854,8 +782,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -863,22 +789,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 2; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -886,18 +810,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 2; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -905,23 +826,23 @@ public Builder clearModel() {
      * 
* * string model = 2; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -931,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextDetectionConfig) private static final com.google.cloud.videointelligence.v1.TextDetectionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextDetectionConfig(); } @@ -945,16 +866,16 @@ public static com.google.cloud.videointelligence.v1.TextDetectionConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -969,4 +890,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java index 918599e9b..b759e7b84 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextDetectionConfigOrBuilder - extends +public interface TextDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -34,13 +16,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - java.util.List getLanguageHintsList(); + java.util.List + getLanguageHintsList(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -49,13 +29,10 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ int getLanguageHintsCount(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -64,14 +41,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -80,15 +54,13 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString getLanguageHintsBytes(int index); + com.google.protobuf.ByteString + getLanguageHintsBytes(int index); /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -96,13 +68,10 @@ public interface TextDetectionConfigOrBuilder
    * 
* * string model = 2; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -110,8 +79,8 @@ public interface TextDetectionConfigOrBuilder
    * 
* * string model = 2; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java index 657b04337..2354dee05 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TextFrame}
  */
-public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextFrame)
     TextFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TextFrame() {}
+  private TextFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,46 +54,39 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder subBuilder =
-                  null;
-              if (rotatedBoundingBox_ != null) {
-                subBuilder = rotatedBoundingBox_.toBuilder();
-              }
-              rotatedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rotatedBoundingBox_);
-                rotatedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder subBuilder = null;
+            if (rotatedBoundingBox_ != null) {
+              subBuilder = rotatedBoundingBox_.toBuilder();
+            }
+            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rotatedBoundingBox_);
+              rotatedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,40 +94,34 @@ private TextFrame(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TextFrame.class,
-            com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1.TextFrame.class, com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
-   *
-   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -158,50 +129,37 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox() { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -209,14 +167,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -224,8 +179,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Timestamp of this frame.
    * 
@@ -238,7 +191,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -267,10 +220,12 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +235,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.videointelligence.v1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextFrame other = - (com.google.cloud.videointelligence.v1.TextFrame) obj; + com.google.cloud.videointelligence.v1.TextFrame other = (com.google.cloud.videointelligence.v1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox() + .equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,104 +276,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.TextFrame parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.TextFrame parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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; } /** - * - * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -426,23 +375,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TextFrame}
    */
-  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.videointelligence.v1.TextFrame)
       com.google.cloud.videointelligence.v1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TextFrame.class,
-              com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1.TextFrame.class, com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TextFrame.newBuilder()
@@ -450,15 +397,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();
@@ -478,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +447,7 @@ public com.google.cloud.videointelligence.v1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1.TextFrame result =
-          new com.google.cloud.videointelligence.v1.TextFrame(this);
+      com.google.cloud.videointelligence.v1.TextFrame result = new com.google.cloud.videointelligence.v1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -519,39 +466,38 @@ public com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TextFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TextFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()) return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -598,58 +543,41 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>
-        rotatedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -663,14 +591,11 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder setRotatedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder builderForValue) { @@ -684,24 +609,17 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder mergeRotatedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder( - rotatedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -713,14 +631,11 @@ public Builder mergeRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -734,63 +649,48 @@ public Builder clearRotatedBoundingBox() { return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder - getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), getParentForChildren(), isClean()); + rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), + getParentForChildren(), + isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -798,47 +698,34 @@ public Builder clearRotatedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -859,15 +746,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -878,8 +764,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -890,7 +774,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -902,8 +786,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -922,8 +804,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -931,13 +811,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -948,14 +826,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -963,24 +838,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -990,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextFrame) private static final com.google.cloud.videointelligence.v1.TextFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextFrame(); } @@ -1004,16 +876,16 @@ public static com.google.cloud.videointelligence.v1.TextFrame getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,4 +900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java index 009f891e4..f26dca365 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextFrameOrBuilder - extends +public interface TextFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java index b1bdb7b90..1697c4839 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextSegment} */ -public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextSegment) TextSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,47 +54,40 @@ private TextSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.TextFrame.parser(), extensionRegistry)); - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1.TextFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +95,8 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -128,33 +105,27 @@ private TextSegment( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextSegment.class, - com.google.cloud.videointelligence.v1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1.TextSegment.class, com.google.cloud.videointelligence.v1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -162,25 +133,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -195,15 +159,12 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -214,8 +175,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -227,8 +186,6 @@ public java.util.List getFrames return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -236,13 +193,11 @@ public java.util.List getFrames * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -254,8 +209,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -267,8 +220,6 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -276,12 +227,12 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +244,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -313,13 +265,16 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -329,21 +284,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.videointelligence.v1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextSegment other = - (com.google.cloud.videointelligence.v1.TextSegment) obj; + com.google.cloud.videointelligence.v1.TextSegment other = (com.google.cloud.videointelligence.v1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,7 +317,8 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -371,126 +329,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TextSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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; } /** - * - * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextSegment} */ - 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.videointelligence.v1.TextSegment) com.google.cloud.videointelligence.v1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextSegment.class, - com.google.cloud.videointelligence.v1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1.TextSegment.class, com.google.cloud.videointelligence.v1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.TextSegment.newBuilder() @@ -498,17 +447,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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override @@ -551,8 +500,7 @@ public com.google.cloud.videointelligence.v1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1.TextSegment result = - new com.google.cloud.videointelligence.v1.TextSegment(this); + com.google.cloud.videointelligence.v1.TextSegment result = new com.google.cloud.videointelligence.v1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -577,39 +525,38 @@ public com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.TextSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1.TextSegment)other); } else { super.mergeFrom(other); return this; @@ -617,8 +564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -643,10 +589,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextSegment other framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -671,8 +616,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -681,52 +625,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -747,8 +677,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -767,8 +695,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -779,9 +705,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -793,8 +717,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -813,8 +735,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -822,13 +742,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -839,14 +757,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -854,33 +769,27 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -888,62 +797,50 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, - com.google.cloud.videointelligence.v1.TextFrame.Builder, - com.google.cloud.videointelligence.v1.TextFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -958,8 +855,6 @@ public java.util.List getFrames } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -974,8 +869,6 @@ public int getFramesCount() { } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -990,15 +883,14 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public Builder setFrames(int index, com.google.cloud.videointelligence.v1.TextFrame value) { + public Builder setFrames( + int index, com.google.cloud.videointelligence.v1.TextFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1012,8 +904,6 @@ public Builder setFrames(int index, com.google.cloud.videointelligence.v1.TextFr return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1032,8 +922,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1054,15 +942,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.TextFrame value) return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public Builder addFrames(int index, com.google.cloud.videointelligence.v1.TextFrame value) { + public Builder addFrames( + int index, com.google.cloud.videointelligence.v1.TextFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1076,8 +963,6 @@ public Builder addFrames(int index, com.google.cloud.videointelligence.v1.TextFr return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1096,8 +981,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1116,8 +999,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1128,7 +1009,8 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1136,8 +1018,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1155,8 +1035,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1174,44 +1052,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrame.Builder getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1.TextFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1219,8 +1092,6 @@ public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuild } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1228,55 +1099,49 @@ public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuild * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder(index, com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, - com.google.cloud.videointelligence.v1.TextFrame.Builder, - com.google.cloud.videointelligence.v1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, - com.google.cloud.videointelligence.v1.TextFrame.Builder, - com.google.cloud.videointelligence.v1.TextFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1286,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextSegment) private static final com.google.cloud.videointelligence.v1.TextSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextSegment(); } @@ -1300,16 +1165,16 @@ public static com.google.cloud.videointelligence.v1.TextSegment getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1324,4 +1189,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java index 28970022a..e4c54d8d1 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextSegmentOrBuilder - extends +public interface TextSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -59,32 +35,26 @@ public interface TextSegmentOrBuilder com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -93,8 +63,6 @@ public interface TextSegmentOrBuilder */ com.google.cloud.videointelligence.v1.TextFrame getFrames(int index); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -103,24 +71,21 @@ public interface TextSegmentOrBuilder */ int getFramesCount(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java index 1b51aef13..39cfe6fa1 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * For tracking related features.
  * An object at time_offset with attributes, and located with
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TimestampedObject}
  */
-public final class TimestampedObject extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimestampedObject extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TimestampedObject)
     TimestampedObjectOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimestampedObject.newBuilder() to construct.
   private TimestampedObject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimestampedObject() {
     attributes_ = java.util.Collections.emptyList();
     landmarks_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private TimestampedObject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimestampedObject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimestampedObject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,73 +57,57 @@ private TimestampedObject(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
-              if (normalizedBoundingBox_ != null) {
-                subBuilder = normalizedBoundingBox_.toBuilder();
-              }
-              normalizedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedBoundingBox_);
-                normalizedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
+            if (normalizedBoundingBox_ != null) {
+              subBuilder = normalizedBoundingBox_.toBuilder();
+            }
+            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(normalizedBoundingBox_);
+              normalizedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                attributes_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.DetectedAttribute>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              attributes_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.DetectedAttribute.parser(),
-                      extensionRegistry));
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              attributes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                landmarks_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1.DetectedLandmark>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              landmarks_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1.DetectedLandmark.parser(),
-                      extensionRegistry));
-              break;
+            attributes_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              landmarks_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            landmarks_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1.DetectedLandmark.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -148,7 +115,8 @@ private TimestampedObject(
     } 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)) {
         attributes_ = java.util.Collections.unmodifiableList(attributes_);
@@ -160,34 +128,27 @@ private TimestampedObject(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TimestampedObject.class,
-            com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
+            com.google.cloud.videointelligence.v1.TimestampedObject.class, com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
-   *
-   *
    * 
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -195,51 +156,38 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -247,15 +195,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -263,8 +208,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -280,77 +223,56 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int ATTRIBUTES_FIELD_NUMBER = 3;
   private java.util.List attributes_;
   /**
-   *
-   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { return attributes_; } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( @@ -361,76 +283,56 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri public static final int LANDMARKS_FIELD_NUMBER = 4; private java.util.List landmarks_; /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getLandmarksList() { return landmarks_; } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getLandmarksOrBuilderList() { return landmarks_; } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getLandmarksCount() { return landmarks_.size(); } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index) { return landmarks_.get(index); } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( @@ -439,7 +341,6 @@ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandma } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -451,7 +352,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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -474,17 +376,20 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, attributes_.get(i)); } for (int i = 0; i < landmarks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, landmarks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, landmarks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -494,24 +399,27 @@ 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.videointelligence.v1.TimestampedObject)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TimestampedObject other = - (com.google.cloud.videointelligence.v1.TimestampedObject) obj; + com.google.cloud.videointelligence.v1.TimestampedObject other = (com.google.cloud.videointelligence.v1.TimestampedObject) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox() + .equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } - if (!getAttributesList().equals(other.getAttributesList())) return false; - if (!getLandmarksList().equals(other.getLandmarksList())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; + if (!getLandmarksList() + .equals(other.getLandmarksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -545,104 +453,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TimestampedObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.TimestampedObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1.TimestampedObject 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; } /** - * - * *
    * For tracking related features.
    * An object at time_offset with attributes, and located with
@@ -651,23 +551,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TimestampedObject}
    */
-  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.videointelligence.v1.TimestampedObject)
       com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TimestampedObject.class,
-              com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
+              com.google.cloud.videointelligence.v1.TimestampedObject.class, com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TimestampedObject.newBuilder()
@@ -675,18 +573,18 @@ 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) {
         getAttributesFieldBuilder();
         getLandmarksFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -718,9 +616,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
@@ -739,8 +637,7 @@ public com.google.cloud.videointelligence.v1.TimestampedObject build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TimestampedObject buildPartial() {
-      com.google.cloud.videointelligence.v1.TimestampedObject result =
-          new com.google.cloud.videointelligence.v1.TimestampedObject(this);
+      com.google.cloud.videointelligence.v1.TimestampedObject result = new com.google.cloud.videointelligence.v1.TimestampedObject(this);
       int from_bitField0_ = bitField0_;
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
@@ -778,39 +675,38 @@ public com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TimestampedObject) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TimestampedObject)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -818,8 +714,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject other) {
-      if (other == com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()) return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -844,10 +739,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject
             attributesBuilder_ = null;
             attributes_ = other.attributes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            attributesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAttributesFieldBuilder()
-                    : null;
+            attributesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAttributesFieldBuilder() : null;
           } else {
             attributesBuilder_.addAllMessages(other.attributes_);
           }
@@ -871,10 +765,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject
             landmarksBuilder_ = null;
             landmarks_ = other.landmarks_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            landmarksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLandmarksFieldBuilder()
-                    : null;
+            landmarksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLandmarksFieldBuilder() : null;
           } else {
             landmarksBuilder_.addAllMessages(other.landmarks_);
           }
@@ -899,8 +792,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1.TimestampedObject) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1.TimestampedObject) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -909,63 +801,45 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder,
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>
-        normalizedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -979,14 +853,11 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder setNormalizedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -1000,24 +871,17 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder mergeNormalizedBoundingBox( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder( - normalizedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -1029,14 +893,11 @@ public Builder mergeNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -1050,63 +911,48 @@ public Builder clearNormalizedBoundingBox() { return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), getParentForChildren(), isClean()); + normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), + getParentForChildren(), + isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -1114,49 +960,36 @@ public Builder clearNormalizedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1178,8 +1011,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1187,7 +1018,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1198,8 +1030,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1211,7 +1041,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1223,8 +1053,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1244,8 +1072,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1254,13 +1080,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1272,14 +1096,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1288,53 +1109,39 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
     private java.util.List attributes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureAttributesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        attributes_ =
-            new java.util.ArrayList(
-                attributes_);
+        attributes_ = new java.util.ArrayList(attributes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.DetectedAttribute,
-            com.google.cloud.videointelligence.v1.DetectedAttribute.Builder,
-            com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>
-        attributesBuilder_;
+        com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> attributesBuilder_;
 
     /**
-     *
-     *
      * 
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1342,15 +1149,11 @@ private void ensureAttributesIsMutable() { } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1360,15 +1163,11 @@ public int getAttributesCount() { } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1378,15 +1177,11 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1403,19 +1198,14 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( - int index, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1426,15 +1216,11 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttribute value) { if (attributesBuilder_ == null) { @@ -1450,15 +1236,11 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttri return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1475,15 +1257,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { @@ -1497,19 +1275,14 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( - int index, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1520,22 +1293,18 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAttributes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1543,15 +1312,11 @@ public Builder addAllAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1564,15 +1329,11 @@ public Builder clearAttributes() { return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1585,53 +1346,39 @@ public Builder removeAttributes(int index) { return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); - } else { + return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> - getAttributesOrBuilderList() { + public java.util.List + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1639,101 +1386,74 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder( int index) { - return getAttributesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( - attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( + attributes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); attributes_ = null; } return attributesBuilder_; } private java.util.List landmarks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLandmarksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - landmarks_ = - new java.util.ArrayList( - landmarks_); + landmarks_ = new java.util.ArrayList(landmarks_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, - com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> - landmarksBuilder_; + com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> landmarksBuilder_; /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getLandmarksList() { + public java.util.List getLandmarksList() { if (landmarksBuilder_ == null) { return java.util.Collections.unmodifiableList(landmarks_); } else { @@ -1741,15 +1461,11 @@ private void ensureLandmarksIsMutable() { } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getLandmarksCount() { if (landmarksBuilder_ == null) { @@ -1759,15 +1475,11 @@ public int getLandmarksCount() { } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1777,15 +1489,11 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int i } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark value) { @@ -1802,15 +1510,11 @@ public Builder setLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1824,15 +1528,11 @@ public Builder setLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks(com.google.cloud.videointelligence.v1.DetectedLandmark value) { if (landmarksBuilder_ == null) { @@ -1848,15 +1548,11 @@ public Builder addLandmarks(com.google.cloud.videointelligence.v1.DetectedLandma return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark value) { @@ -1873,15 +1569,11 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1895,15 +1587,11 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1917,22 +1605,18 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllLandmarks( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, landmarks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, landmarks_); onChanged(); } else { landmarksBuilder_.addAllMessages(values); @@ -1940,15 +1624,11 @@ public Builder addAllLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLandmarks() { if (landmarksBuilder_ == null) { @@ -1961,15 +1641,11 @@ public Builder clearLandmarks() { return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1982,52 +1658,39 @@ public Builder removeLandmarks(int index) { return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder getLandmarksBuilder( int index) { return getLandmarksFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( int index) { if (landmarksBuilder_ == null) { - return landmarks_.get(index); - } else { + return landmarks_.get(index); } else { return landmarksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getLandmarksOrBuilderList() { + public java.util.List + getLandmarksOrBuilderList() { if (landmarksBuilder_ != null) { return landmarksBuilder_.getMessageOrBuilderList(); } else { @@ -2035,72 +1698,56 @@ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandma } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder addLandmarksBuilder() { - return getLandmarksFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); + return getLandmarksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder addLandmarksBuilder( int index) { - return getLandmarksFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); + return getLandmarksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getLandmarksBuilderList() { + public java.util.List + getLandmarksBuilderList() { return getLandmarksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, - com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> + com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> getLandmarksFieldBuilder() { if (landmarksBuilder_ == null) { - landmarksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, - com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder>( - landmarks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + landmarksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder>( + landmarks_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); landmarks_ = null; } return landmarksBuilder_; } - @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); } @@ -2110,12 +1757,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TimestampedObject) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TimestampedObject) private static final com.google.cloud.videointelligence.v1.TimestampedObject DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TimestampedObject(); } @@ -2124,16 +1771,16 @@ public static com.google.cloud.videointelligence.v1.TimestampedObject getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampedObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimestampedObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampedObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimestampedObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2148,4 +1795,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TimestampedObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java index 843ba5154..45b519639 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java @@ -1,96 +1,60 @@ -/* - * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TimestampedObjectOrBuilder - extends +public interface TimestampedObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TimestampedObject) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox(); /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -101,127 +65,90 @@ public interface TimestampedObjectOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getAttributesList(); + java.util.List + getAttributesList(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAttributesCount(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getLandmarksList(); + java.util.List + getLandmarksList(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getLandmarksCount(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getLandmarksOrBuilderList(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder(int index); + com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java index 85feaa59a..6642b7089 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * A track of an object instance.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Track} */ -public final class Track extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Track extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.Track) TrackOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Track.newBuilder() to construct. private Track(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Track() { timestampedObjects_ = java.util.Collections.emptyList(); attributes_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private Track() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Track(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Track( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,63 +55,49 @@ private Track( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.TimestampedObject>(); - mutable_bitField0_ |= 0x00000001; - } - timestampedObjects_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.TimestampedObject.parser(), - extensionRegistry)); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - attributes_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.DetectedAttribute>(); - mutable_bitField0_ |= 0x00000002; - } - attributes_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timestampedObjects_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 37: - { - confidence_ = input.readFloat(); - break; + timestampedObjects_.add( + input.readMessage(com.google.cloud.videointelligence.v1.TimestampedObject.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + attributes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + attributes_.add( + input.readMessage(com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), extensionRegistry)); + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,7 +105,8 @@ private Track( } 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)) { timestampedObjects_ = java.util.Collections.unmodifiableList(timestampedObjects_); @@ -148,33 +118,27 @@ private Track( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Track.class, - com.google.cloud.videointelligence.v1.Track.Builder.class); + com.google.cloud.videointelligence.v1.Track.class, com.google.cloud.videointelligence.v1.Track.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -182,25 +146,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment of a track.
    * 
@@ -213,156 +170,118 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } public static final int TIMESTAMPED_OBJECTS_FIELD_NUMBER = 2; - private java.util.List - timestampedObjects_; + private java.util.List timestampedObjects_; /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public java.util.List - getTimestampedObjectsList() { + public java.util.List getTimestampedObjectsList() { return timestampedObjects_; } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public java.util.List + public java.util.List getTimestampedObjectsOrBuilderList() { return timestampedObjects_; } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override public int getTimestampedObjectsCount() { return timestampedObjects_.size(); } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index) { return timestampedObjects_.get(index); } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder - getTimestampedObjectsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( + int index) { return timestampedObjects_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 3; private java.util.List attributes_; /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { return attributes_; } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( @@ -373,14 +292,11 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ @java.lang.Override @@ -389,7 +305,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -401,7 +316,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -424,17 +340,20 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } for (int i = 0; i < timestampedObjects_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestampedObjects_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, timestampedObjects_.get(i)); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, attributes_.get(i)); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -444,22 +363,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.videointelligence.v1.Track)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.Track other = - (com.google.cloud.videointelligence.v1.Track) obj; + com.google.cloud.videointelligence.v1.Track other = (com.google.cloud.videointelligence.v1.Track) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } - if (!getTimestampedObjectsList().equals(other.getTimestampedObjectsList())) return false; - if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getTimestampedObjectsList() + .equals(other.getTimestampedObjectsList())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -484,133 +406,125 @@ public int hashCode() { hash = (53 * hash) + getAttributesList().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1.Track parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.Track parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.Track parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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; } /** - * - * *
    * A track of an object instance.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Track} */ - 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.videointelligence.v1.Track) com.google.cloud.videointelligence.v1.TrackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Track.class, - com.google.cloud.videointelligence.v1.Track.Builder.class); + com.google.cloud.videointelligence.v1.Track.class, com.google.cloud.videointelligence.v1.Track.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.Track.newBuilder() @@ -618,18 +532,18 @@ 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) { getTimestampedObjectsFieldBuilder(); getAttributesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -657,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_Track_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override @@ -678,8 +592,7 @@ public com.google.cloud.videointelligence.v1.Track build() { @java.lang.Override public com.google.cloud.videointelligence.v1.Track buildPartial() { - com.google.cloud.videointelligence.v1.Track result = - new com.google.cloud.videointelligence.v1.Track(this); + com.google.cloud.videointelligence.v1.Track result = new com.google.cloud.videointelligence.v1.Track(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -713,39 +626,38 @@ public com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track) { - return mergeFrom((com.google.cloud.videointelligence.v1.Track) other); + return mergeFrom((com.google.cloud.videointelligence.v1.Track)other); } else { super.mergeFrom(other); return this; @@ -775,10 +687,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.Track other) { timestampedObjectsBuilder_ = null; timestampedObjects_ = other.timestampedObjects_; bitField0_ = (bitField0_ & ~0x00000001); - timestampedObjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTimestampedObjectsFieldBuilder() - : null; + timestampedObjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTimestampedObjectsFieldBuilder() : null; } else { timestampedObjectsBuilder_.addAllMessages(other.timestampedObjects_); } @@ -802,10 +713,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.Track other) { attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); - attributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttributesFieldBuilder() - : null; + attributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttributesFieldBuilder() : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } @@ -842,52 +752,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment of a track.
      * 
@@ -908,8 +804,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -928,8 +822,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -940,9 +832,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -954,8 +844,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -974,8 +862,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -983,13 +869,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment of a track.
      * 
@@ -1000,14 +884,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment of a track.
      * 
@@ -1015,52 +896,39 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List - timestampedObjects_ = java.util.Collections.emptyList(); - + private java.util.List timestampedObjects_ = + java.util.Collections.emptyList(); private void ensureTimestampedObjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = - new java.util.ArrayList( - timestampedObjects_); + timestampedObjects_ = new java.util.ArrayList(timestampedObjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, - com.google.cloud.videointelligence.v1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> - timestampedObjectsBuilder_; + com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> timestampedObjectsBuilder_; /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public java.util.List - getTimestampedObjectsList() { + public java.util.List getTimestampedObjectsList() { if (timestampedObjectsBuilder_ == null) { return java.util.Collections.unmodifiableList(timestampedObjects_); } else { @@ -1068,14 +936,11 @@ private void ensureTimestampedObjectsIsMutable() { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public int getTimestampedObjectsCount() { if (timestampedObjectsBuilder_ == null) { @@ -1085,17 +950,13 @@ public int getTimestampedObjectsCount() { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects( - int index) { + public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { return timestampedObjects_.get(index); } else { @@ -1103,14 +964,11 @@ public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObj } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder setTimestampedObjects( int index, com.google.cloud.videointelligence.v1.TimestampedObject value) { @@ -1127,18 +985,14 @@ public Builder setTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder setTimestampedObjects( - int index, - com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.set(index, builderForValue.build()); @@ -1149,17 +1003,13 @@ public Builder setTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public Builder addTimestampedObjects( - com.google.cloud.videointelligence.v1.TimestampedObject value) { + public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1.TimestampedObject value) { if (timestampedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1173,14 +1023,11 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( int index, com.google.cloud.videointelligence.v1.TimestampedObject value) { @@ -1197,14 +1044,11 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { @@ -1218,18 +1062,14 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( - int index, - com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.add(index, builderForValue.build()); @@ -1240,21 +1080,18 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder addAllTimestampedObjects( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestampedObjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timestampedObjects_); onChanged(); } else { timestampedObjectsBuilder_.addAllMessages(values); @@ -1262,14 +1099,11 @@ public Builder addAllTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder clearTimestampedObjects() { if (timestampedObjectsBuilder_ == null) { @@ -1282,14 +1116,11 @@ public Builder clearTimestampedObjects() { return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ public Builder removeTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { @@ -1302,50 +1133,39 @@ public Builder removeTimestampedObjects(int index) { return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder - getTimestampedObjectsBuilder(int index) { + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder getTimestampedObjectsBuilder( + int index) { return getTimestampedObjectsFieldBuilder().getBuilder(index); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder - getTimestampedObjectsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( + int index) { if (timestampedObjectsBuilder_ == null) { - return timestampedObjects_.get(index); - } else { + return timestampedObjects_.get(index); } else { return timestampedObjectsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> - getTimestampedObjectsOrBuilderList() { + public java.util.List + getTimestampedObjectsOrBuilderList() { if (timestampedObjectsBuilder_ != null) { return timestampedObjectsBuilder_.getMessageOrBuilderList(); } else { @@ -1353,62 +1173,45 @@ public Builder removeTimestampedObjects(int index) { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder - addTimestampedObjectsBuilder() { - return getTimestampedObjectsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder addTimestampedObjectsBuilder() { + return getTimestampedObjectsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder - addTimestampedObjectsBuilder(int index) { - return getTimestampedObjectsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder addTimestampedObjectsBuilder( + int index) { + return getTimestampedObjectsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - public java.util.List - getTimestampedObjectsBuilderList() { + public java.util.List + getTimestampedObjectsBuilderList() { return getTimestampedObjectsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, - com.google.cloud.videointelligence.v1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> + com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> getTimestampedObjectsFieldBuilder() { if (timestampedObjectsBuilder_ == null) { - timestampedObjectsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, - com.google.cloud.videointelligence.v1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder>( + timestampedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder>( timestampedObjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1419,36 +1222,25 @@ public Builder removeTimestampedObjects(int index) { } private java.util.List attributes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - attributes_ = - new java.util.ArrayList( - attributes_); + attributes_ = new java.util.ArrayList(attributes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> - attributesBuilder_; + com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> attributesBuilder_; /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1456,15 +1248,11 @@ private void ensureAttributesIsMutable() { } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1474,15 +1262,11 @@ public int getAttributesCount() { } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1492,15 +1276,11 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1517,19 +1297,14 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( - int index, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1540,15 +1315,11 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttribute value) { if (attributesBuilder_ == null) { @@ -1564,15 +1335,11 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttri return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1589,15 +1356,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { @@ -1611,19 +1374,14 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( - int index, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1634,22 +1392,18 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAttributes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1657,15 +1411,11 @@ public Builder addAllAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1678,15 +1428,11 @@ public Builder clearAttributes() { return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1699,53 +1445,39 @@ public Builder removeAttributes(int index) { return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); - } else { + return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> - getAttributesOrBuilderList() { + public java.util.List + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1753,80 +1485,61 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder( int index) { - return getAttributesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, - com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( - attributes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( + attributes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); attributes_ = null; } return attributesBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ @java.lang.Override @@ -1834,43 +1547,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -1880,12 +1587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.Track) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.Track) private static final com.google.cloud.videointelligence.v1.Track DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.Track(); } @@ -1894,16 +1601,16 @@ public static com.google.cloud.videointelligence.v1.Track getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Track parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Track(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Track parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Track(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1918,4 +1625,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.Track getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java index bd0529e8d..937f68ab2 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TrackOrBuilder - extends +public interface TrackOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.Track) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Video segment of a track.
    * 
@@ -59,136 +35,99 @@ public interface TrackOrBuilder com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - java.util.List + java.util.List getTimestampedObjectsList(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ int getTimestampedObjectsCount(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ - java.util.List + java.util.List getTimestampedObjectsOrBuilderList(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; */ com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( int index); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getAttributesList(); + java.util.List + getAttributesList(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAttributesCount(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** - * - * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java index 3a7e0592d..6774bc7a4 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationProgress() { inputUri_ = ""; feature_ = 0; @@ -44,15 +26,16 @@ private VideoAnnotationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,79 +54,69 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + + progressPercent_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - progressPercent_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - 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 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 40: - { - int rawValue = input.readEnum(); - feature_ = rawValue; - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + feature_ = rawValue; + break; + } + case 50: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 50: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = 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) { @@ -151,40 +124,35 @@ private VideoAnnotationProgress( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -193,30 +161,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -227,15 +195,12 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -246,14 +211,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -261,14 +223,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -276,8 +235,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the request was received.
    * 
@@ -292,14 +249,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -307,14 +261,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -322,8 +273,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Time of the most recent update.
    * 
@@ -338,53 +287,41 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FEATURE_FIELD_NUMBER = 5; private int feature_; /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The feature. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1.Feature getFeature() { + @java.lang.Override public com.google.cloud.videointelligence.v1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = - com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); + com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; } public static final int SEGMENT_FIELD_NUMBER = 6; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -392,26 +329,19 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
@@ -425,7 +355,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
   }
 
   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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -469,19 +399,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStartTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getUpdateTime());
     }
     if (feature_ != com.google.cloud.videointelligence.v1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, feature_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, feature_);
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSegment());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getSegment());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -491,28 +426,32 @@ 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.videointelligence.v1.VideoAnnotationProgress)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoAnnotationProgress other =
-        (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) obj;
+    com.google.cloud.videointelligence.v1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) obj;
 
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (feature_ != other.feature_) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment().equals(other.getSegment())) return false;
+      if (!getSegment()
+          .equals(other.getSegment())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -549,127 +488,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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;
   }
   /**
-   *
-   *
    * 
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationProgress} */ - 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.videointelligence.v1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoAnnotationProgress.newBuilder() @@ -677,15 +606,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(); @@ -717,14 +647,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance(); } @@ -739,8 +668,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1.VideoAnnotationProgress result = - new com.google.cloud.videointelligence.v1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -767,39 +695,38 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationProgress) other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationProgress)other); } else { super.mergeFrom(other); return this; @@ -807,9 +734,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationProgress other) { - if (other - == com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -848,9 +773,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -862,21 +785,19 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -885,22 +806,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -908,80 +828,70 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -989,38 +899,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -1028,33 +932,24 @@ public Builder clearProgressPercent() { 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_; /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1065,8 +960,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1087,15 +980,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -1106,8 +998,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1118,7 +1008,7 @@ 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; } @@ -1130,8 +1020,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1150,8 +1038,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1159,13 +1045,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the request was received.
      * 
@@ -1176,12 +1060,11 @@ 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_; } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1189,17 +1072,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1207,47 +1087,34 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1268,15 +1135,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1287,8 +1153,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1299,7 +1163,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1311,8 +1175,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1331,8 +1193,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1340,13 +1200,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1357,14 +1215,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1372,17 +1227,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1390,69 +1242,55 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int feature_ = 0; /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = - com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); + com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @param value The feature to set. * @return This builder for chaining. */ @@ -1460,25 +1298,22 @@ public Builder setFeature(com.google.cloud.videointelligence.v1.Feature value) { if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -1486,49 +1321,36 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1550,8 +1372,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1571,8 +1391,6 @@ public Builder setSegment(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1584,9 +1402,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       if (segmentBuilder_ == null) {
         if (segment_ != null) {
           segment_ =
-              com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial();
         } else {
           segment_ = value;
         }
@@ -1598,8 +1414,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1619,8 +1433,6 @@ public Builder clearSegment() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1629,13 +1441,11 @@ public Builder clearSegment() {
      * .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() {
-
+      
       onChanged();
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1647,14 +1457,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
       if (segmentBuilder_ != null) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
-        return segment_ == null
-            ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()
-            : segment_;
+        return segment_ == null ?
+            com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1663,24 +1470,21 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment,
-            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
-        segmentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.VideoSegment,
-                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                getSegment(), getParentForChildren(), isClean());
+        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                getSegment(),
+                getParentForChildren(),
+                isClean());
         segment_ = null;
       }
       return segmentBuilder_;
     }
-
     @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);
     }
 
@@ -1690,13 +1494,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoAnnotationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationProgress)
-  private static final com.google.cloud.videointelligence.v1.VideoAnnotationProgress
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1.VideoAnnotationProgress DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoAnnotationProgress();
   }
@@ -1705,16 +1508,16 @@ public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationProgress parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationProgress(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationProgress parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationProgress(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1729,4 +1532,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
similarity index 80%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
index 1b2798f00..7f88563cd 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
@@ -1,96 +1,64 @@
-/*
- * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoAnnotationProgressOrBuilder
-    extends
+public interface VideoAnnotationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoAnnotationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time when the request was received.
    * 
@@ -100,32 +68,24 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
@@ -135,61 +95,47 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; - * * @return The feature. */ com.google.cloud.videointelligence.v1.Feature getFeature(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
similarity index 68%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
index a382eb51d..e0092086e 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
- *
- *
  * 
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationResults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -56,15 +38,16 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -84,248 +67,175 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + shotLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), - extensionRegistry)); - break; + shotLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + frameLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000004; - } - shotLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), - extensionRegistry)); - break; + frameLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + faceAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000010; - } - frameLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), - extensionRegistry)); - break; + faceAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.FaceAnnotation.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + shotAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000080; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - faceAnnotations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - faceAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.FaceAnnotation.parser(), - extensionRegistry)); - break; + shotAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - shotAnnotations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; - } - shotAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry)); - break; + explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder subBuilder = - null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); - } - explicitAnnotation_ = - input.readMessage( - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - case 74: - { - 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(); } - case 82: - { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - break; + break; + } + case 82: { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 90: - { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.SpeechTranscription>(); - mutable_bitField0_ |= 0x00000100; - } - speechTranscriptions_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.SpeechTranscription.parser(), - extensionRegistry)); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + speechTranscriptions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000100; } - case 98: - { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { - textAnnotations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; - } - textAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.TextAnnotation.parser(), - extensionRegistry)); - break; + speechTranscriptions_.add( + input.readMessage(com.google.cloud.videointelligence.v1.SpeechTranscription.parser(), extensionRegistry)); + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + textAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000200; } - case 106: - { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation>(); - mutable_bitField0_ |= 0x00000040; - } - faceDetectionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.parser(), - extensionRegistry)); - break; + textAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.TextAnnotation.parser(), extensionRegistry)); + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + faceDetectionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000040; } - case 114: - { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation>(); - mutable_bitField0_ |= 0x00000400; - } - objectAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.parser(), - extensionRegistry)); - break; + faceDetectionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.parser(), extensionRegistry)); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { + objectAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000400; } - case 154: - { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation>(); - mutable_bitField0_ |= 0x00000800; - } - logoRecognitionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.parser(), - extensionRegistry)); - break; + objectAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.parser(), extensionRegistry)); + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { + logoRecognitionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000800; } - case 162: - { - if (!((mutable_bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation>(); - mutable_bitField0_ |= 0x00001000; - } - personDetectionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.parser(), - extensionRegistry)); - break; + logoRecognitionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.parser(), extensionRegistry)); + break; + } + case 162: { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { + personDetectionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00001000; } - case 186: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - segmentPresenceLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), - extensionRegistry)); - break; + personDetectionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.parser(), extensionRegistry)); + break; + } + case 186: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segmentPresenceLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 194: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000008; - } - shotPresenceLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), - extensionRegistry)); - break; + segmentPresenceLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 194: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotPresenceLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + shotPresenceLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -333,7 +243,8 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -357,60 +268,49 @@ private VideoAnnotationResults( textAnnotations_ = java.util.Collections.unmodifiableList(textAnnotations_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = - java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { objectAnnotations_ = java.util.Collections.unmodifiableList(objectAnnotations_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = - java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = - java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -419,30 +319,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -453,14 +353,11 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int SEGMENT_FIELD_NUMBER = 10; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -468,25 +365,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment on which the annotation is run.
    * 
@@ -499,99 +389,73 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - segmentLabelAnnotations_; + private java.util.List segmentLabelAnnotations_; /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index) { return segmentLabelAnnotations_.get(index); } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { return segmentLabelAnnotations_.get(index); } public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 23; - private java.util.List - segmentPresenceLabelAnnotations_; + private java.util.List segmentPresenceLabelAnnotations_; /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -601,18 +465,13 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnno
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public java.util.List - getSegmentPresenceLabelAnnotationsList() { + public java.util.List getSegmentPresenceLabelAnnotationsList() { return segmentPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -622,18 +481,14 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnno
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList() { return segmentPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -643,17 +498,13 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnno
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override public int getSegmentPresenceLabelAnnotationsCount() { return segmentPresenceLabelAnnotations_.size(); } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -663,18 +514,13 @@ public int getSegmentPresenceLabelAnnotationsCount() {
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { return segmentPresenceLabelAnnotations_.get(index); } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -684,104 +530,82 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index) { return segmentPresenceLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List - shotLabelAnnotations_; + private java.util.List shotLabelAnnotations_; /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { return shotLabelAnnotations_.get(index); } public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 24; - private java.util.List - shotPresenceLabelAnnotations_; + private java.util.List shotPresenceLabelAnnotations_; /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -790,18 +614,13 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotat
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public java.util.List - getShotPresenceLabelAnnotationsList() { + public java.util.List getShotPresenceLabelAnnotationsList() { return shotPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -810,18 +629,14 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotat
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public java.util.List + public java.util.List getShotPresenceLabelAnnotationsOrBuilderList() { return shotPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -830,17 +645,13 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotat
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override public int getShotPresenceLabelAnnotationsCount() { return shotPresenceLabelAnnotations_.size(); } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -849,18 +660,13 @@ public int getShotPresenceLabelAnnotationsCount() {
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { return shotPresenceLabelAnnotations_.get(index); } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -869,273 +675,202 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index) { return shotPresenceLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - frameLabelAnnotations_; + private java.util.List frameLabelAnnotations_; /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_ANNOTATIONS_FIELD_NUMBER = 5; private java.util.List faceAnnotations_; /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List - getFaceAnnotationsList() { + @java.lang.Deprecated public java.util.List getFaceAnnotationsList() { return faceAnnotations_; } /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getFaceAnnotationsOrBuilderList() { return faceAnnotations_; } /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getFaceAnnotationsCount() { + @java.lang.Deprecated public int getFaceAnnotationsCount() { return faceAnnotations_.size(); } /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { return faceAnnotations_.get(index); } /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index) { return faceAnnotations_.get(index); } public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER = 13; - private java.util.List - faceDetectionAnnotations_; + private java.util.List faceDetectionAnnotations_; /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public java.util.List - getFaceDetectionAnnotationsList() { + public java.util.List getFaceDetectionAnnotationsList() { return faceDetectionAnnotations_; } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> + public java.util.List getFaceDetectionAnnotationsOrBuilderList() { return faceDetectionAnnotations_; } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override public int getFaceDetectionAnnotationsCount() { return faceDetectionAnnotations_.size(); } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { return faceDetectionAnnotations_.get(index); } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index) { return faceDetectionAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; private java.util.List shotAnnotations_; /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -1143,13 +878,10 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDete * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -1157,13 +889,11 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDete * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -1175,8 +905,6 @@ public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -1188,8 +916,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -1205,15 +931,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; private com.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -1221,128 +943,92 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List - speechTranscriptions_; + private java.util.List speechTranscriptions_; /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> + public java.util.List getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index) { return speechTranscriptions_.get(index); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { return speechTranscriptions_.get(index); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; private java.util.List textAnnotations_; /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1352,13 +1038,10 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTransc
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
   @java.lang.Override
-  public java.util.List
-      getTextAnnotationsList() {
+  public java.util.List getTextAnnotationsList() {
     return textAnnotations_;
   }
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1368,13 +1051,11 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTransc
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTextAnnotationsOrBuilderList() {
     return textAnnotations_;
   }
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1388,8 +1069,6 @@ public int getTextAnnotationsCount() {
     return textAnnotations_.size();
   }
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1403,8 +1082,6 @@ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(i
     return textAnnotations_.get(index);
   }
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1420,269 +1097,194 @@ public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnno
   }
 
   public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14;
-  private java.util.List
-      objectAnnotations_;
+  private java.util.List objectAnnotations_;
   /**
-   *
-   *
    * 
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> + public java.util.List getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index) { return objectAnnotations_.get(index); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { return objectAnnotations_.get(index); } public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 19; - private java.util.List - logoRecognitionAnnotations_; + private java.util.List logoRecognitionAnnotations_; /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public java.util.List - getLogoRecognitionAnnotationsList() { + public java.util.List getLogoRecognitionAnnotationsList() { return logoRecognitionAnnotations_; } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> + public java.util.List getLogoRecognitionAnnotationsOrBuilderList() { return logoRecognitionAnnotations_; } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override public int getLogoRecognitionAnnotationsCount() { return logoRecognitionAnnotations_.size(); } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation - getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotations_.get(index); } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index) { return logoRecognitionAnnotations_.get(index); } public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER = 20; - private java.util.List - personDetectionAnnotations_; + private java.util.List personDetectionAnnotations_; /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public java.util.List - getPersonDetectionAnnotationsList() { + public java.util.List getPersonDetectionAnnotationsList() { return personDetectionAnnotations_; } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> + public java.util.List getPersonDetectionAnnotationsOrBuilderList() { return personDetectionAnnotations_; } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override public int getPersonDetectionAnnotationsCount() { return personDetectionAnnotations_.size(); } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { return personDetectionAnnotations_.get(index); } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index) { return personDetectionAnnotations_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1690,15 +1292,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ @java.lang.Override @@ -1706,8 +1305,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -1721,7 +1318,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1733,7 +1329,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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -1798,70 +1395,68 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, segmentLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, frameLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < faceAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, faceAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, faceAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getError());
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSegment());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, getSegment());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, speechTranscriptions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, speechTranscriptions_.get(i));
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < faceDetectionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              13, faceDetectionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, faceDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, objectAnnotations_.get(i));
     }
     for (int i = 0; i < logoRecognitionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              19, logoRecognitionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, logoRecognitionAnnotations_.get(i));
     }
     for (int i = 0; i < personDetectionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              20, personDetectionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(20, personDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < segmentPresenceLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              23, segmentPresenceLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, segmentPresenceLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotPresenceLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              24, shotPresenceLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(24, shotPresenceLabelAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1871,45 +1466,55 @@ 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.videointelligence.v1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoAnnotationResults other =
-        (com.google.cloud.videointelligence.v1.VideoAnnotationResults) obj;
+    com.google.cloud.videointelligence.v1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1.VideoAnnotationResults) obj;
 
-    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment().equals(other.getSegment())) return false;
+      if (!getSegment()
+          .equals(other.getSegment())) return false;
     }
-    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
-      return false;
+    if (!getSegmentLabelAnnotationsList()
+        .equals(other.getSegmentLabelAnnotationsList())) return false;
     if (!getSegmentPresenceLabelAnnotationsList()
         .equals(other.getSegmentPresenceLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getShotPresenceLabelAnnotationsList().equals(other.getShotPresenceLabelAnnotationsList()))
-      return false;
-    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceAnnotationsList().equals(other.getFaceAnnotationsList())) return false;
-    if (!getFaceDetectionAnnotationsList().equals(other.getFaceDetectionAnnotationsList()))
-      return false;
-    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList()
+        .equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getShotPresenceLabelAnnotationsList()
+        .equals(other.getShotPresenceLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList()
+        .equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceAnnotationsList()
+        .equals(other.getFaceAnnotationsList())) return false;
+    if (!getFaceDetectionAnnotationsList()
+        .equals(other.getFaceDetectionAnnotationsList())) return false;
+    if (!getShotAnnotationsList()
+        .equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
-    }
-    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
-    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
-    if (!getLogoRecognitionAnnotationsList().equals(other.getLogoRecognitionAnnotationsList()))
-      return false;
-    if (!getPersonDetectionAnnotationsList().equals(other.getPersonDetectionAnnotationsList()))
-      return false;
+      if (!getExplicitAnnotation()
+          .equals(other.getExplicitAnnotation())) return false;
+    }
+    if (!getSpeechTranscriptionsList()
+        .equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getTextAnnotationsList()
+        .equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList()
+        .equals(other.getObjectAnnotationsList())) return false;
+    if (!getLogoRecognitionAnnotationsList()
+        .equals(other.getLogoRecognitionAnnotationsList())) return false;
+    if (!getPersonDetectionAnnotationsList()
+        .equals(other.getPersonDetectionAnnotationsList())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1994,127 +1599,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationResults parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1.VideoAnnotationResults 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;
   }
   /**
-   *
-   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationResults} */ - 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.videointelligence.v1.VideoAnnotationResults) com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoAnnotationResults.newBuilder() @@ -2122,13 +1717,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) { getSegmentLabelAnnotationsFieldBuilder(); getSegmentPresenceLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); @@ -2144,7 +1740,6 @@ private void maybeForceBuilderInitialization() { getPersonDetectionAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2250,14 +1845,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResults - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance(); } @@ -2272,8 +1866,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1.VideoAnnotationResults result = - new com.google.cloud.videointelligence.v1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentBuilder_ == null) { @@ -2283,8 +1876,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -2293,8 +1885,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000002); } result.segmentPresenceLabelAnnotations_ = segmentPresenceLabelAnnotations_; @@ -2312,8 +1903,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (shotPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000008); } result.shotPresenceLabelAnnotations_ = shotPresenceLabelAnnotations_; @@ -2340,8 +1930,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (faceDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = - java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000040); } result.faceDetectionAnnotations_ = faceDetectionAnnotations_; @@ -2391,8 +1980,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (logoRecognitionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = - java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); bitField0_ = (bitField0_ & ~0x00000800); } result.logoRecognitionAnnotations_ = logoRecognitionAnnotations_; @@ -2401,8 +1989,7 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (personDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = - java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00001000); } result.personDetectionAnnotations_ = personDetectionAnnotations_; @@ -2422,39 +2009,38 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationResults) other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationResults)other); } else { super.mergeFrom(other); return this; @@ -2462,9 +2048,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationResults other) { - if (other - == com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -2490,10 +2074,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentLabelAnnotationsFieldBuilder() - : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentLabelAnnotationsFieldBuilder() : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -2517,13 +2100,11 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe segmentPresenceLabelAnnotationsBuilder_ = null; segmentPresenceLabelAnnotations_ = other.segmentPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - segmentPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentPresenceLabelAnnotationsFieldBuilder() - : null; + segmentPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentPresenceLabelAnnotationsFieldBuilder() : null; } else { - segmentPresenceLabelAnnotationsBuilder_.addAllMessages( - other.segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotationsBuilder_.addAllMessages(other.segmentPresenceLabelAnnotations_); } } } @@ -2545,10 +2126,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotLabelAnnotationsFieldBuilder() - : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotLabelAnnotationsFieldBuilder() : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -2572,13 +2152,11 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotPresenceLabelAnnotationsBuilder_ = null; shotPresenceLabelAnnotations_ = other.shotPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotPresenceLabelAnnotationsFieldBuilder() - : null; + shotPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotPresenceLabelAnnotationsFieldBuilder() : null; } else { - shotPresenceLabelAnnotationsBuilder_.addAllMessages( - other.shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotationsBuilder_.addAllMessages(other.shotPresenceLabelAnnotations_); } } } @@ -2600,10 +2178,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFrameLabelAnnotationsFieldBuilder() - : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameLabelAnnotationsFieldBuilder() : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -2627,10 +2204,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe faceAnnotationsBuilder_ = null; faceAnnotations_ = other.faceAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - faceAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFaceAnnotationsFieldBuilder() - : null; + faceAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFaceAnnotationsFieldBuilder() : null; } else { faceAnnotationsBuilder_.addAllMessages(other.faceAnnotations_); } @@ -2654,10 +2230,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe faceDetectionAnnotationsBuilder_ = null; faceDetectionAnnotations_ = other.faceDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000040); - faceDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFaceDetectionAnnotationsFieldBuilder() - : null; + faceDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFaceDetectionAnnotationsFieldBuilder() : null; } else { faceDetectionAnnotationsBuilder_.addAllMessages(other.faceDetectionAnnotations_); } @@ -2681,10 +2256,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000080); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotAnnotationsFieldBuilder() - : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotAnnotationsFieldBuilder() : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -2711,10 +2285,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000100); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechTranscriptionsFieldBuilder() - : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechTranscriptionsFieldBuilder() : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -2738,10 +2311,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000200); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTextAnnotationsFieldBuilder() - : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTextAnnotationsFieldBuilder() : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -2765,10 +2337,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000400); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getObjectAnnotationsFieldBuilder() - : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getObjectAnnotationsFieldBuilder() : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -2792,10 +2363,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe logoRecognitionAnnotationsBuilder_ = null; logoRecognitionAnnotations_ = other.logoRecognitionAnnotations_; bitField0_ = (bitField0_ & ~0x00000800); - logoRecognitionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLogoRecognitionAnnotationsFieldBuilder() - : null; + logoRecognitionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLogoRecognitionAnnotationsFieldBuilder() : null; } else { logoRecognitionAnnotationsBuilder_.addAllMessages(other.logoRecognitionAnnotations_); } @@ -2819,10 +2389,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe personDetectionAnnotationsBuilder_ = null; personDetectionAnnotations_ = other.personDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00001000); - personDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPersonDetectionAnnotationsFieldBuilder() - : null; + personDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPersonDetectionAnnotationsFieldBuilder() : null; } else { personDetectionAnnotationsBuilder_.addAllMessages(other.personDetectionAnnotations_); } @@ -2850,8 +2419,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2860,26 +2428,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -2888,22 +2453,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -2911,64 +2475,57 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -2976,47 +2533,34 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3037,8 +2581,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3057,8 +2599,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3069,9 +2609,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -3083,8 +2621,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3103,8 +2639,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3112,13 +2646,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 10; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3129,14 +2661,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3144,54 +2673,40 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List - segmentLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList( - segmentLabelAnnotations_); + segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> - segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -3199,16 +2714,12 @@ private void ensureSegmentLabelAnnotationsIsMutable() { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3218,19 +2729,14 @@ public int getSegmentLabelAnnotationsCount() { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -3238,16 +2744,12 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnno } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3264,16 +2766,12 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3287,19 +2785,14 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public Builder addSegmentLabelAnnotations( - com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3313,16 +2806,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3339,16 +2828,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3362,16 +2847,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3385,23 +2866,19 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -3409,16 +2886,12 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3431,16 +2904,12 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3453,55 +2922,42 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - getSegmentLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( + int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); - } else { + return segmentLabelAnnotations_.get(index); } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3509,68 +2965,48 @@ public Builder removeSegmentLabelAnnotations(int index) { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder(int index) { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( + int index) { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3580,27 +3016,19 @@ public Builder removeSegmentLabelAnnotations(int index) { return segmentLabelAnnotationsBuilder_; } - private java.util.List - segmentPresenceLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentPresenceLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - new java.util.ArrayList( - segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = new java.util.ArrayList(segmentPresenceLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> - segmentPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> segmentPresenceLabelAnnotationsBuilder_; /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3610,12 +3038,9 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List - getSegmentPresenceLabelAnnotationsList() { + public java.util.List getSegmentPresenceLabelAnnotationsList() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } else { @@ -3623,8 +3048,6 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3634,9 +3057,7 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public int getSegmentPresenceLabelAnnotationsCount() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3646,8 +3067,6 @@ public int getSegmentPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3657,12 +3076,9 @@ public int getSegmentPresenceLabelAnnotationsCount() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return segmentPresenceLabelAnnotations_.get(index); } else { @@ -3670,8 +3086,6 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3681,9 +3095,7 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3700,8 +3112,6 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3711,9 +3121,7 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3727,8 +3135,6 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3738,12 +3144,9 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public Builder addSegmentPresenceLabelAnnotations( - com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3757,8 +3160,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3768,9 +3169,7 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3787,8 +3186,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3798,9 +3195,7 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3814,8 +3209,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3825,9 +3218,7 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3841,8 +3232,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3852,13 +3241,10 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addAllSegmentPresenceLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3870,8 +3256,6 @@ public Builder addAllSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3881,9 +3265,7 @@ public Builder addAllSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder clearSegmentPresenceLabelAnnotations() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3896,8 +3278,6 @@ public Builder clearSegmentPresenceLabelAnnotations() { return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3907,9 +3287,7 @@ public Builder clearSegmentPresenceLabelAnnotations() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder removeSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3922,8 +3300,6 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3933,17 +3309,13 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - getSegmentPresenceLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getSegmentPresenceLabelAnnotationsBuilder( + int index) { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3953,21 +3325,16 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - return segmentPresenceLabelAnnotations_.get(index); - } else { + return segmentPresenceLabelAnnotations_.get(index); } else { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3977,12 +3344,10 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List - getSegmentPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsOrBuilderList() { if (segmentPresenceLabelAnnotationsBuilder_ != null) { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3990,8 +3355,6 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4001,18 +3364,13 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addSegmentPresenceLabelAnnotationsBuilder() { - return getSegmentPresenceLabelAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder() { + return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4022,19 +3380,14 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addSegmentPresenceLabelAnnotationsBuilder(int index) { - return getSegmentPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder( + int index) { + return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4044,26 +3397,18 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List - getSegmentPresenceLabelAnnotationsBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsBuilderList() { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsFieldBuilder() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - segmentPresenceLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + segmentPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( segmentPresenceLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4073,37 +3418,27 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return segmentPresenceLabelAnnotationsBuilder_; } - private java.util.List - shotLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList( - shotLabelAnnotations_); + shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> - shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -4111,15 +3446,12 @@ private void ensureShotLabelAnnotationsIsMutable() { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -4129,18 +3461,14 @@ public int getShotLabelAnnotationsCount() { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -4148,15 +3476,12 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotat } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4173,15 +3498,12 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4195,18 +3517,14 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public Builder addShotLabelAnnotations( - com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4220,15 +3538,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4245,15 +3560,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4267,15 +3579,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4289,22 +3598,19 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -4312,15 +3618,12 @@ public Builder addAllShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -4333,15 +3636,12 @@ public Builder clearShotLabelAnnotations() { return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -4354,52 +3654,42 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - getShotLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( + int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); - } else { + return shotLabelAnnotations_.get(index); } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4407,65 +3697,48 @@ public Builder removeShotLabelAnnotations(int index) { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder(int index) { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( + int index) { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4475,27 +3748,19 @@ public Builder removeShotLabelAnnotations(int index) { return shotLabelAnnotationsBuilder_; } - private java.util.List - shotPresenceLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotPresenceLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - new java.util.ArrayList( - shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = new java.util.ArrayList(shotPresenceLabelAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> - shotPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> shotPresenceLabelAnnotationsBuilder_; /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4504,12 +3769,9 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List - getShotPresenceLabelAnnotationsList() { + public java.util.List getShotPresenceLabelAnnotationsList() { if (shotPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } else { @@ -4517,8 +3779,6 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4527,9 +3787,7 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public int getShotPresenceLabelAnnotationsCount() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4539,8 +3797,6 @@ public int getShotPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4549,12 +3805,9 @@ public int getShotPresenceLabelAnnotationsCount() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { return shotPresenceLabelAnnotations_.get(index); } else { @@ -4562,8 +3815,6 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4572,9 +3823,7 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4591,8 +3840,6 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4601,9 +3848,7 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4617,8 +3862,6 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4627,12 +3870,9 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public Builder addShotPresenceLabelAnnotations( - com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (shotPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4646,8 +3886,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4656,9 +3894,7 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4675,8 +3911,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4685,9 +3919,7 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4701,8 +3933,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4711,9 +3941,7 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4727,8 +3955,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4737,13 +3963,10 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addAllShotPresenceLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -4755,8 +3978,6 @@ public Builder addAllShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4765,9 +3986,7 @@ public Builder addAllShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder clearShotPresenceLabelAnnotations() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4780,8 +3999,6 @@ public Builder clearShotPresenceLabelAnnotations() { return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4790,9 +4007,7 @@ public Builder clearShotPresenceLabelAnnotations() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder removeShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4805,8 +4020,6 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4815,17 +4028,13 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - getShotPresenceLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getShotPresenceLabelAnnotationsBuilder( + int index) { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4834,21 +4043,16 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { - return shotPresenceLabelAnnotations_.get(index); - } else { + return shotPresenceLabelAnnotations_.get(index); } else { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4857,12 +4061,10 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List - getShotPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsOrBuilderList() { if (shotPresenceLabelAnnotationsBuilder_ != null) { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4870,8 +4072,6 @@ public Builder removeShotPresenceLabelAnnotations(int index) { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4880,18 +4080,13 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addShotPresenceLabelAnnotationsBuilder() { - return getShotPresenceLabelAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder() { + return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4900,19 +4095,14 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addShotPresenceLabelAnnotationsBuilder(int index) { - return getShotPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder( + int index) { + return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4921,26 +4111,18 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List - getShotPresenceLabelAnnotationsBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsBuilderList() { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsFieldBuilder() { if (shotPresenceLabelAnnotationsBuilder_ == null) { - shotPresenceLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + shotPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( shotPresenceLabelAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -4950,38 +4132,27 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return shotPresenceLabelAnnotationsBuilder_; } - private java.util.List - frameLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List frameLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList( - frameLabelAnnotations_); + frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> - frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -4989,16 +4160,12 @@ private void ensureFrameLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -5008,19 +4175,14 @@ public int getFrameLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -5028,16 +4190,12 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnota } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -5054,16 +4212,12 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -5077,19 +4231,14 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public Builder addFrameLabelAnnotations( - com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5103,16 +4252,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -5129,16 +4274,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -5152,16 +4293,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -5175,23 +4312,19 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -5199,16 +4332,12 @@ public Builder addAllFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -5221,16 +4350,12 @@ public Builder clearFrameLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -5243,55 +4368,42 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - getFrameLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( + int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); - } else { + return frameLabelAnnotations_.get(index); } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5299,68 +4411,48 @@ public Builder removeFrameLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder(int index) { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( + int index) { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, - com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -5371,37 +4463,25 @@ public Builder removeFrameLabelAnnotations(int index) { } private java.util.List faceAnnotations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFaceAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - faceAnnotations_ = - new java.util.ArrayList( - faceAnnotations_); + faceAnnotations_ = new java.util.ArrayList(faceAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, - com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> - faceAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> faceAnnotationsBuilder_; /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getFaceAnnotationsList() { + @java.lang.Deprecated public java.util.List getFaceAnnotationsList() { if (faceAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceAnnotations_); } else { @@ -5409,18 +4489,13 @@ private void ensureFaceAnnotationsIsMutable() { } } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public int getFaceAnnotationsCount() { + @java.lang.Deprecated public int getFaceAnnotationsCount() { if (faceAnnotationsBuilder_ == null) { return faceAnnotations_.size(); } else { @@ -5428,18 +4503,13 @@ public int getFaceAnnotationsCount() { } } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { return faceAnnotations_.get(index); } else { @@ -5447,18 +4517,13 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(i } } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setFaceAnnotations( + @java.lang.Deprecated public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { @@ -5473,18 +4538,13 @@ public Builder setFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setFaceAnnotations( + @java.lang.Deprecated public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -5496,18 +4556,13 @@ public Builder setFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1.FaceAnnotation value) { + @java.lang.Deprecated public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5521,18 +4576,13 @@ public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1.FaceAnno return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addFaceAnnotations( + @java.lang.Deprecated public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { @@ -5547,18 +4597,13 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addFaceAnnotations( + @java.lang.Deprecated public Builder addFaceAnnotations( com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -5570,18 +4615,13 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addFaceAnnotations( + @java.lang.Deprecated public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -5593,22 +4633,18 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllFaceAnnotations( + @java.lang.Deprecated public Builder addAllFaceAnnotations( java.lang.Iterable values) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, faceAnnotations_); onChanged(); } else { faceAnnotationsBuilder_.addAllMessages(values); @@ -5616,18 +4652,13 @@ public Builder addAllFaceAnnotations( return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearFaceAnnotations() { + @java.lang.Deprecated public Builder clearFaceAnnotations() { if (faceAnnotationsBuilder_ == null) { faceAnnotations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); @@ -5638,18 +4669,13 @@ public Builder clearFaceAnnotations() { return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeFaceAnnotations(int index) { + @java.lang.Deprecated public Builder removeFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.remove(index); @@ -5660,55 +4686,39 @@ public Builder removeFaceAnnotations(int index) { return this; } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder getFaceAnnotationsBuilder( + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder getFaceAnnotationsBuilder( int index) { return getFaceAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder - getFaceAnnotationsOrBuilder(int index) { + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + int index) { if (faceAnnotationsBuilder_ == null) { - return faceAnnotations_.get(index); - } else { + return faceAnnotations_.get(index); } else { return faceAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getFaceAnnotationsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getFaceAnnotationsOrBuilderList() { if (faceAnnotationsBuilder_ != null) { return faceAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5716,68 +4726,45 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder getFaceAnnot } } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder - addFaceAnnotationsBuilder() { - return getFaceAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder() { + return getFaceAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder( + @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder( int index) { - return getFaceAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); + return getFaceAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); } /** - * - * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getFaceAnnotationsBuilderList() { + @java.lang.Deprecated public java.util.List + getFaceAnnotationsBuilderList() { return getFaceAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, - com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> getFaceAnnotationsFieldBuilder() { if (faceAnnotationsBuilder_ == null) { - faceAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, - com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder>( + faceAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder>( faceAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -5787,37 +4774,26 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnot return faceAnnotationsBuilder_; } - private java.util.List - faceDetectionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List faceDetectionAnnotations_ = + java.util.Collections.emptyList(); private void ensureFaceDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = - new java.util.ArrayList( - faceDetectionAnnotations_); + faceDetectionAnnotations_ = new java.util.ArrayList(faceDetectionAnnotations_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> - faceDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> faceDetectionAnnotationsBuilder_; /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List - getFaceDetectionAnnotationsList() { + public java.util.List getFaceDetectionAnnotationsList() { if (faceDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } else { @@ -5825,15 +4801,11 @@ private void ensureFaceDetectionAnnotationsIsMutable() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public int getFaceDetectionAnnotationsCount() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -5843,18 +4815,13 @@ public int getFaceDetectionAnnotationsCount() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation - getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { return faceDetectionAnnotations_.get(index); } else { @@ -5862,15 +4829,11 @@ public int getFaceDetectionAnnotationsCount() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder setFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { @@ -5887,19 +4850,14 @@ public Builder setFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder setFaceDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.set(index, builderForValue.build()); @@ -5910,18 +4868,13 @@ public Builder setFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public Builder addFaceDetectionAnnotations( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { + public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { if (faceDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5935,15 +4888,11 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { @@ -5960,15 +4909,11 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { @@ -5982,19 +4927,14 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(index, builderForValue.build()); @@ -6005,22 +4945,18 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addAllFaceDetectionAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, faceDetectionAnnotations_); onChanged(); } else { faceDetectionAnnotationsBuilder_.addAllMessages(values); @@ -6028,15 +4964,11 @@ public Builder addAllFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder clearFaceDetectionAnnotations() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -6049,15 +4981,11 @@ public Builder clearFaceDetectionAnnotations() { return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder removeFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { @@ -6070,53 +4998,39 @@ public Builder removeFaceDetectionAnnotations(int index) { return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder - getFaceDetectionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder getFaceDetectionAnnotationsBuilder( + int index) { return getFaceDetectionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index) { if (faceDetectionAnnotationsBuilder_ == null) { - return faceDetectionAnnotations_.get(index); - } else { + return faceDetectionAnnotations_.get(index); } else { return faceDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> - getFaceDetectionAnnotationsOrBuilderList() { + public java.util.List + getFaceDetectionAnnotationsOrBuilderList() { if (faceDetectionAnnotationsBuilder_ != null) { return faceDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6124,67 +5038,45 @@ public Builder removeFaceDetectionAnnotations(int index) { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder - addFaceDetectionAnnotationsBuilder() { - return getFaceDetectionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder() { + return getFaceDetectionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder - addFaceDetectionAnnotationsBuilder(int index) { - return getFaceDetectionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder( + int index) { + return getFaceDetectionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List - getFaceDetectionAnnotationsBuilderList() { + public java.util.List + getFaceDetectionAnnotationsBuilderList() { return getFaceDetectionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsFieldBuilder() { if (faceDetectionAnnotationsBuilder_ == null) { - faceDetectionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder>( + faceDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder>( faceDetectionAnnotations_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), @@ -6195,34 +5087,25 @@ public Builder removeFaceDetectionAnnotations(int index) { } private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - shotAnnotations_ = - new java.util.ArrayList( - shotAnnotations_); + shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -6230,8 +5113,6 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6246,8 +5127,6 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6262,8 +5141,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6285,8 +5162,6 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6305,8 +5180,6 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6327,8 +5200,6 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1.VideoSeg return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6350,8 +5221,6 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6370,8 +5239,6 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6390,8 +5257,6 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6402,7 +5267,8 @@ public Builder addAllShotAnnotations( java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -6410,8 +5276,6 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6429,8 +5293,6 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6448,8 +5310,6 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6461,8 +5321,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getShotAnnotat return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6472,22 +5330,19 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getShotAnnotat public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6495,8 +5350,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6504,12 +5357,10 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -6518,35 +5369,26 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotat */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotationsBuilder( int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -6558,58 +5400,41 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotat private com.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6623,14 +5448,11 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder setExplicitAnnotation( com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder builderForValue) { @@ -6644,24 +5466,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -6673,14 +5488,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -6694,99 +5506,73 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List - speechTranscriptions_ = java.util.Collections.emptyList(); - + private java.util.List speechTranscriptions_ = + java.util.Collections.emptyList(); private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList( - speechTranscriptions_); + speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> - speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -6794,15 +5580,11 @@ private void ensureSpeechTranscriptionsIsMutable() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -6812,18 +5594,13 @@ public int getSpeechTranscriptionsCount() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -6831,15 +5608,11 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTransc } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1.SpeechTranscription value) { @@ -6856,19 +5629,14 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -6879,18 +5647,13 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public Builder addSpeechTranscriptions( - com.google.cloud.videointelligence.v1.SpeechTranscription value) { + public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6904,15 +5667,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1.SpeechTranscription value) { @@ -6929,15 +5688,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { @@ -6951,19 +5706,14 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -6974,22 +5724,18 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -6997,15 +5743,11 @@ public Builder addAllSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -7018,15 +5760,11 @@ public Builder clearSpeechTranscriptions() { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -7039,53 +5777,39 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder - getSpeechTranscriptionsBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( + int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); - } else { + return speechTranscriptions_.get(index); } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> - getSpeechTranscriptionsOrBuilderList() { + public java.util.List + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -7093,67 +5817,45 @@ public Builder removeSpeechTranscriptions(int index) { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder(int index) { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( + int index) { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, - com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), @@ -7164,37 +5866,27 @@ public Builder removeSpeechTranscriptions(int index) { } private java.util.List textAnnotations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - textAnnotations_ = - new java.util.ArrayList( - textAnnotations_); + textAnnotations_ = new java.util.ArrayList(textAnnotations_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, - com.google.cloud.videointelligence.v1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> - textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> textAnnotationsBuilder_; /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsList() { + public java.util.List getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -7202,16 +5894,13 @@ private void ensureTextAnnotationsIsMutable() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -7221,16 +5910,13 @@ public int getTextAnnotationsCount() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -7240,16 +5926,13 @@ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(i } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation value) { @@ -7266,16 +5949,13 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -7289,16 +5969,13 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { @@ -7314,16 +5991,13 @@ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1.TextAnno return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation value) { @@ -7340,16 +6014,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -7363,16 +6034,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -7386,22 +6054,20 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder addAllTextAnnotations( java.lang.Iterable values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -7409,16 +6075,13 @@ public Builder addAllTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -7431,16 +6094,13 @@ public Builder clearTextAnnotations() { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -7453,55 +6113,45 @@ public Builder removeTextAnnotations(int index) { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder getTextAnnotationsBuilder( int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder - getTextAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( + int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); - } else { + return textAnnotations_.get(index); } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsOrBuilderList() { + public java.util.List + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -7509,68 +6159,51 @@ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder getTextAnnot } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1.TextAnnotation.Builder - addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnotationsBuilder( int index) { - return getTextAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); + return getTextAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, - com.google.cloud.videointelligence.v1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, - com.google.cloud.videointelligence.v1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), @@ -7580,37 +6213,26 @@ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnot return textAnnotationsBuilder_; } - private java.util.List - objectAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List objectAnnotations_ = + java.util.Collections.emptyList(); private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - objectAnnotations_ = - new java.util.ArrayList( - objectAnnotations_); + objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> - objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -7618,15 +6240,11 @@ private void ensureObjectAnnotationsIsMutable() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -7636,18 +6254,13 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations( - int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -7655,15 +6268,11 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectA } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { @@ -7680,19 +6289,14 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -7703,18 +6307,13 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7728,15 +6327,11 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { @@ -7753,15 +6348,11 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { @@ -7775,19 +6366,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -7798,22 +6384,18 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addAllObjectAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -7821,15 +6403,11 @@ public Builder addAllObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -7842,15 +6420,11 @@ public Builder clearObjectAnnotations() { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -7863,53 +6437,39 @@ public Builder removeObjectAnnotations(int index) { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder - getObjectAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( + int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); - } else { + return objectAnnotations_.get(index); } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> - getObjectAnnotationsOrBuilderList() { + public java.util.List + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -7917,67 +6477,45 @@ public Builder removeObjectAnnotations(int index) { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder(int index) { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( + int index) { + return getObjectAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List - getObjectAnnotationsBuilderList() { + public java.util.List + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -7987,38 +6525,26 @@ public Builder removeObjectAnnotations(int index) { return objectAnnotationsBuilder_; } - private java.util.List - logoRecognitionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List logoRecognitionAnnotations_ = + java.util.Collections.emptyList(); private void ensureLogoRecognitionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation>( - logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = new java.util.ArrayList(logoRecognitionAnnotations_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> - logoRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> logoRecognitionAnnotationsBuilder_; /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List - getLogoRecognitionAnnotationsList() { + public java.util.List getLogoRecognitionAnnotationsList() { if (logoRecognitionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } else { @@ -8026,15 +6552,11 @@ private void ensureLogoRecognitionAnnotationsIsMutable() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public int getLogoRecognitionAnnotationsCount() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -8044,18 +6566,13 @@ public int getLogoRecognitionAnnotationsCount() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation - getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { return logoRecognitionAnnotations_.get(index); } else { @@ -8063,15 +6580,11 @@ public int getLogoRecognitionAnnotationsCount() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder setLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { @@ -8088,19 +6601,14 @@ public Builder setLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder setLogoRecognitionAnnotations( - int index, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.set(index, builderForValue.build()); @@ -8111,18 +6619,13 @@ public Builder setLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public Builder addLogoRecognitionAnnotations( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { + public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { if (logoRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8136,15 +6639,11 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { @@ -8161,15 +6660,11 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { @@ -8183,19 +6678,14 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( - int index, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(index, builderForValue.build()); @@ -8206,23 +6696,18 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addAllLogoRecognitionAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation> - values) { + java.lang.Iterable values) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logoRecognitionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, logoRecognitionAnnotations_); onChanged(); } else { logoRecognitionAnnotationsBuilder_.addAllMessages(values); @@ -8230,15 +6715,11 @@ public Builder addAllLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder clearLogoRecognitionAnnotations() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -8251,15 +6732,11 @@ public Builder clearLogoRecognitionAnnotations() { return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder removeLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -8272,53 +6749,39 @@ public Builder removeLogoRecognitionAnnotations(int index) { return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder - getLogoRecognitionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder getLogoRecognitionAnnotationsBuilder( + int index) { return getLogoRecognitionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index) { if (logoRecognitionAnnotationsBuilder_ == null) { - return logoRecognitionAnnotations_.get(index); - } else { + return logoRecognitionAnnotations_.get(index); } else { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> - getLogoRecognitionAnnotationsOrBuilderList() { + public java.util.List + getLogoRecognitionAnnotationsOrBuilderList() { if (logoRecognitionAnnotationsBuilder_ != null) { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -8326,67 +6789,45 @@ public Builder removeLogoRecognitionAnnotations(int index) { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder - addLogoRecognitionAnnotationsBuilder() { - return getLogoRecognitionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder() { + return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder - addLogoRecognitionAnnotationsBuilder(int index) { - return getLogoRecognitionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder( + int index) { + return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List - getLogoRecognitionAnnotationsBuilderList() { + public java.util.List + getLogoRecognitionAnnotationsBuilderList() { return getLogoRecognitionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsFieldBuilder() { if (logoRecognitionAnnotationsBuilder_ == null) { - logoRecognitionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder>( + logoRecognitionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder>( logoRecognitionAnnotations_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), @@ -8396,38 +6837,26 @@ public Builder removeLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotationsBuilder_; } - private java.util.List - personDetectionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List personDetectionAnnotations_ = + java.util.Collections.emptyList(); private void ensurePersonDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation>( - personDetectionAnnotations_); + personDetectionAnnotations_ = new java.util.ArrayList(personDetectionAnnotations_); bitField0_ |= 0x00001000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> - personDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> personDetectionAnnotationsBuilder_; /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List - getPersonDetectionAnnotationsList() { + public java.util.List getPersonDetectionAnnotationsList() { if (personDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(personDetectionAnnotations_); } else { @@ -8435,15 +6864,11 @@ private void ensurePersonDetectionAnnotationsIsMutable() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public int getPersonDetectionAnnotationsCount() { if (personDetectionAnnotationsBuilder_ == null) { @@ -8453,18 +6878,13 @@ public int getPersonDetectionAnnotationsCount() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation - getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { return personDetectionAnnotations_.get(index); } else { @@ -8472,15 +6892,11 @@ public int getPersonDetectionAnnotationsCount() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder setPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { @@ -8497,19 +6913,14 @@ public Builder setPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder setPersonDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.set(index, builderForValue.build()); @@ -8520,18 +6931,13 @@ public Builder setPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public Builder addPersonDetectionAnnotations( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { + public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { if (personDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8545,15 +6951,11 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { @@ -8570,15 +6972,11 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { @@ -8592,19 +6990,14 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(index, builderForValue.build()); @@ -8615,23 +7008,18 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addAllPersonDetectionAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotation> - values) { + java.lang.Iterable values) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, personDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, personDetectionAnnotations_); onChanged(); } else { personDetectionAnnotationsBuilder_.addAllMessages(values); @@ -8639,15 +7027,11 @@ public Builder addAllPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder clearPersonDetectionAnnotations() { if (personDetectionAnnotationsBuilder_ == null) { @@ -8660,15 +7044,11 @@ public Builder clearPersonDetectionAnnotations() { return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder removePersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { @@ -8681,53 +7061,39 @@ public Builder removePersonDetectionAnnotations(int index) { return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder - getPersonDetectionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder getPersonDetectionAnnotationsBuilder( + int index) { return getPersonDetectionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index) { if (personDetectionAnnotationsBuilder_ == null) { - return personDetectionAnnotations_.get(index); - } else { + return personDetectionAnnotations_.get(index); } else { return personDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> - getPersonDetectionAnnotationsOrBuilderList() { + public java.util.List + getPersonDetectionAnnotationsOrBuilderList() { if (personDetectionAnnotationsBuilder_ != null) { return personDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -8735,67 +7101,45 @@ public Builder removePersonDetectionAnnotations(int index) { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder - addPersonDetectionAnnotationsBuilder() { - return getPersonDetectionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder() { + return getPersonDetectionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder - addPersonDetectionAnnotationsBuilder(int index) { - return getPersonDetectionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder( + int index) { + return getPersonDetectionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List - getPersonDetectionAnnotationsBuilderList() { + public java.util.List + getPersonDetectionAnnotationsBuilderList() { return getPersonDetectionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsFieldBuilder() { if (personDetectionAnnotationsBuilder_ == null) { - personDetectionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder>( + personDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder>( personDetectionAnnotations_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), @@ -8807,33 +7151,26 @@ public Builder removePersonDetectionAnnotations(int index) { 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_; /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -8844,8 +7181,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8867,8 +7202,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8876,7 +7209,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -8887,8 +7221,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8899,7 +7231,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;
         }
@@ -8911,8 +7244,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8932,8 +7263,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8942,13 +7271,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8960,12 +7287,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8974,21 +7300,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -8998,13 +7324,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1.VideoAnnotationResults
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1.VideoAnnotationResults DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoAnnotationResults();
   }
@@ -9013,16 +7338,16 @@ public static com.google.cloud.videointelligence.v1.VideoAnnotationResults getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationResults parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationResults(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationResults parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationResults(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -9037,4 +7362,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
similarity index 68%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
index c6e6456a2..167df26d0 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
@@ -1,82 +1,53 @@
-/*
- * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoAnnotationResultsOrBuilder
-    extends
+public interface VideoAnnotationResultsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; - * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
@@ -86,77 +57,55 @@ public interface VideoAnnotationResultsOrBuilder com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ int getSegmentLabelAnnotationsCount(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -166,15 +115,11 @@ public interface VideoAnnotationResultsOrBuilder
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsList(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -184,15 +129,10 @@ public interface VideoAnnotationResultsOrBuilder
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -202,14 +142,10 @@ com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnn
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ int getSegmentPresenceLabelAnnotationsCount(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -219,15 +155,11 @@ com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnn
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -237,80 +169,61 @@ com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnn
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ int getShotLabelAnnotationsCount(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( int index); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -319,15 +232,11 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsList(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -336,14 +245,10 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -352,14 +257,10 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ int getShotPresenceLabelAnnotationsCount(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -368,15 +269,11 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsOrBuilderList(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -385,223 +282,158 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ int getFrameLabelAnnotationsCount(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( int index); /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getFaceAnnotationsList(); + @java.lang.Deprecated java.util.List + getFaceAnnotationsList(); /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index); + @java.lang.Deprecated com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index); /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - int getFaceAnnotationsCount(); + @java.lang.Deprecated int getFaceAnnotationsCount(); /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getFaceAnnotationsOrBuilderList(); /** - * - * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; - * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + @java.lang.Deprecated com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - java.util.List + java.util.List getFaceDetectionAnnotationsList(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations( - int index); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ int getFaceDetectionAnnotationsCount(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - java.util.List + java.util.List getFaceDetectionAnnotationsOrBuilderList(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; */ - com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - java.util.List getShotAnnotationsList(); + java.util.List + getShotAnnotationsList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -610,8 +442,6 @@ com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAn */ com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -620,19 +450,15 @@ com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAn */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -643,111 +469,77 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr int index); /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; */ - com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ int getSpeechTranscriptionsCount(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List + java.util.List getSpeechTranscriptionsOrBuilderList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; */ - com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index); + com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -756,10 +548,9 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr
    *
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
-  java.util.List getTextAnnotationsList();
+  java.util.List 
+      getTextAnnotationsList();
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -770,8 +561,6 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr
    */
   com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(int index);
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -782,8 +571,6 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr
    */
   int getTextAnnotationsCount();
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -792,11 +579,9 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr
    *
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
-  java.util.List
+  java.util.List 
       getTextAnnotationsOrBuilderList();
   /**
-   *
-   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -809,228 +594,158 @@ com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnnotations
       int index);
 
   /**
-   *
-   *
    * 
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List + java.util.List getObjectAnnotationsList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ int getObjectAnnotationsCount(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List + java.util.List getObjectAnnotationsOrBuilderList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; */ - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - java.util.List + java.util.List getLogoRecognitionAnnotationsList(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations( - int index); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ int getLogoRecognitionAnnotationsCount(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - java.util.List + java.util.List getLogoRecognitionAnnotationsOrBuilderList(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - java.util.List + java.util.List getPersonDetectionAnnotationsList(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations( - int index); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ int getPersonDetectionAnnotationsCount(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - java.util.List + java.util.List getPersonDetectionAnnotationsOrBuilderList(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; */ - com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
similarity index 66%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
index 76e8e7033..aa9578632 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
- *
- *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoContext} */ -public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoContext) VideoContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,165 +54,126 @@ private VideoContext( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1.VideoSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.LabelDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder subBuilder = - null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); - } - shotChangeDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.LabelDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder - subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); } - case 42: - { - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder subBuilder = null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); - } - faceDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.FaceDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder subBuilder = - null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); - } - speechTranscriptionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); } - case 66: - { - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder subBuilder = null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); - } - textDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.TextDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder subBuilder = null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); } - case 90: - { - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder subBuilder = null; - if (personDetectionConfig_ != null) { - subBuilder = personDetectionConfig_.toBuilder(); - } - personDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.PersonDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(personDetectionConfig_); - personDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.FaceDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder subBuilder = null; - if (objectTrackingConfig_ != null) { - subBuilder = objectTrackingConfig_.toBuilder(); - } - objectTrackingConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectTrackingConfig_); - objectTrackingConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder subBuilder = null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = subBuilder.buildPartial(); } + + break; + } + case 66: { + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder subBuilder = null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); + } + textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.TextDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder subBuilder = null; + if (personDetectionConfig_ != null) { + subBuilder = personDetectionConfig_.toBuilder(); + } + personDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.PersonDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(personDetectionConfig_); + personDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 106: { + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder subBuilder = null; + if (objectTrackingConfig_ != null) { + subBuilder = objectTrackingConfig_.toBuilder(); + } + objectTrackingConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectTrackingConfig_); + objectTrackingConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -237,7 +181,8 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -246,27 +191,22 @@ private VideoContext( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoContext.class, - com.google.cloud.videointelligence.v1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1.VideoContext.class, com.google.cloud.videointelligence.v1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -280,8 +220,6 @@ public java.util.List getSeg
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -291,13 +229,11 @@ public java.util.List getSeg
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -311,8 +247,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -326,8 +260,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -345,15 +277,11 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1.LabelDetectionConfig labelDetectionConfig_;
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -361,53 +289,37 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shotChangeDetectionConfig_; /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -415,56 +327,37 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() - : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -472,53 +365,37 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() - : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1.FaceDetectionConfig faceDetectionConfig_; /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -526,25 +403,18 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
@@ -552,25 +422,18 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectio * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speechTranscriptionConfig_; /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -578,53 +441,37 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() - : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1.TextDetectionConfig textDetectionConfig_; /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -632,25 +479,18 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
@@ -658,23 +498,18 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectio * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.videointelligence.v1.PersonDetectionConfig personDetectionConfig_; /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ @java.lang.Override @@ -682,51 +517,37 @@ public boolean hasPersonDetectionConfig() { return personDetectionConfig_ != null; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig() { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() - : personDetectionConfig_; + return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { return getPersonDetectionConfig(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 13; private com.google.cloud.videointelligence.v1.ObjectTrackingConfig objectTrackingConfig_; /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -734,41 +555,30 @@ public boolean hasObjectTrackingConfig() { return objectTrackingConfig_ != null; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig() { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { return getObjectTrackingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -780,7 +590,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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -818,40 +629,40 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getShotChangeDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getExplicitContentDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFaceDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, getSpeechTranscriptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSpeechTranscriptionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTextDetectionConfig()); } if (personDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPersonDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getPersonDetectionConfig()); } if (objectTrackingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, getObjectTrackingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getObjectTrackingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -861,50 +672,54 @@ 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.videointelligence.v1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.VideoContext other = - (com.google.cloud.videointelligence.v1.VideoContext) obj; + com.google.cloud.videointelligence.v1.VideoContext other = (com.google.cloud.videointelligence.v1.VideoContext) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) - return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig() + .equals(other.getFaceDetectionConfig())) return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) - return false; + if (!getSpeechTranscriptionConfig() + .equals(other.getSpeechTranscriptionConfig())) return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig() + .equals(other.getTextDetectionConfig())) return false; } if (hasPersonDetectionConfig() != other.hasPersonDetectionConfig()) return false; if (hasPersonDetectionConfig()) { - if (!getPersonDetectionConfig().equals(other.getPersonDetectionConfig())) return false; + if (!getPersonDetectionConfig() + .equals(other.getPersonDetectionConfig())) return false; } if (hasObjectTrackingConfig() != other.hasObjectTrackingConfig()) return false; if (hasObjectTrackingConfig()) { - if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig() + .equals(other.getObjectTrackingConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -959,126 +774,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.VideoContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.VideoContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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; } /** - * - * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoContext} */ - 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.videointelligence.v1.VideoContext) com.google.cloud.videointelligence.v1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoContext.class, - com.google.cloud.videointelligence.v1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1.VideoContext.class, com.google.cloud.videointelligence.v1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoContext.newBuilder() @@ -1086,17 +892,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) { getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1158,9 +964,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override @@ -1179,8 +985,7 @@ public com.google.cloud.videointelligence.v1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1.VideoContext result = - new com.google.cloud.videointelligence.v1.VideoContext(this); + com.google.cloud.videointelligence.v1.VideoContext result = new com.google.cloud.videointelligence.v1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1239,39 +1044,38 @@ public com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoContext) other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoContext)other); } else { super.mergeFrom(other); return this; @@ -1279,8 +1083,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -1299,10 +1102,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoContext othe segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -1351,8 +1153,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1361,29 +1162,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList(segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, - com.google.cloud.videointelligence.v1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1400,8 +1193,6 @@ public java.util.List getSeg
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1418,8 +1209,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1436,8 +1225,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1461,8 +1248,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1483,8 +1268,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1507,8 +1290,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.VideoSegment va
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1532,8 +1313,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1554,8 +1333,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1576,8 +1353,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1590,7 +1365,8 @@ public Builder addAllSegments(
         java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1598,8 +1374,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1619,8 +1393,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1640,8 +1412,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1655,8 +1425,6 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1668,14 +1436,11 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
     public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1684,8 +1449,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1693,8 +1458,6 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1704,12 +1467,10 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1720,13 +1481,10 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1735,23 +1493,20 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment,
-            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1.VideoSegment,
-                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1759,58 +1514,41 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
 
     private com.google.cloud.videointelligence.v1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.LabelDetectionConfig,
-            com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>
-        labelDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ public com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1824,14 +1562,11 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder builderForValue) { @@ -1845,24 +1580,17 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder( - labelDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1874,14 +1602,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1895,127 +1620,90 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), getParentForChildren(), isClean()); + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), + getParentForChildren(), + isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> - shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2029,15 +1717,11 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder setShotChangeDetectionConfig( com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder builderForValue) { @@ -2051,25 +1735,17 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder( - shotChangeDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -2081,15 +1757,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -2103,132 +1775,90 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), getParentForChildren(), isClean()); + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), + getParentForChildren(), + isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null - || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2242,19 +1872,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -2265,25 +1890,17 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder( - explicitContentDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -2295,15 +1912,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -2317,67 +1930,48 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder - getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), + getParentForChildren(), + isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -2385,58 +1979,41 @@ public Builder clearExplicitContentDetectionConfig() { private com.google.cloud.videointelligence.v1.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> - faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - public Builder setFaceDetectionConfig( - com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2450,14 +2027,11 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder builderForValue) { @@ -2471,24 +2045,17 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - public Builder mergeFaceDetectionConfig( - com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder( - faceDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); } else { faceDetectionConfig_ = value; } @@ -2500,14 +2067,11 @@ public Builder mergeFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -2521,127 +2085,90 @@ public Builder clearFaceDetectionConfig() { return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder - getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), getParentForChildren(), isClean()); + faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), + getParentForChildren(), + isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> - speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2655,15 +2182,11 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder setSpeechTranscriptionConfig( com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder builderForValue) { @@ -2677,25 +2200,17 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder mergeSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder( - speechTranscriptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -2707,15 +2222,11 @@ public Builder mergeSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -2729,66 +2240,48 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder - getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); + speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), + getParentForChildren(), + isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; @@ -2796,58 +2289,41 @@ public Builder clearSpeechTranscriptionConfig() { private com.google.cloud.videointelligence.v1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> - textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - public Builder setTextDetectionConfig( - com.google.cloud.videointelligence.v1.TextDetectionConfig value) { + public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2861,14 +2337,11 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder builderForValue) { @@ -2882,24 +2355,17 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - public Builder mergeTextDetectionConfig( - com.google.cloud.videointelligence.v1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder( - textDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); } else { textDetectionConfig_ = value; } @@ -2911,14 +2377,11 @@ public Builder mergeTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -2932,63 +2395,48 @@ public Builder clearTextDetectionConfig() { return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder - getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), getParentForChildren(), isClean()); + textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), + getParentForChildren(), + isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; @@ -2996,58 +2444,41 @@ public Builder clearTextDetectionConfig() { private com.google.cloud.videointelligence.v1.PersonDetectionConfig personDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> - personDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> personDetectionConfigBuilder_; /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ public boolean hasPersonDetectionConfig() { return personDetectionConfigBuilder_ != null || personDetectionConfig_ != null; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ public com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() - : personDetectionConfig_; + return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } else { return personDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ - public Builder setPersonDetectionConfig( - com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { + public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3061,14 +2492,11 @@ public Builder setPersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ public Builder setPersonDetectionConfig( com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder builderForValue) { @@ -3082,24 +2510,17 @@ public Builder setPersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ - public Builder mergePersonDetectionConfig( - com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { + public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (personDetectionConfig_ != null) { personDetectionConfig_ = - com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder( - personDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder(personDetectionConfig_).mergeFrom(value).buildPartial(); } else { personDetectionConfig_ = value; } @@ -3111,14 +2532,11 @@ public Builder mergePersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ public Builder clearPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { @@ -3132,63 +2550,48 @@ public Builder clearPersonDetectionConfig() { return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ - public com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder - getPersonDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder getPersonDetectionConfigBuilder() { + onChanged(); return getPersonDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ - public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { if (personDetectionConfigBuilder_ != null) { return personDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() - : personDetectionConfig_; + return personDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> getPersonDetectionConfigFieldBuilder() { if (personDetectionConfigBuilder_ == null) { - personDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder>( - getPersonDetectionConfig(), getParentForChildren(), isClean()); + personDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder>( + getPersonDetectionConfig(), + getParentForChildren(), + isClean()); personDetectionConfig_ = null; } return personDetectionConfigBuilder_; @@ -3196,58 +2599,41 @@ public Builder clearPersonDetectionConfig() { private com.google.cloud.videointelligence.v1.ObjectTrackingConfig objectTrackingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> - objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ public boolean hasObjectTrackingConfig() { return objectTrackingConfigBuilder_ != null || objectTrackingConfig_ != null; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } else { return objectTrackingConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ - public Builder setObjectTrackingConfig( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { + public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3261,14 +2647,11 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ public Builder setObjectTrackingConfig( com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder builderForValue) { @@ -3282,24 +2665,17 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ - public Builder mergeObjectTrackingConfig( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (objectTrackingConfig_ != null) { objectTrackingConfig_ = - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder( - objectTrackingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder(objectTrackingConfig_).mergeFrom(value).buildPartial(); } else { objectTrackingConfig_ = value; } @@ -3311,14 +2687,11 @@ public Builder mergeObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -3332,70 +2705,55 @@ public Builder clearObjectTrackingConfig() { return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder - getObjectTrackingConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { + onChanged(); return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ - public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { if (objectTrackingConfigBuilder_ != null) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + return objectTrackingConfig_ == null ? + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { - objectTrackingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder>( - getObjectTrackingConfig(), getParentForChildren(), isClean()); + objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder>( + getObjectTrackingConfig(), + getParentForChildren(), + isClean()); objectTrackingConfig_ = null; } return objectTrackingConfigBuilder_; } - @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); } @@ -3405,12 +2763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoContext) private static final com.google.cloud.videointelligence.v1.VideoContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoContext(); } @@ -3419,16 +2777,16 @@ public static com.google.cloud.videointelligence.v1.VideoContext getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3443,4 +2801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java index 7810b1e07..b63834311 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface VideoContextOrBuilder - extends +public interface VideoContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -34,10 +16,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -48,8 +29,6 @@ public interface VideoContextOrBuilder
    */
   com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -60,8 +39,6 @@ public interface VideoContextOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -70,11 +47,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -83,321 +58,222 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
+  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; */ - com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; - * * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; - * * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ boolean hasPersonDetectionConfig(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; */ - com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; */ - com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..f7edf5e3a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java @@ -0,0 +1,771 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_Track_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/videointelligence/v1/vide" + + "o_intelligence.proto\022!google.cloud.video" + + "intelligence.v1\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032#google/longrunn" + + "ing/operations.proto\032\036google/protobuf/du" + + "ration.proto\032\037google/protobuf/timestamp." + + "proto\032\027google/rpc/status.proto\"\376\001\n\024Annot" + + "ateVideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rin" + + "put_content\030\006 \001(\014\022A\n\010features\030\002 \003(\0162*.go" + + "ogle.cloud.videointelligence.v1.FeatureB" + + "\003\340A\002\022F\n\rvideo_context\030\003 \001(\0132/.google.clo" + + "ud.videointelligence.v1.VideoContext\022\027\n\n" + + "output_uri\030\004 \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001" + + "(\tB\003\340A\001\"\301\006\n\014VideoContext\022A\n\010segments\030\001 \003" + + "(\0132/.google.cloud.videointelligence.v1.V" + + "ideoSegment\022W\n\026label_detection_config\030\002 " + + "\001(\01327.google.cloud.videointelligence.v1." + + "LabelDetectionConfig\022b\n\034shot_change_dete" + + "ction_config\030\003 \001(\0132<.google.cloud.videoi" + + "ntelligence.v1.ShotChangeDetectionConfig" + + "\022l\n!explicit_content_detection_config\030\004 " + + "\001(\0132A.google.cloud.videointelligence.v1." + + "ExplicitContentDetectionConfig\022U\n\025face_d" + + "etection_config\030\005 \001(\01326.google.cloud.vid" + + "eointelligence.v1.FaceDetectionConfig\022a\n" + + "\033speech_transcription_config\030\006 \001(\0132<.goo" + + "gle.cloud.videointelligence.v1.SpeechTra" + + "nscriptionConfig\022U\n\025text_detection_confi" + + "g\030\010 \001(\01326.google.cloud.videointelligence" + + ".v1.TextDetectionConfig\022Y\n\027person_detect" + + "ion_config\030\013 \001(\01328.google.cloud.videoint" + + "elligence.v1.PersonDetectionConfig\022W\n\026ob" + + "ject_tracking_config\030\r \001(\01327.google.clou" + + "d.videointelligence.v1.ObjectTrackingCon" + + "fig\"\335\001\n\024LabelDetectionConfig\022S\n\024label_de" + + "tection_mode\030\001 \001(\01625.google.cloud.videoi" + + "ntelligence.v1.LabelDetectionMode\022\031\n\021sta" + + "tionary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\022\"\n\032f" + + "rame_confidence_threshold\030\004 \001(\002\022\"\n\032video" + + "_confidence_threshold\030\005 \001(\002\"*\n\031ShotChang" + + "eDetectionConfig\022\r\n\005model\030\001 \001(\t\"%\n\024Objec" + + "tTrackingConfig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDe" + + "tectionConfig\022\r\n\005model\030\001 \001(\t\022\036\n\026include_" + + "bounding_boxes\030\002 \001(\010\022\032\n\022include_attribut" + + "es\030\005 \001(\010\"s\n\025PersonDetectionConfig\022\036\n\026inc" + + "lude_bounding_boxes\030\001 \001(\010\022\036\n\026include_pos" + + "e_landmarks\030\002 \001(\010\022\032\n\022include_attributes\030" + + "\003 \001(\010\"/\n\036ExplicitContentDetectionConfig\022" + + "\r\n\005model\030\001 \001(\t\"<\n\023TextDetectionConfig\022\026\n" + + "\016language_hints\030\001 \003(\t\022\r\n\005model\030\002 \001(\t\"x\n\014" + + "VideoSegment\0224\n\021start_time_offset\030\001 \001(\0132" + + "\031.google.protobuf.Duration\0222\n\017end_time_o" + + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"d" + + "\n\014LabelSegment\022@\n\007segment\030\001 \001(\0132/.google" + + ".cloud.videointelligence.v1.VideoSegment" + + "\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelFrame\022.\n\013ti" + + "me_offset\030\001 \001(\0132\031.google.protobuf.Durati" + + "on\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\tenti" + + "ty_id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\025\n\rlang" + + "uage_code\030\003 \001(\t\"\245\002\n\017LabelAnnotation\0229\n\006e" + + "ntity\030\001 \001(\0132).google.cloud.videointellig" + + "ence.v1.Entity\022D\n\021category_entities\030\002 \003(" + + "\0132).google.cloud.videointelligence.v1.En" + + "tity\022A\n\010segments\030\003 \003(\0132/.google.cloud.vi" + + "deointelligence.v1.LabelSegment\022=\n\006frame" + + "s\030\004 \003(\0132-.google.cloud.videointelligence" + + ".v1.LabelFrame\022\017\n\007version\030\005 \001(\t\"\225\001\n\024Expl" + + "icitContentFrame\022.\n\013time_offset\030\001 \001(\0132\031." + + "google.protobuf.Duration\022M\n\026pornography_" + + "likelihood\030\002 \001(\0162-.google.cloud.videoint" + + "elligence.v1.Likelihood\"u\n\031ExplicitConte" + + "ntAnnotation\022G\n\006frames\030\001 \003(\01327.google.cl" + + "oud.videointelligence.v1.ExplicitContent" + + "Frame\022\017\n\007version\030\002 \001(\t\"Q\n\025NormalizedBoun" + + "dingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005ri" + + "ght\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"w\n\027FaceDetecti" + + "onAnnotation\0228\n\006tracks\030\003 \003(\0132(.google.cl" + + "oud.videointelligence.v1.Track\022\021\n\tthumbn" + + "ail\030\004 \001(\014\022\017\n\007version\030\005 \001(\t\"f\n\031PersonDete" + + "ctionAnnotation\0228\n\006tracks\030\001 \003(\0132(.google" + + ".cloud.videointelligence.v1.Track\022\017\n\007ver" + + "sion\030\002 \001(\t\"O\n\013FaceSegment\022@\n\007segment\030\001 \001" + + "(\0132/.google.cloud.videointelligence.v1.V" + + "ideoSegment\"\234\001\n\tFaceFrame\022[\n\031normalized_" + + "bounding_boxes\030\001 \003(\01328.google.cloud.vide" + + "ointelligence.v1.NormalizedBoundingBox\022." + + "\n\013time_offset\030\002 \001(\0132\031.google.protobuf.Du" + + "ration:\002\030\001\"\247\001\n\016FaceAnnotation\022\021\n\tthumbna" + + "il\030\001 \001(\014\022@\n\010segments\030\002 \003(\0132..google.clou" + + "d.videointelligence.v1.FaceSegment\022<\n\006fr" + + "ames\030\003 \003(\0132,.google.cloud.videointellige" + + "nce.v1.FaceFrame:\002\030\001\"\272\002\n\021TimestampedObje" + + "ct\022Y\n\027normalized_bounding_box\030\001 \001(\01328.go" + + "ogle.cloud.videointelligence.v1.Normaliz" + + "edBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031.goo" + + "gle.protobuf.Duration\022M\n\nattributes\030\003 \003(" + + "\01324.google.cloud.videointelligence.v1.De" + + "tectedAttributeB\003\340A\001\022K\n\tlandmarks\030\004 \003(\0132" + + "3.google.cloud.videointelligence.v1.Dete" + + "ctedLandmarkB\003\340A\001\"\204\002\n\005Track\022@\n\007segment\030\001" + + " \001(\0132/.google.cloud.videointelligence.v1" + + ".VideoSegment\022Q\n\023timestamped_objects\030\002 \003" + + "(\01324.google.cloud.videointelligence.v1.T" + + "imestampedObject\022M\n\nattributes\030\003 \003(\01324.g" + + "oogle.cloud.videointelligence.v1.Detecte" + + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"x\n\020Detect" + + "edLandmark\022\014\n\004name\030\001 \001(\t\022B\n\005point\030\002 \001(\0132" + + "3.google.cloud.videointelligence.v1.Norm" + + "alizedVertex\022\022\n\nconfidence\030\003 \001(\002\"\351\n\n\026Vid" + + "eoAnnotationResults\022\021\n\tinput_uri\030\001 \001(\t\022@" + + "\n\007segment\030\n \001(\0132/.google.cloud.videointe" + + "lligence.v1.VideoSegment\022U\n\031segment_labe" + + "l_annotations\030\002 \003(\01322.google.cloud.video" + + "intelligence.v1.LabelAnnotation\022^\n\"segme" + + "nt_presence_label_annotations\030\027 \003(\01322.go" + + "ogle.cloud.videointelligence.v1.LabelAnn" + + "otation\022R\n\026shot_label_annotations\030\003 \003(\0132" + + "2.google.cloud.videointelligence.v1.Labe" + + "lAnnotation\022[\n\037shot_presence_label_annot" + + "ations\030\030 \003(\01322.google.cloud.videointelli" + + "gence.v1.LabelAnnotation\022S\n\027frame_label_" + + "annotations\030\004 \003(\01322.google.cloud.videoin" + + "telligence.v1.LabelAnnotation\022O\n\020face_an" + + "notations\030\005 \003(\01321.google.cloud.videointe" + + "lligence.v1.FaceAnnotationB\002\030\001\022^\n\032face_d" + + "etection_annotations\030\r \003(\0132:.google.clou" + + "d.videointelligence.v1.FaceDetectionAnno" + + "tation\022I\n\020shot_annotations\030\006 \003(\0132/.googl" + + "e.cloud.videointelligence.v1.VideoSegmen" + + "t\022Y\n\023explicit_annotation\030\007 \001(\0132<.google." + + "cloud.videointelligence.v1.ExplicitConte" + + "ntAnnotation\022U\n\025speech_transcriptions\030\013 " + + "\003(\01326.google.cloud.videointelligence.v1." + + "SpeechTranscription\022K\n\020text_annotations\030" + + "\014 \003(\01321.google.cloud.videointelligence.v" + + "1.TextAnnotation\022W\n\022object_annotations\030\016" + + " \003(\0132;.google.cloud.videointelligence.v1" + + ".ObjectTrackingAnnotation\022b\n\034logo_recogn" + + "ition_annotations\030\023 \003(\0132<.google.cloud.v" + + "ideointelligence.v1.LogoRecognitionAnnot" + + "ation\022b\n\034person_detection_annotations\030\024 " + + "\003(\0132<.google.cloud.videointelligence.v1." + + "PersonDetectionAnnotation\022!\n\005error\030\t \001(\013" + + "2\022.google.rpc.Status\"n\n\025AnnotateVideoRes" + + "ponse\022U\n\022annotation_results\030\001 \003(\01329.goog" + + "le.cloud.videointelligence.v1.VideoAnnot" + + "ationResults\"\246\002\n\027VideoAnnotationProgress" + + "\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_percent\030" + + "\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022;\n\007feature\030\005 \001(\0162" + + "*.google.cloud.videointelligence.v1.Feat" + + "ure\022@\n\007segment\030\006 \001(\0132/.google.cloud.vide" + + "ointelligence.v1.VideoSegment\"p\n\025Annotat" + + "eVideoProgress\022W\n\023annotation_progress\030\001 " + + "\003(\0132:.google.cloud.videointelligence.v1." + + "VideoAnnotationProgress\"\201\003\n\031SpeechTransc" + + "riptionConfig\022\032\n\rlanguage_code\030\001 \001(\tB\003\340A" + + "\002\022\035\n\020max_alternatives\030\002 \001(\005B\003\340A\001\022\035\n\020filt" + + "er_profanity\030\003 \001(\010B\003\340A\001\022N\n\017speech_contex" + + "ts\030\004 \003(\01320.google.cloud.videointelligenc" + + "e.v1.SpeechContextB\003\340A\001\022)\n\034enable_automa" + + "tic_punctuation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_trac" + + "ks\030\006 \003(\005B\003\340A\001\022\'\n\032enable_speaker_diarizat" + + "ion\030\007 \001(\010B\003\340A\001\022&\n\031diarization_speaker_co" + + "unt\030\010 \001(\005B\003\340A\001\022#\n\026enable_word_confidence" + + "\030\t \001(\010B\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030" + + "\001 \003(\tB\003\340A\001\"\210\001\n\023SpeechTranscription\022U\n\014al" + + "ternatives\030\001 \003(\0132?.google.cloud.videoint" + + "elligence.v1.SpeechRecognitionAlternativ" + + "e\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\214\001\n\034Speech" + + "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" + + "(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022?\n\005words\030\003 \003" + + "(\0132+.google.cloud.videointelligence.v1.W" + + "ordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_time\030" + + "\001 \001(\0132\031.google.protobuf.Duration\022+\n\010end_" + + "time\030\002 \001(\0132\031.google.protobuf.Duration\022\014\n" + + "\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A\003\022\030\n\013" + + "speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020NormalizedVert" + + "ex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"_\n\026NormalizedBo" + + "undingPoly\022E\n\010vertices\030\001 \003(\01323.google.cl" + + "oud.videointelligence.v1.NormalizedVerte" + + "x\"\241\001\n\013TextSegment\022@\n\007segment\030\001 \001(\0132/.goo" + + "gle.cloud.videointelligence.v1.VideoSegm" + + "ent\022\022\n\nconfidence\030\002 \001(\002\022<\n\006frames\030\003 \003(\0132" + + ",.google.cloud.videointelligence.v1.Text" + + "Frame\"\224\001\n\tTextFrame\022W\n\024rotated_bounding_" + + "box\030\001 \001(\01329.google.cloud.videointelligen" + + "ce.v1.NormalizedBoundingPoly\022.\n\013time_off" + + "set\030\002 \001(\0132\031.google.protobuf.Duration\"q\n\016" + + "TextAnnotation\022\014\n\004text\030\001 \001(\t\022@\n\010segments" + + "\030\002 \003(\0132..google.cloud.videointelligence." + + "v1.TextSegment\022\017\n\007version\030\003 \001(\t\"\240\001\n\023Obje" + + "ctTrackingFrame\022Y\n\027normalized_bounding_b" + + "ox\030\001 \001(\01328.google.cloud.videointelligenc" + + "e.v1.NormalizedBoundingBox\022.\n\013time_offse" + + "t\030\002 \001(\0132\031.google.protobuf.Duration\"\250\002\n\030O" + + "bjectTrackingAnnotation\022B\n\007segment\030\003 \001(\013" + + "2/.google.cloud.videointelligence.v1.Vid" + + "eoSegmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\0229\n\006entit" + + "y\030\001 \001(\0132).google.cloud.videointelligence" + + ".v1.Entity\022\022\n\nconfidence\030\004 \001(\002\022F\n\006frames" + + "\030\002 \003(\01326.google.cloud.videointelligence." + + "v1.ObjectTrackingFrame\022\017\n\007version\030\006 \001(\tB" + + "\014\n\ntrack_info\"\323\001\n\031LogoRecognitionAnnotat" + + "ion\0229\n\006entity\030\001 \001(\0132).google.cloud.video" + + "intelligence.v1.Entity\0228\n\006tracks\030\002 \003(\0132(" + + ".google.cloud.videointelligence.v1.Track" + + "\022A\n\010segments\030\003 \003(\0132/.google.cloud.videoi" + + "ntelligence.v1.VideoSegment*\365\001\n\007Feature\022" + + "\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECT" + + "ION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPL" + + "ICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTI" + + "ON\020\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_D" + + "ETECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_" + + "RECOGNITION\020\014\022\024\n\020PERSON_DETECTION\020\016*r\n\022L" + + "abelDetectionMode\022$\n LABEL_DETECTION_MOD" + + "E_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_" + + "MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikel" + + "ihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVER" + + "Y_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003" + + "\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\300\002\n\030VideoI" + + "ntelligenceService\022\315\001\n\rAnnotateVideo\0227.g" + + "oogle.cloud.videointelligence.v1.Annotat" + + "eVideoRequest\032\035.google.longrunning.Opera" + + "tion\"d\202\323\344\223\002\030\"\023/v1/videos:annotate:\001*\332A\022i" + + "nput_uri,features\312A.\n\025AnnotateVideoRespo" + + "nse\022\025AnnotateVideoProgress\032T\312A videointe" + + "lligence.googleapis.com\322A.https://www.go" + + "ogleapis.com/auth/cloud-platformB\213\002\n%com" + + ".google.cloud.videointelligence.v1B\035Vide" + + "oIntelligenceServiceProtoP\001ZRgoogle.gola" + + "ng.org/genproto/googleapis/cloud/videoin" + + "telligence/v1;videointelligence\252\002!Google" + + ".Cloud.VideoIntelligence.V1\312\002!Google\\Clo" + + "ud\\VideoIntelligence\\V1\352\002$Google::Cloud:" + + ":VideoIntelligence::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor, + new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", "SpeechTranscriptionConfig", "TextDetectionConfig", "PersonDetectionConfig", "ObjectTrackingConfig", }); + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor, + new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", "FrameConfidenceThreshold", "VideoConfidenceThreshold", }); + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor, + new java.lang.String[] { "Model", "IncludeBoundingBoxes", "IncludeAttributes", }); + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor, + new java.lang.String[] { "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor, + new java.lang.String[] { "LanguageHints", "Model", }); + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor, + new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", }); + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor, + new java.lang.String[] { "TimeOffset", "Confidence", }); + internal_static_google_cloud_videointelligence_v1_Entity_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_Entity_descriptor, + new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor, + new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", "Version", }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor, + new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { "Frames", "Version", }); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor, + new java.lang.String[] { "Tracks", "Thumbnail", "Version", }); + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor, + new java.lang.String[] { "Tracks", "Version", }); + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor, + new java.lang.String[] { "Segment", }); + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor, + new java.lang.String[] { "NormalizedBoundingBoxes", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor, + new java.lang.String[] { "Thumbnail", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor, + new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", }); + internal_static_google_cloud_videointelligence_v1_Track_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_Track_descriptor, + new java.lang.String[] { "Segment", "TimestampedObjects", "Attributes", "Confidence", }); + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor, + new java.lang.String[] { "Name", "Confidence", "Value", }); + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor, + new java.lang.String[] { "Name", "Point", "Confidence", }); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor, + new java.lang.String[] { "InputUri", "Segment", "SegmentLabelAnnotations", "SegmentPresenceLabelAnnotations", "ShotLabelAnnotations", "ShotPresenceLabelAnnotations", "FrameLabelAnnotations", "FaceAnnotations", "FaceDetectionAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "TextAnnotations", "ObjectAnnotations", "LogoRecognitionAnnotations", "PersonDetectionAnnotations", "Error", }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { "AnnotationResults", }); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { "AnnotationProgress", }); + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", "EnableSpeakerDiarization", "DiarizationSpeakerCount", "EnableWordConfidence", }); + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor, + new java.lang.String[] { "Phrases", }); + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor, + new java.lang.String[] { "Alternatives", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { "Transcript", "Confidence", "Words", }); + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", }); + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor, + new java.lang.String[] { "X", "Y", }); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { "Vertices", }); + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", "Frames", }); + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor, + new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor, + new java.lang.String[] { "Text", "Segments", "Version", }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "Version", "TrackInfo", }); + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor, + new java.lang.String[] { "Entity", "Tracks", "Segments", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java index ee0a218ee..dccf86634 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** - * - * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoSegment} */ -public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoSegment) VideoSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoSegment() {} + private VideoSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private VideoSegment( 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(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 18: - { - 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; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private VideoSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoSegment.class, - com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1.VideoSegment.class, com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -153,26 +128,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -188,15 +156,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -204,26 +169,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -237,7 +195,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,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());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.videointelligence.v1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoSegment other =
-        (com.google.cloud.videointelligence.v1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1.VideoSegment other = (com.google.cloud.videointelligence.v1.VideoSegment) obj;
 
     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;
@@ -320,126 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoSegment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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;
   }
   /**
-   *
-   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoSegment} */ - 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.videointelligence.v1.VideoSegment) com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoSegment.class, - com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1.VideoSegment.class, com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoSegment.newBuilder() @@ -447,15 +399,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(); @@ -475,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override @@ -496,8 +449,7 @@ public com.google.cloud.videointelligence.v1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1.VideoSegment result = - new com.google.cloud.videointelligence.v1.VideoSegment(this); + com.google.cloud.videointelligence.v1.VideoSegment result = new com.google.cloud.videointelligence.v1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -516,39 +468,38 @@ public com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment)other); } else { super.mergeFrom(other); return this; @@ -556,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -583,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,49 +545,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_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -660,8 +596,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -669,7 +603,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();
@@ -680,8 +615,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -693,9 +626,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;
         }
@@ -707,8 +638,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -728,8 +657,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -738,13 +665,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -756,14 +681,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -772,17 +694,14 @@ 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_;
@@ -790,49 +709,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_;
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -854,8 +760,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -863,7 +767,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -874,8 +779,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -887,9 +790,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;
         }
@@ -901,8 +802,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -922,8 +821,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -932,13 +829,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -950,14 +845,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -966,24 +858,21 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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> 
         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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -993,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1.VideoSegment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoSegment();
   }
@@ -1007,16 +896,16 @@ public static com.google.cloud.videointelligence.v1.VideoSegment getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoSegment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoSegment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoSegment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoSegment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1031,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
index 8b957cda7..d4af0b3eb 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoSegmentOrBuilder
-    extends
+public interface VideoSegmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -62,34 +38,26 @@ public interface VideoSegmentOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
similarity index 78%
rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
index 6652343b0..4b76317aa 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
+++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
- *
- *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.WordInfo}
  */
-public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WordInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.WordInfo)
     WordInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,60 +55,55 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              word_ = s;
-              break;
-            }
-          case 37:
-            {
-              confidence_ = input.readFloat();
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          case 40:
-            {
-              speakerTag_ = input.readInt32();
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            word_ = s;
+            break;
+          }
+          case 37: {
+
+            confidence_ = input.readFloat();
+            break;
+          }
+          case 40: {
+
+            speakerTag_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -133,33 +111,29 @@ private WordInfo(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.WordInfo.class,
-            com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1.WordInfo.class, com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -168,7 +142,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -176,8 +149,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -186,7 +157,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -194,8 +164,6 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -213,8 +181,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -223,7 +189,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -231,8 +196,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -241,7 +204,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -249,8 +211,6 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -268,14 +228,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
-   *
-   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ @java.lang.Override @@ -284,29 +241,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** - * - * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -317,8 +274,6 @@ public com.google.protobuf.ByteString getWordBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -329,7 +284,6 @@ public com.google.protobuf.ByteString getWordBytes() {
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -340,8 +294,6 @@ public float getConfidence() { public static final int SPEAKER_TAG_FIELD_NUMBER = 5; private int speakerTag_; /** - * - * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -350,7 +302,6 @@ public float getConfidence() {
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ @java.lang.Override @@ -359,7 +310,6 @@ public int getSpeakerTag() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +321,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -397,19 +348,23 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } if (speakerTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, speakerTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, speakerTag_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -419,26 +374,30 @@ 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.videointelligence.v1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.WordInfo other = - (com.google.cloud.videointelligence.v1.WordInfo) obj; + com.google.cloud.videointelligence.v1.WordInfo other = (com.google.cloud.videointelligence.v1.WordInfo) obj; 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 (!getWord().equals(other.getWord())) return false; + if (!getWord() + .equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (getSpeakerTag() != other.getSpeakerTag()) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (getSpeakerTag() + != other.getSpeakerTag()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -461,7 +420,8 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (37 * hash) + SPEAKER_TAG_FIELD_NUMBER; hash = (53 * hash) + getSpeakerTag(); hash = (29 * hash) + unknownFields.hashCode(); @@ -469,104 +429,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.WordInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.WordInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1.WordInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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; } /** - * - * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -575,23 +528,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.WordInfo}
    */
-  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.videointelligence.v1.WordInfo)
       com.google.cloud.videointelligence.v1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.WordInfo.class,
-              com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1.WordInfo.class, com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.WordInfo.newBuilder()
@@ -599,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();
@@ -633,9 +585,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -654,8 +606,7 @@ public com.google.cloud.videointelligence.v1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1.WordInfo result =
-          new com.google.cloud.videointelligence.v1.WordInfo(this);
+      com.google.cloud.videointelligence.v1.WordInfo result = new com.google.cloud.videointelligence.v1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -677,39 +628,38 @@ public com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.WordInfo) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.WordInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -765,13 +715,8 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -780,15 +725,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -797,7 +739,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -808,8 +749,6 @@ public com.google.protobuf.Duration getStartTime() { } } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -833,8 +772,6 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -844,7 +781,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -855,8 +793,6 @@ public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -870,7 +806,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -882,8 +818,6 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -905,8 +839,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -917,13 +849,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -937,12 +867,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -953,17 +882,14 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -971,13 +897,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -986,15 +907,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1003,7 +921,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -1014,8 +931,6 @@ public com.google.protobuf.Duration getEndTime() { } } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1039,8 +954,6 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1050,7 +963,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1061,8 +975,6 @@ public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1076,7 +988,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1088,8 +1000,6 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1111,8 +1021,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1123,13 +1031,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1143,12 +1049,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1159,17 +1064,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1177,20 +1079,18 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
-     *
-     *
      * 
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1199,21 +1099,20 @@ public java.lang.String getWord() { } } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The bytes for word. */ - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1221,70 +1120,61 @@ public com.google.protobuf.ByteString getWordBytes() { } } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord(java.lang.String value) { + public Builder setWord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes(com.google.protobuf.ByteString value) { + public Builder setWordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1295,7 +1185,6 @@ public Builder setWordBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -1303,8 +1192,6 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1315,19 +1202,16 @@ public float getConfidence() {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1338,20 +1222,17 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private int speakerTag_; + private int speakerTag_ ; /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1360,7 +1241,6 @@ public Builder clearConfidence() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ @java.lang.Override @@ -1368,8 +1248,6 @@ public int getSpeakerTag() { return speakerTag_; } /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1378,19 +1256,16 @@ public int getSpeakerTag() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The speakerTag to set. * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { - + speakerTag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1399,18 +1274,17 @@ public Builder setSpeakerTag(int value) {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSpeakerTag() { - + speakerTag_ = 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); } @@ -1420,12 +1294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.WordInfo) private static final com.google.cloud.videointelligence.v1.WordInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.WordInfo(); } @@ -1434,16 +1308,16 @@ public static com.google.cloud.videointelligence.v1.WordInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1458,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java index b8e379804..574210b78 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface WordInfoOrBuilder - extends +public interface WordInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.WordInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -34,13 +16,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -49,13 +28,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -68,8 +44,6 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -78,13 +52,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -93,13 +64,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -112,33 +80,26 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ java.lang.String getWord(); /** - * - * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ - com.google.protobuf.ByteString getWordBytes(); + com.google.protobuf.ByteString + getWordBytes(); /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -149,14 +110,11 @@ public interface WordInfoOrBuilder
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -165,7 +123,6 @@ public interface WordInfoOrBuilder
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ int getSpeakerTag(); diff --git a/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto similarity index 100% rename from proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto rename to owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..8c8d9a4de --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1.stub.samples; + +// [START videointelligence_v1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1.stub.VideoIntelligenceServiceStubSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceStubSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceStubSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceStubSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java new file mode 100644 index 000000000..e4cdf0bb0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java @@ -0,0 +1,56 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.videointelligence.v1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1.Feature; +import com.google.cloud.videointelligence.v1.VideoContext; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.longrunning.Operation; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideo(); + } + + public static void asyncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + ApiFuture future = + videoIntelligenceServiceClient.annotateVideoCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java new file mode 100644 index 000000000..65f58d9f8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -0,0 +1,57 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.videointelligence.v1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1.Feature; +import com.google.cloud.videointelligence.v1.VideoContext; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideoLRO { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideoLRO(); + } + + public static void asyncAnnotateVideoLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + OperationFuture future = + videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + // Do something. + AnnotateVideoResponse response = future.get(); + } + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..b9566eedb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,53 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_sync] +import com.google.cloud.videointelligence.v1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1.Feature; +import com.google.cloud.videointelligence.v1.VideoContext; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(request).get(); + } + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java new file mode 100644 index 000000000..5e828421e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -0,0 +1,44 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1.Feature; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import java.util.ArrayList; +import java.util.List; + +public class SyncAnnotateVideoStringListfeature { + + public static void main(String[] args) throws Exception { + syncAnnotateVideoStringListfeature(); + } + + public static void syncAnnotateVideoStringListfeature() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get(); + } + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000..3963d0877 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,42 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 000000000..f252944c4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,41 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000..9db516e9d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,39 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setendpoint_sync] +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..30b9aa63e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1.samples; + +// [START videointelligence_v1_generated_videointelligenceservicesettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1_generated_videointelligenceservicesettings_annotatevideo_sync] diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 2299ee3cd..15eaab77b 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java @@ -18,13 +18,13 @@ import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.videointelligence.v1beta2.stub.VideoIntelligenceServiceStub; import com.google.cloud.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; @@ -57,13 +57,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. *
* @@ -100,6 +100,21 @@ * VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); * }
* + *

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.
+ * VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+ *     VideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+ *     VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -107,7 +122,8 @@ public class VideoIntelligenceServiceClient implements BackgroundResource { private final VideoIntelligenceServiceSettings settings; private final VideoIntelligenceServiceStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of VideoIntelligenceServiceClient with default settings. */ public static final VideoIntelligenceServiceClient create() throws IOException { @@ -141,13 +157,17 @@ protected VideoIntelligenceServiceClient(VideoIntelligenceServiceSettings settin throws IOException { this.settings = settings; this.stub = ((VideoIntelligenceServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected VideoIntelligenceServiceClient(VideoIntelligenceServiceStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final VideoIntelligenceServiceSettings getSettings() { @@ -162,10 +182,18 @@ public VideoIntelligenceServiceStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Performs asynchronous video annotation. Progress and results can be retrieved through the diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java index 825dcfee2..f502caf25 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java @@ -21,10 +21,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.OperationCallSettings; +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.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings; @@ -40,10 +42,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -111,11 +113,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return VideoIntelligenceServiceStubSettings.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 VideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return VideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return VideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -125,11 +134,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return VideoIntelligenceServiceStubSettings.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); @@ -168,6 +183,11 @@ private static Builder createDefault() { return new Builder(VideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(VideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((VideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..49d8c6aeb --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.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.videointelligence.v1beta2.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 VideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceCallableFactory + 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/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..6e953e012 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -0,0 +1,231 @@ +/* + * 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.videointelligence.v1beta2.stub; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse; +import com.google.longrunning.Operation; +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 VideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(AnnotateVideoResponse.getDescriptor()) + .add(AnnotateVideoProgress.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + annotateVideoMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.videointelligence.v1beta2.VideoIntelligenceService/AnnotateVideo") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/videos:annotate", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AnnotateVideoRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable annotateVideoCallable; + private final OperationCallable< + AnnotateVideoRequest, AnnotateVideoResponse, AnnotateVideoProgress> + annotateVideoOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonVideoIntelligenceServiceStub create( + VideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonVideoIntelligenceServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings annotateVideoTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(annotateVideoMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.annotateVideoCallable = + callableFactory.createUnaryCallable( + annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext); + this.annotateVideoOperationCallable = + callableFactory.createOperationCallable( + annotateVideoTransportSettings, + settings.annotateVideoOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(annotateVideoMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable annotateVideoCallable() { + return annotateVideoCallable; + } + + @Override + public OperationCallable + annotateVideoOperationCallable() { + return annotateVideoOperationCallable; + } + + @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-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java similarity index 93% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java index 3f91dc33a..a2f82df71 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java @@ -38,7 +38,11 @@ public abstract class VideoIntelligenceServiceStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java similarity index 84% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java index 5ff0cdeaf..186cedaf6 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java @@ -25,6 +25,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +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.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -55,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -114,6 +117,11 @@ public VideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -146,18 +154,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(VideoIntelligenceServiceStubSettings.class)) @@ -165,11 +180,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(VideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return VideoIntelligenceServiceStubSettings.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); @@ -266,6 +300,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 .annotateVideoSettings() diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..3290aea16 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * 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.videointelligence.v1beta2; + +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.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.videointelligence.v1beta2.stub.HttpJsonVideoIntelligenceServiceStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +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 VideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static VideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonVideoIntelligenceServiceStub.getMethodDescriptors(), + VideoIntelligenceServiceSettings.getDefaultEndpoint()); + VideoIntelligenceServiceSettings settings = + VideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = VideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void annotateVideoTest() throws Exception { + AnnotateVideoResponse expectedResponse = + AnnotateVideoResponse.newBuilder() + .addAllAnnotationResults(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("annotateVideoTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + + AnnotateVideoResponse actualResponse = client.annotateVideoAsync(inputUri, features).get(); + 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 annotateVideoExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + client.annotateVideoAsync(inputUri, features).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java diff --git a/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java similarity index 56% rename from grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java rename to owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java index d42eef814..8366729e7 100644 --- a/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.videointelligence.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -32,110 +15,92 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"; + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { + io.grpc.MethodDescriptor getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) - == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = - getAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -143,36 +108,32 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, - com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, + com.google.longrunning.Operation>( + this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -183,8 +144,6 @@ protected VideoIntelligenceServiceStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -192,25 +151,19 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -223,8 +176,6 @@ protected VideoIntelligenceServiceBlockingStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -232,22 +183,18 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -260,8 +207,6 @@ protected VideoIntelligenceServiceFutureStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -269,8 +214,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture annotateVideo( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -278,11 +223,11 @@ protected VideoIntelligenceServiceFutureStub build( private static final int METHODID_ANNOTATE_VIDEO = 0; - 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 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -296,8 +241,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo( - (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) request, + serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -316,15 +260,13 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .getDescriptor(); + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor(); } @java.lang.Override @@ -361,12 +303,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java similarity index 62% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java index 22e1ca8c2..9ffb06920 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationProgress_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationProgress_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationProgress_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationProgress_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -110,108 +89,80 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class,
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationProgress_;
+  private java.util.List annotationProgress_;
   /**
-   *
-   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> + public java.util.List getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index) { return annotationProgress_.get(index); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1beta2.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other = - (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList() + .equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,104 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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; } /** - * - * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -384,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoProgress}
    */
-  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.videointelligence.v1beta2.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class,
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.newBuilder()
@@ -408,17 +350,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) {
         getAnnotationProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,14 +374,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance();
     }
 
@@ -454,8 +395,7 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress result =
-          new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -474,50 +414,46 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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) {
+        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.videointelligence.v1beta2.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other) {
-      if (other
-          == com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other) {
+      if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -536,10 +472,9 @@ public Builder mergeFrom(
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationProgressFieldBuilder()
-                    : null;
+            annotationProgressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationProgressFieldBuilder() : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -564,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -575,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationProgress_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationProgress_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>(
-                annotationProgress_);
+        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress,
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder,
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>
-        annotationProgressBuilder_;
+        com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
 
     /**
-     *
-     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -617,15 +537,11 @@ private void ensureAnnotationProgressIsMutable() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -635,18 +551,13 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -654,15 +565,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnn } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { @@ -679,20 +586,14 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -703,18 +604,13 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { + public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -728,15 +624,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { @@ -753,19 +645,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - builderForValue) { + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -776,20 +663,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -800,23 +681,18 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAllAnnotationProgress( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress> - values) { + java.lang.Iterable values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -824,15 +700,11 @@ public Builder addAllAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -845,15 +717,11 @@ public Builder clearAnnotationProgress() { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -866,53 +734,39 @@ public Builder removeAnnotationProgress(int index) { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - getAnnotationProgressBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( + int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); - } else { + return annotationProgress_.get(index); } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList() { + public java.util.List + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -920,70 +774,45 @@ public Builder removeAnnotationProgress(int index) { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder(int index) { - return getAnnotationProgressFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( + int index) { + return getAnnotationProgressFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder> - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -992,9 +821,9 @@ public Builder removeAnnotationProgress(int index) { } return annotationProgressBuilder_; } - @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); } @@ -1004,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..c145c18b6 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public interface AnnotateVideoProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + */ + int getAnnotationProgressCount(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java index 3ad08abb8..313d687f1 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotateVideoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -47,15 +29,16 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,81 +58,72 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { + features_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - features_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 26: { + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.VideoContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); - } - - break; + videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: - { - inputContent_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputUri_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + case 50: { + + inputContent_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,7 +131,8 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -166,27 +141,22 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -202,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -211,15 +180,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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -235,15 +203,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; - * * @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 { @@ -254,8 +223,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -263,7 +230,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -274,50 +240,34 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature> - features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature> features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>() { - public com.google.cloud.videointelligence.v1beta2.Feature convert( - java.lang.Integer from) { + public com.google.cloud.videointelligence.v1beta2.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Feature result = - com.google.cloud.videointelligence.v1beta2.Feature.valueOf(from); - return result == null - ? com.google.cloud.videointelligence.v1beta2.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1beta2.Feature result = com.google.cloud.videointelligence.v1beta2.Feature.valueOf(from); + return result == null ? com.google.cloud.videointelligence.v1beta2.Feature.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>(features_, features_converter_); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ @java.lang.Override @@ -325,16 +275,11 @@ public int getFeaturesCount() { return features_.size(); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -343,33 +288,24 @@ public com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index) return features_converter_.convert(features_.get(index)); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return features_; } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -377,20 +313,16 @@ public java.util.List getFeaturesValueList() { public int getFeaturesValue(int index) { return features_.get(index); } - private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1beta2.VideoContext videoContext_; /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -398,25 +330,18 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -424,16 +349,13 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -445,7 +367,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext()
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ @java.lang.Override @@ -454,15 +375,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; } } /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -474,15 +394,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -493,8 +414,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -502,7 +421,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ @java.lang.Override @@ -511,15 +429,14 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -527,15 +444,16 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -544,7 +462,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,7 +473,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -595,17 +513,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -614,7 +533,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -624,23 +544,27 @@ 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.videointelligence.v1beta2.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext().equals(other.getVideoContext())) return false; + if (!getVideoContext() + .equals(other.getVideoContext())) return false; } - if (!getOutputUri().equals(other.getOutputUri())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOutputUri() + .equals(other.getOutputUri())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -674,127 +598,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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; } /** - * - * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoRequest} */ - 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.videointelligence.v1beta2.AnnotateVideoRequest) com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.newBuilder() @@ -802,15 +716,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(); @@ -834,14 +749,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance(); } @@ -856,8 +770,7 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest result = - new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -881,50 +794,46 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest buildPart 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.videointelligence.v1beta2.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other) { - if (other - == com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other) { + if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -972,9 +881,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -983,13 +890,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1005,13 +909,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; - * * @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; @@ -1020,8 +924,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1037,14 +939,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; - * * @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 { @@ -1052,8 +955,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1069,22 +970,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 1; - * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1100,18 +999,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1127,16 +1023,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; - * * @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; @@ -1144,8 +1040,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1153,7 +1047,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -1161,8 +1054,6 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1170,22 +1061,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1193,18 +1081,17 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = java.util.Collections.emptyList(); - + private java.util.List features_ = + java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1212,50 +1099,34 @@ private void ensureFeaturesIsMutable() { } } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>(features_, features_converter_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -1263,16 +1134,11 @@ public com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index) return features_converter_.convert(features_.get(index)); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1288,16 +1154,11 @@ public Builder setFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The features to add. * @return This builder for chaining. */ @@ -1311,16 +1172,11 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1beta2.Feature va return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The features to add. * @return This builder for chaining. */ @@ -1334,16 +1190,11 @@ public Builder addAllFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1353,32 +1204,23 @@ public Builder clearFeatures() { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1386,37 +1228,28 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue(int index, int value) { + public Builder setFeaturesValue( + int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1427,20 +1260,16 @@ public Builder addFeaturesValue(int value) { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue(java.lang.Iterable values) { + public Builder addAllFeaturesValue( + java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1451,47 +1280,34 @@ public Builder addAllFeaturesValue(java.lang.Iterable values) private com.google.cloud.videointelligence.v1beta2.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, - com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> - videoContextBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> videoContextBuilder_; /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return The videoContext. */ public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1512,8 +1328,6 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1beta2.VideoC return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1532,22 +1346,17 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public Builder mergeVideoContext( - com.google.cloud.videointelligence.v1beta2.VideoContext value) { + public Builder mergeVideoContext(com.google.cloud.videointelligence.v1beta2.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder(videoContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); } else { videoContext_ = value; } @@ -1559,8 +1368,6 @@ public Builder mergeVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1579,42 +1386,33 @@ public Builder clearVideoContext() { return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1beta2.VideoContext.Builder - getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1beta2.VideoContext.Builder getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? + com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1622,17 +1420,14 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, - com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, - com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder>( - getVideoContext(), getParentForChildren(), isClean()); + videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder>( + getVideoContext(), + getParentForChildren(), + isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1640,8 +1435,6 @@ public Builder clearVideoContext() { private java.lang.Object outputUri_ = ""; /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1653,13 +1446,13 @@ public Builder clearVideoContext() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1668,8 +1461,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1681,14 +1472,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1696,8 +1488,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1709,22 +1499,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1736,18 +1524,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1759,16 +1544,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1776,8 +1561,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1785,13 +1568,13 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1800,8 +1583,6 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1809,14 +1590,15 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1824,8 +1606,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1833,22 +1613,20 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1856,18 +1634,15 @@ public Builder setLocationId(java.lang.String value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1875,23 +1650,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1901,32 +1676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1938,8 +1711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java index 2f216e972..dd7ad4e47 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface AnnotateVideoRequestOrBuilder - extends +public interface AnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -41,13 +23,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -63,14 +42,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -78,111 +55,78 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ java.util.List getFeaturesList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ int getFeaturesCount(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - java.util.List getFeaturesValueList(); + java.util.List + getFeaturesValueList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; - * * @return The videoContext. */ com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -192,8 +136,6 @@ public interface AnnotateVideoRequestOrBuilder com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -205,13 +147,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -223,14 +162,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -238,13 +175,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -252,8 +186,8 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java index 1b0a5b115..7c2ec6f15 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationResults_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationResults_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -110,108 +89,80 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationResults_;
+  private java.util.List annotationResults_;
   /**
-   *
-   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> + public java.util.List getAnnotationResultsOrBuilderList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index) { return annotationResults_.get(index); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1beta2.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList() + .equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,104 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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; } /** - * - * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -384,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoResponse}
    */
-  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.videointelligence.v1beta2.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.newBuilder()
@@ -408,17 +350,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) {
         getAnnotationResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,14 +374,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance();
     }
 
@@ -454,8 +395,7 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -474,50 +414,46 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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) {
+        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.videointelligence.v1beta2.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other) {
-      if (other
-          == com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other) {
+      if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -536,10 +472,9 @@ public Builder mergeFrom(
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationResultsFieldBuilder()
-                    : null;
+            annotationResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationResultsFieldBuilder() : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -564,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -575,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationResults_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationResults_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults>(
-                annotationResults_);
+        annotationResults_ = new java.util.ArrayList(annotationResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults,
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -617,15 +537,11 @@ private void ensureAnnotationResultsIsMutable() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -635,18 +551,13 @@ public int getAnnotationResultsCount() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -654,15 +565,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnno } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { @@ -679,19 +586,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( - int index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -702,18 +604,13 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { + public Builder addAnnotationResults(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -727,15 +624,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { @@ -752,15 +645,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { @@ -774,19 +663,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - int index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -797,23 +681,18 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder addAllAnnotationResults( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults> - values) { + java.lang.Iterable values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -821,15 +700,11 @@ public Builder addAllAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -842,15 +717,11 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -863,53 +734,39 @@ public Builder removeAnnotationResults(int index) { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder - getAnnotationResultsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder getAnnotationResultsBuilder( + int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); - } else { + return annotationResults_.get(index); } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList() { + public java.util.List + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -917,69 +774,45 @@ public Builder removeAnnotationResults(int index) { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder - addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder - addAnnotationResultsBuilder(int index) { - return getAnnotationResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder addAnnotationResultsBuilder( + int index) { + return getAnnotationResultsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -988,9 +821,9 @@ public Builder removeAnnotationResults(int index) { } return annotationResultsBuilder_; } - @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); } @@ -1000,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..6fd146d09 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public interface AnnotateVideoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + */ + int getAnnotationResultsCount(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java index 107594a2f..4b83239dd 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entityId_ = ""; description_ = ""; @@ -45,15 +27,16 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Entity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Entity( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.Entity.class, - com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); + com.google.cloud.videointelligence.v1beta2.Entity.class, com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity_id = 1; - * * @return The entityId. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -166,15 +140,16 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getEntityIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -329,17 +298,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.videointelligence.v1beta2.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.Entity other = - (com.google.cloud.videointelligence.v1beta2.Entity) obj; + com.google.cloud.videointelligence.v1beta2.Entity other = (com.google.cloud.videointelligence.v1beta2.Entity) obj; - if (!getEntityId().equals(other.getEntityId())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getEntityId() + .equals(other.getEntityId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,126 +334,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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; } /** - * - * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.Entity} */ - 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.videointelligence.v1beta2.Entity) com.google.cloud.videointelligence.v1beta2.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.Entity.class, - com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); + com.google.cloud.videointelligence.v1beta2.Entity.class, com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.Entity.newBuilder() @@ -490,15 +452,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(); @@ -512,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override @@ -533,8 +496,7 @@ public com.google.cloud.videointelligence.v1beta2.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Entity buildPartial() { - com.google.cloud.videointelligence.v1beta2.Entity result = - new com.google.cloud.videointelligence.v1beta2.Entity(this); + com.google.cloud.videointelligence.v1beta2.Entity result = new com.google.cloud.videointelligence.v1beta2.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -546,39 +508,38 @@ public com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.Entity) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.Entity)other); } else { super.mergeFrom(other); return this; @@ -586,8 +547,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.Entity other) { - if (other == com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance()) return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -619,8 +579,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.Entity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,8 +591,6 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -641,13 +598,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; - * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -656,8 +613,6 @@ public java.lang.String getEntityId() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -665,14 +620,15 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -680,8 +636,6 @@ public com.google.protobuf.ByteString getEntityIdBytes() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -689,22 +643,20 @@ public com.google.protobuf.ByteString getEntityIdBytes() {
      * 
* * string entity_id = 1; - * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId(java.lang.String value) { + public Builder setEntityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -712,18 +664,15 @@ public Builder setEntityId(java.lang.String value) {
      * 
* * string entity_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -731,16 +680,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; - * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -748,20 +697,18 @@ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -770,21 +717,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -792,61 +738,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -854,20 +793,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -876,21 +813,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -898,68 +834,61 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -969,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.Entity) private static final com.google.cloud.videointelligence.v1beta2.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.Entity(); } @@ -983,16 +912,16 @@ public static com.google.cloud.videointelligence.v1beta2.Entity getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java index 84eb9eb52..1acb497fa 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -33,13 +15,10 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The entityId. */ java.lang.String getEntityId(); /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -47,58 +26,48 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - com.google.protobuf.ByteString getEntityIdBytes(); + com.google.protobuf.ByteString + getEntityIdBytes(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java index 5af05332f..807a0252e 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExplicitContentAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                frames_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              frames_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              frames_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            frames_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -110,27 +89,22 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class,
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
-   *
-   *
    * 
    * All video frames where explicit content was detected.
    * 
@@ -138,13 +112,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -152,14 +123,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -171,8 +139,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -184,8 +150,6 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames return frames_.get(index); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -193,13 +157,12 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,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 { for (int i = 0; i < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -225,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,15 +200,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.videointelligence.v1beta2.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other = - (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) obj; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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; } /** - * - * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -372,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1beta2.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class,
-              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -421,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -444,8 +395,7 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buil
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation result =
-          new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -464,51 +414,46 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buil
     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.videointelligence.v1beta2.ExplicitContentAnnotation) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other) {
-      if (other
-          == com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other) {
+      if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -527,10 +472,9 @@ public Builder mergeFrom(
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFramesFieldBuilder()
-                    : null;
+            framesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFramesFieldBuilder() : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -555,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -566,39 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        frames_ = java.util.Collections.emptyList();
-
+    private java.util.List frames_ =
+      java.util.Collections.emptyList();
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame>(frames_);
+        frames_ = new java.util.ArrayList(frames_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame,
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder,
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>
-        framesBuilder_;
+        com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> framesBuilder_;
 
     /**
-     *
-     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -606,14 +537,11 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -623,14 +551,11 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -640,14 +565,11 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { @@ -664,18 +586,14 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -686,17 +604,13 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,14 +624,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { @@ -734,14 +645,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder addFrames( com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { @@ -755,18 +663,14 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -777,22 +681,18 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -800,14 +700,11 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -820,14 +717,11 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -840,50 +734,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder getFramesBuilder( int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -891,72 +774,56 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder g } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -966,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1003,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java index c26d9fa9d..884737c85 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentAnnotationOrBuilder - extends +public interface ExplicitContentAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -44,8 +25,6 @@ public interface ExplicitContentAnnotationOrBuilder */ com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames(int index); /** - * - * *
    * All video frames where explicit content was detected.
    * 
@@ -54,19 +33,15 @@ public interface ExplicitContentAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java index b9a549be9..44967ef44 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +73,29 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -127,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -136,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -152,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -169,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -205,16 +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.videointelligence.v1beta2.ExplicitContentDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,146 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1beta2.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.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(); @@ -383,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -406,10 +365,8 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -419,52 +376,46 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -484,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -503,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -512,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -527,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -536,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -551,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -560,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -583,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -602,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -628,33 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,8 +601,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java index f5e2897b3..4aebf1eb9 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentDetectionConfigOrBuilder - extends +public interface ExplicitContentDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java index 12b5b8ee6..03c30bcfe 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) ExplicitContentFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - pornographyLikelihood_ = rawValue; - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + pornographyLikelihood_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private ExplicitContentFrame( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -147,15 +122,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -163,8 +135,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -180,43 +150,31 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { + @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Likelihood result = - com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1beta2.Likelihood result = com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,13 +186,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -247,12 +204,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +219,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.videointelligence.v1beta2.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other = - (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -298,127 +255,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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; } /** - * - * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentFrame} */ - 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.videointelligence.v1beta2.ExplicitContentFrame) com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.newBuilder() @@ -426,15 +373,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(); @@ -450,14 +398,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance(); } @@ -472,8 +419,7 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame result = - new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -488,50 +434,46 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame buildPart 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.videointelligence.v1beta2.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other) { - if (other - == com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other) { + if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -557,9 +499,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,49 +511,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -635,8 +562,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -644,7 +569,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -655,8 +581,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -668,7 +592,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -680,8 +604,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -701,8 +623,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -711,13 +631,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -729,14 +647,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -745,17 +660,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -763,100 +675,80 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Likelihood result = - com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1beta2.Likelihood result = com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood( - com.google.cloud.videointelligence.v1beta2.Likelihood value) { + public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1beta2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -866,32 +758,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,8 +793,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java index debf3b27d..d26590b5b 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentFrameOrBuilder - extends +public interface ExplicitContentFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,26 +38,20 @@ public interface ExplicitContentFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood(); diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java index 4f92e20be..3d3141c08 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Face annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceAnnotation} */ -public final class FaceAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceAnnotation) FaceAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceAnnotation.newBuilder() to construct. private FaceAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceAnnotation() { thumbnail_ = com.google.protobuf.ByteString.EMPTY; segments_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private FaceAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,45 +56,36 @@ private FaceAnnotation( case 0: done = true; break; - case 10: - { - thumbnail_ = input.readBytes(); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.FaceSegment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.FaceSegment.parser(), - extensionRegistry)); - break; + case 10: { + + thumbnail_ = input.readBytes(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - frames_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.FaceFrame.parser(), - extensionRegistry)); - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceSegment.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +93,8 @@ private FaceAnnotation( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -131,33 +106,27 @@ private FaceAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); } public static final int THUMBNAIL_FIELD_NUMBER = 1; private com.google.protobuf.ByteString thumbnail_; /** - * - * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ @java.lang.Override @@ -168,8 +137,6 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -181,8 +148,6 @@ public java.util.List ge return segments_; } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -190,13 +155,11 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -208,8 +171,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -221,8 +182,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int in return segments_.get(index); } /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -238,8 +197,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -251,8 +208,6 @@ public java.util.List getF return frames_; } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -260,13 +215,11 @@ public java.util.List getF * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -278,8 +231,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -291,8 +242,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index) return frames_.get(index); } /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -306,7 +255,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +266,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 (!thumbnail_.isEmpty()) { output.writeBytes(1, thumbnail_); } @@ -338,13 +287,16 @@ public int getSerializedSize() { size = 0; if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, thumbnail_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, thumbnail_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,17 +306,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.videointelligence.v1beta2.FaceAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceAnnotation other = - (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.FaceAnnotation other = (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) obj; - if (!getThumbnail().equals(other.getThumbnail())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getThumbnail() + .equals(other.getThumbnail())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -392,127 +346,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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; } /** - * - * *
    * Face annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceAnnotation} */ - 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.videointelligence.v1beta2.FaceAnnotation) com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceAnnotation.newBuilder() @@ -520,18 +464,18 @@ 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) { getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override @@ -574,8 +518,7 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceAnnotation buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceAnnotation result = - new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(this); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation result = new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(this); int from_bitField0_ = bitField0_; result.thumbnail_ = thumbnail_; if (segmentsBuilder_ == null) { @@ -604,39 +547,38 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceAnnotation)other); } else { super.mergeFrom(other); return this; @@ -644,8 +586,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotation other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()) return this; if (other.getThumbnail() != com.google.protobuf.ByteString.EMPTY) { setThumbnail(other.getThumbnail()); } @@ -667,10 +608,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotati segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -694,10 +634,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotati framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000002); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -722,8 +661,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,19 +670,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ @java.lang.Override @@ -752,73 +686,58 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** - * - * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; - * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, - com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, - com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -826,8 +745,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -842,8 +759,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -858,8 +773,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int in } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -881,8 +794,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -901,8 +812,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -923,8 +832,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.FaceSegmen return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -946,8 +853,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -966,8 +871,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -986,8 +889,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -995,11 +896,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1007,8 +908,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1026,8 +925,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1045,8 +942,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1058,8 +953,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder getSegment return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1069,22 +962,19 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder getSegment public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1092,8 +982,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen } } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1101,12 +989,10 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a face was detected.
      * 
@@ -1115,61 +1001,48 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegment */ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, - com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, - com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, - com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, - com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - frames_ = - new java.util.ArrayList(frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, - com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, - com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1184,8 +1057,6 @@ public java.util.List getF } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1200,8 +1071,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1216,8 +1085,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index) } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1239,8 +1106,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1259,8 +1124,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1281,8 +1144,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1beta2.FaceFrame va return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1304,8 +1165,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1324,8 +1183,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1344,8 +1201,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1356,7 +1211,8 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1364,8 +1220,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1383,8 +1237,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1402,8 +1254,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1415,8 +1265,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder getFramesBui return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1426,22 +1274,19 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder getFramesBui public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1449,8 +1294,6 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr } } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1458,12 +1301,10 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a face was detected.
      * 
@@ -1472,43 +1313,37 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBui */ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, - com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, - com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, - com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, - com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1518,12 +1353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceAnnotation) private static final com.google.cloud.videointelligence.v1beta2.FaceAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(); } @@ -1532,16 +1367,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1556,4 +1391,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java index 272e8ebe0..a1b253be6 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java @@ -1,54 +1,32 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceAnnotationOrBuilder - extends +public interface FaceAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; - * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -57,8 +35,6 @@ public interface FaceAnnotationOrBuilder */ com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int index); /** - * - * *
    * All video segments where a face was detected.
    * 
@@ -67,40 +43,34 @@ public interface FaceAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder( + int index); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -109,8 +79,6 @@ public interface FaceAnnotationOrBuilder */ com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index); /** - * - * *
    * All video frames where a face was detected.
    * 
@@ -119,24 +87,21 @@ public interface FaceAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java index b96926086..dcd668d09 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) FaceDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - case 16: - { - includeBoundingBoxes_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + case 16: { + + includeBoundingBoxes_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,33 +78,29 @@ private FaceDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -130,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -139,15 +116,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -155,15 +131,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -174,14 +151,11 @@ public com.google.protobuf.ByteString getModelBytes() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** - * - * *
    * Whether bounding boxes be included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -190,7 +164,6 @@ public boolean getIncludeBoundingBoxes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +175,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -222,7 +196,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, includeBoundingBoxes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,16 +207,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.videointelligence.v1beta2.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other = - (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; + if (!getModel() + .equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() + != other.getIncludeBoundingBoxes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,134 +232,125 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeBoundingBoxes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceDetectionConfig} */ - 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.videointelligence.v1beta2.FaceDetectionConfig) com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder() @@ -391,15 +358,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(); @@ -411,14 +379,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance(); } @@ -433,8 +400,7 @@ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig result = - new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; onBuilt(); @@ -445,39 +411,38 @@ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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) { + 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.videointelligence.v1beta2.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig)other); } else { super.mergeFrom(other); return this; @@ -485,9 +450,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -514,9 +477,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,8 +489,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -537,13 +496,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -552,8 +511,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -561,14 +518,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -576,8 +534,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -585,22 +541,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -608,18 +562,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -627,31 +578,28 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_; + private boolean includeBoundingBoxes_ ; /** - * - * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -659,43 +607,37 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** - * - * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** - * - * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = 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); } @@ -705,32 +647,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,8 +682,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java similarity index 59% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java index d760ef12a..a2ac0d62c 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceDetectionConfigOrBuilder - extends +public interface FaceDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,20 +26,17 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); /** - * - * *
    * Whether bounding boxes be included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java index b28218052..40d3a7609 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video frame level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceFrame} */ -public final class FaceFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceFrame) FaceFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceFrame.newBuilder() to construct. private FaceFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceFrame() { normalizedBoundingBoxes_ = 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 FaceFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,42 +54,35 @@ private FaceFrame( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox>(); - mutable_bitField0_ |= 0x00000001; - } - normalizedBoundingBoxes_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + normalizedBoundingBoxes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + normalizedBoundingBoxes_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = 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) { @@ -114,7 +90,8 @@ private FaceFrame( } 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)) { normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); @@ -123,128 +100,98 @@ private FaceFrame( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceFrame.class, - com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceFrame.class, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); } public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER = 1; - private java.util.List - normalizedBoundingBoxes_; + private java.util.List normalizedBoundingBoxes_; /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public java.util.List - getNormalizedBoundingBoxesList() { + public java.util.List getNormalizedBoundingBoxesList() { return normalizedBoundingBoxes_; } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + public java.util.List getNormalizedBoundingBoxesOrBuilderList() { return normalizedBoundingBoxes_; } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override public int getNormalizedBoundingBoxesCount() { return normalizedBoundingBoxes_.size(); } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { return normalizedBoundingBoxes_.get(index); } /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index) { return normalizedBoundingBoxes_.get(index); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -252,15 +199,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -268,8 +212,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
@@ -283,7 +225,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -295,7 +236,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 < normalizedBoundingBoxes_.size(); i++) {
       output.writeMessage(1, normalizedBoundingBoxes_.get(i));
     }
@@ -312,12 +254,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < normalizedBoundingBoxes_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, normalizedBoundingBoxes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, normalizedBoundingBoxes_.get(i));
     }
     if (timeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -327,19 +269,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.videointelligence.v1beta2.FaceFrame)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.FaceFrame other =
-        (com.google.cloud.videointelligence.v1beta2.FaceFrame) obj;
+    com.google.cloud.videointelligence.v1beta2.FaceFrame other = (com.google.cloud.videointelligence.v1beta2.FaceFrame) obj;
 
-    if (!getNormalizedBoundingBoxesList().equals(other.getNormalizedBoundingBoxesList()))
-      return false;
+    if (!getNormalizedBoundingBoxesList()
+        .equals(other.getNormalizedBoundingBoxesList())) return false;
     if (hasTimeOffset() != other.hasTimeOffset()) return false;
     if (hasTimeOffset()) {
-      if (!getTimeOffset().equals(other.getTimeOffset())) return false;
+      if (!getTimeOffset()
+          .equals(other.getTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -366,126 +308,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.FaceFrame parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.FaceFrame parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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;
   }
   /**
-   *
-   *
    * 
    * Video frame level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceFrame} */ - 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.videointelligence.v1beta2.FaceFrame) com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceFrame.class, - com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceFrame.class, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceFrame.newBuilder() @@ -493,17 +426,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) { getNormalizedBoundingBoxesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override @@ -544,13 +477,11 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceFrame result = - new com.google.cloud.videointelligence.v1beta2.FaceFrame(this); + com.google.cloud.videointelligence.v1beta2.FaceFrame result = new com.google.cloud.videointelligence.v1beta2.FaceFrame(this); int from_bitField0_ = bitField0_; if (normalizedBoundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); bitField0_ = (bitField0_ & ~0x00000001); } result.normalizedBoundingBoxes_ = normalizedBoundingBoxes_; @@ -570,39 +501,38 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceFrame)other); } else { super.mergeFrom(other); return this; @@ -610,8 +540,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceFrame other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()) return this; if (normalizedBoundingBoxesBuilder_ == null) { if (!other.normalizedBoundingBoxes_.isEmpty()) { if (normalizedBoundingBoxes_.isEmpty()) { @@ -630,10 +559,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceFrame ot normalizedBoundingBoxesBuilder_ = null; normalizedBoundingBoxes_ = other.normalizedBoundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - normalizedBoundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNormalizedBoundingBoxesFieldBuilder() - : null; + normalizedBoundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNormalizedBoundingBoxesFieldBuilder() : null; } else { normalizedBoundingBoxesBuilder_.addAllMessages(other.normalizedBoundingBoxes_); } @@ -661,8 +589,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.FaceFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -671,43 +598,30 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - normalizedBoundingBoxes_ = java.util.Collections.emptyList(); - + private java.util.List normalizedBoundingBoxes_ = + java.util.Collections.emptyList(); private void ensureNormalizedBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox>( - normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = new java.util.ArrayList(normalizedBoundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> - normalizedBoundingBoxesBuilder_; + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxesBuilder_; /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List - getNormalizedBoundingBoxesList() { + public java.util.List getNormalizedBoundingBoxesList() { if (normalizedBoundingBoxesBuilder_ == null) { return java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); } else { @@ -715,17 +629,13 @@ private void ensureNormalizedBoundingBoxesIsMutable() { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public int getNormalizedBoundingBoxesCount() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -735,20 +645,15 @@ public int getNormalizedBoundingBoxesCount() { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { return normalizedBoundingBoxes_.get(index); } else { @@ -756,17 +661,13 @@ public int getNormalizedBoundingBoxesCount() { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder setNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { @@ -783,21 +684,16 @@ public Builder setNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder setNormalizedBoundingBoxes( - int index, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.set(index, builderForValue.build()); @@ -808,20 +704,15 @@ public Builder setNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public Builder addNormalizedBoundingBoxes( - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { + public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { if (normalizedBoundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -835,17 +726,13 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { @@ -862,17 +749,13 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { @@ -886,21 +769,16 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addNormalizedBoundingBoxes( - int index, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.add(index, builderForValue.build()); @@ -911,25 +789,20 @@ public Builder addNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder addAllNormalizedBoundingBoxes( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox> - values) { + java.lang.Iterable values) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, normalizedBoundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, normalizedBoundingBoxes_); onChanged(); } else { normalizedBoundingBoxesBuilder_.addAllMessages(values); @@ -937,17 +810,13 @@ public Builder addAllNormalizedBoundingBoxes( return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder clearNormalizedBoundingBoxes() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -960,17 +829,13 @@ public Builder clearNormalizedBoundingBoxes() { return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ public Builder removeNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { @@ -983,59 +848,45 @@ public Builder removeNormalizedBoundingBoxes(int index) { return this; } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxesBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder( + int index) { return getNormalizedBoundingBoxesFieldBuilder().getBuilder(index); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index) { if (normalizedBoundingBoxesBuilder_ == null) { - return normalizedBoundingBoxes_.get(index); - } else { + return normalizedBoundingBoxes_.get(index); } else { return normalizedBoundingBoxesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> - getNormalizedBoundingBoxesOrBuilderList() { + public java.util.List + getNormalizedBoundingBoxesOrBuilderList() { if (normalizedBoundingBoxesBuilder_ != null) { return normalizedBoundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -1043,75 +894,51 @@ public Builder removeNormalizedBoundingBoxes(int index) { } } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder - addNormalizedBoundingBoxesBuilder() { - return getNormalizedBoundingBoxesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder() { + return getNormalizedBoundingBoxesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder - addNormalizedBoundingBoxesBuilder(int index) { - return getNormalizedBoundingBoxesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder( + int index) { + return getNormalizedBoundingBoxesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()); } /** - * - * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - public java.util.List - getNormalizedBoundingBoxesBuilderList() { + public java.util.List + getNormalizedBoundingBoxesBuilderList() { return getNormalizedBoundingBoxesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesFieldBuilder() { if (normalizedBoundingBoxesBuilder_ == null) { - normalizedBoundingBoxesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder>( + normalizedBoundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder>( normalizedBoundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1123,49 +950,36 @@ public Builder removeNormalizedBoundingBoxes(int index) { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1187,8 +1001,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1196,7 +1008,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1207,8 +1020,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1220,7 +1031,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1232,8 +1043,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1253,8 +1062,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1263,13 +1070,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1281,14 +1086,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1297,24 +1099,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
-
     @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);
     }
 
@@ -1324,12 +1123,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceFrame)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceFrame)
   private static final com.google.cloud.videointelligence.v1beta2.FaceFrame DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceFrame();
   }
@@ -1338,16 +1137,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceFrame getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FaceFrame parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new FaceFrame(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FaceFrame parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new FaceFrame(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1362,4 +1161,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1beta2.FaceFrame getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
similarity index 61%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
index e22effc76..3079e5406 100644
--- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
@@ -1,133 +1,87 @@
-/*
- * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface FaceFrameOrBuilder
-    extends
+public interface FaceFrameOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceFrame)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - java.util.List + java.util.List getNormalizedBoundingBoxesList(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes( - int index); + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ int getNormalizedBoundingBoxesCount(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + java.util.List getNormalizedBoundingBoxesOrBuilderList(); /** - * - * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; - * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; */ - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxesOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( + int index); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
similarity index 69%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
index c6eebc16a..a0e6657a2 100644
--- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
 /**
- *
- *
  * 
  * Video segment level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceSegment} */ -public final class FaceSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceSegment) FaceSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceSegment.newBuilder() to construct. private FaceSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FaceSegment() {} + private FaceSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,30 +52,26 @@ private FaceSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +79,34 @@ private FaceSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceSegment.class, - com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceSegment.class, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -139,25 +114,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a face was detected.
    * 
@@ -170,7 +138,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +149,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -196,7 +164,8 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +175,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.videointelligence.v1beta2.FaceSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceSegment other = - (com.google.cloud.videointelligence.v1beta2.FaceSegment) obj; + com.google.cloud.videointelligence.v1beta2.FaceSegment other = (com.google.cloud.videointelligence.v1beta2.FaceSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.FaceSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.FaceSegment 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; } /** - * - * *
    * Video segment level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceSegment} */ - 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.videointelligence.v1beta2.FaceSegment) com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceSegment.class, - com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceSegment.class, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceSegment.newBuilder() @@ -367,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(); @@ -389,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override @@ -410,8 +370,7 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceSegment result = - new com.google.cloud.videointelligence.v1beta2.FaceSegment(this); + com.google.cloud.videointelligence.v1beta2.FaceSegment result = new com.google.cloud.videointelligence.v1beta2.FaceSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -425,39 +384,38 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceSegment)other); } else { super.mergeFrom(other); return this; @@ -465,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -489,8 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.FaceSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -563,8 +506,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1beta2.VideoSegmen return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -583,8 +524,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -595,9 +534,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -609,8 +546,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -629,8 +564,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -638,13 +571,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -655,14 +586,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a face was detected.
      * 
@@ -670,24 +598,21 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - @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); } @@ -697,12 +622,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceSegment) private static final com.google.cloud.videointelligence.v1beta2.FaceSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceSegment(); } @@ -711,16 +636,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceSegment getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.FaceSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java index 9647a5947..21e4c4670 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceSegmentOrBuilder - extends +public interface FaceSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment(); /** - * - * *
    * Video segment where a face was detected.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java index a2af6455e..7dcd5e9ba 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.Feature} */ -public enum Feature implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * Human face detection and tracking.
    * 
@@ -82,8 +56,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -92,8 +64,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -102,8 +72,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -112,8 +80,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -122,8 +88,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * Human face detection and tracking.
    * 
@@ -132,6 +96,7 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FACE_DETECTION_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,55 +121,51 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: - return FEATURE_UNSPECIFIED; - case 1: - return LABEL_DETECTION; - case 2: - return SHOT_CHANGE_DETECTION; - case 3: - return EXPLICIT_CONTENT_DETECTION; - case 4: - return FACE_DETECTION; - default: - return null; + case 0: return FEATURE_UNSPECIFIED; + case 1: return LABEL_DETECTION; + case 2: return SHOT_CHANGE_DETECTION; + case 3: return EXPLICIT_CONTENT_DETECTION; + case 4: return FACE_DETECTION; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Feature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -220,3 +181,4 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.Feature) } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java index 74ab7bab2..ad65f117b 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelAnnotation} */ -public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelAnnotation) LabelAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,53 @@ private LabelAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1beta2.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1beta2.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - categoryEntities_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.Entity.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.LabelSegment>(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.LabelFrame>(); - mutable_bitField0_ |= 0x00000004; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelFrame.parser(), - extensionRegistry)); - break; + categoryEntities_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.Entity.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelSegment.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,7 +110,8 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -160,33 +126,27 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.Entity entity_; /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -194,25 +154,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Detected entity.
    * 
@@ -227,8 +180,6 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -239,13 +190,10 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getCategoryEntitiesList() {
+  public java.util.List getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -256,13 +204,11 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -277,8 +223,6 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -293,8 +237,6 @@ public com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int
     return categoryEntities_.get(index);
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -313,8 +255,6 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
@@ -326,8 +266,6 @@ public java.util.List g return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -335,13 +273,11 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -353,8 +289,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -366,8 +300,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int i return segments_.get(index); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -383,8 +315,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -396,8 +326,6 @@ public java.util.List get return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -405,13 +333,11 @@ public java.util.List get * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -423,8 +349,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -436,8 +360,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index return frames_.get(index); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -451,7 +373,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,7 +384,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -486,16 +408,20 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -505,21 +431,24 @@ 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.videointelligence.v1beta2.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelAnnotation other = - (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation other = (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList() + .equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -553,127 +482,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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; } /** - * - * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelAnnotation} */ - 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.videointelligence.v1beta2.LabelAnnotation) com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelAnnotation.newBuilder() @@ -681,19 +600,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -725,9 +644,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override @@ -746,8 +665,7 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelAnnotation result = - new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(this); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation result = new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -789,39 +707,38 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelAnnotation)other); } else { super.mergeFrom(other); return this; @@ -829,8 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -852,10 +768,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoryEntitiesFieldBuilder() - : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoryEntitiesFieldBuilder() : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -879,10 +794,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -906,10 +820,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -934,8 +847,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -944,52 +856,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1beta2.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, - com.google.cloud.videointelligence.v1beta2.Entity.Builder, - com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1beta2.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Detected entity.
      * 
@@ -1010,8 +908,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1beta2.Entity value return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1030,8 +926,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1042,9 +936,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1beta2.Entity val if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1beta2.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1056,8 +948,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1beta2.Entity val return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1076,8 +966,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1085,13 +973,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1beta2.Entity entity = 1; */ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Detected entity.
      * 
@@ -1102,14 +988,11 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Detected entity.
      * 
@@ -1117,43 +1000,32 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui * .google.cloud.videointelligence.v1beta2.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, - com.google.cloud.videointelligence.v1beta2.Entity.Builder, - com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> + com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, - com.google.cloud.videointelligence.v1beta2.Entity.Builder, - com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList( - categoryEntities_); + categoryEntities_ = new java.util.ArrayList(categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, - com.google.cloud.videointelligence.v1beta2.Entity.Builder, - com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> - categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> categoryEntitiesBuilder_; /** - * - * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1163,8 +1035,7 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesList() {
+    public java.util.List getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1172,8 +1043,6 @@ private void ensureCategoryEntitiesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1191,8 +1060,6 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1210,8 +1077,6 @@ public com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1236,8 +1101,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1259,8 +1122,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1284,8 +1145,6 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1beta2.En
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1310,8 +1169,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1333,8 +1190,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1356,8 +1211,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1371,7 +1224,8 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1379,8 +1233,6 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1401,8 +1253,6 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1423,8 +1273,6 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1439,8 +1287,6 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getCategoryEnti
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1453,14 +1299,11 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getCategoryEnti
     public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOrBuilder(
         int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);
-      } else {
+        return categoryEntities_.get(index);  } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1470,8 +1313,8 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesOrBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1479,8 +1322,6 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1491,12 +1332,10 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
     public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1508,13 +1347,10 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
      */
     public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1524,22 +1360,16 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.Entity,
-            com.google.cloud.videointelligence.v1beta2.Entity.Builder,
-            com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> 
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1beta2.Entity,
-                com.google.cloud.videointelligence.v1beta2.Entity.Builder,
-                com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>(
+        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1550,34 +1380,25 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(
-                segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.LabelSegment,
-            com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder,
-            com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1585,8 +1406,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1601,8 +1420,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1617,8 +1434,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int i } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1640,8 +1455,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1649,8 +1462,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1661,8 +1473,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1683,8 +1493,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.LabelSegme return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1706,8 +1514,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1726,8 +1532,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1735,8 +1539,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1747,8 +1550,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1756,11 +1557,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1768,8 +1569,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1787,8 +1586,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1806,8 +1603,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1819,8 +1614,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder getSegmen return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1830,23 +1623,19 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder getSegmen public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1854,8 +1643,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1863,12 +1650,10 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1877,61 +1662,48 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmen */ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelSegment, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, - com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelSegment, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, - com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList(frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, - com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, - com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1946,8 +1718,6 @@ public java.util.List get } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1962,8 +1732,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1978,8 +1746,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2001,8 +1767,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2021,8 +1785,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2043,8 +1805,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1beta2.LabelFrame v return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2066,8 +1826,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2086,8 +1844,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2106,8 +1862,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2115,11 +1869,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -2127,8 +1881,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2146,8 +1898,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2165,8 +1915,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2178,8 +1926,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder getFramesBu return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2189,22 +1935,19 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder getFramesBu public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2212,8 +1955,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2221,12 +1962,10 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2235,43 +1974,37 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBu */ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, - com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, - com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, - com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, - com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -2281,12 +2014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelAnnotation) private static final com.google.cloud.videointelligence.v1beta2.LabelAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(); } @@ -2295,16 +2028,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2319,4 +2052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java index cc9cf8459..1c614bd42 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelAnnotationOrBuilder - extends +public interface LabelAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1beta2.Entity getEntity(); /** - * - * *
    * Detected entity.
    * 
@@ -59,8 +35,6 @@ public interface LabelAnnotationOrBuilder com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -70,10 +44,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
-  java.util.List getCategoryEntitiesList();
+  java.util.List 
+      getCategoryEntitiesList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -85,8 +58,6 @@ public interface LabelAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int index);
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -98,8 +69,6 @@ public interface LabelAnnotationOrBuilder
    */
   int getCategoryEntitiesCount();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -109,11 +78,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
-  java.util.List
+  java.util.List 
       getCategoryEntitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -127,18 +94,15 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr
       int index);
 
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -147,8 +111,6 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int index); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -157,40 +119,34 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ int getSegmentsCount(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder( + int index); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -199,8 +155,6 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -209,24 +163,21 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ int getFramesCount(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java index 8411dd334..1519e707b 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) LabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -44,15 +26,16 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - labelDetectionMode_ = rawValue; - break; - } - case 16: - { - stationaryCamera_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: { - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stationaryCamera_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,77 +85,60 @@ private LabelDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -182,7 +146,6 @@ public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDet
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -193,8 +156,6 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -202,7 +163,6 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; - * * @return The model. */ @java.lang.Override @@ -211,15 +171,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -227,15 +186,16 @@ public java.lang.String getModel() {
    * 
* * string model = 3; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -244,7 +204,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,11 +215,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -278,14 +235,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -298,17 +254,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.videointelligence.v1beta2.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other = - (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() != other.getStationaryCamera()) return false; - if (!getModel().equals(other.getModel())) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,7 +280,8 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -332,127 +290,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelDetectionConfig} */ - 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.videointelligence.v1beta2.LabelDetectionConfig) com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder() @@ -460,15 +408,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(); @@ -482,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance(); } @@ -504,8 +452,7 @@ public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig result = - new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -517,50 +464,46 @@ public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig buildPart 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.videointelligence.v1beta2.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance()) return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -590,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,118 +545,90 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED : result; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode( - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode value) { + public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1beta2.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -723,7 +636,6 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -731,8 +643,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -740,19 +650,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -760,11 +667,10 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -772,8 +678,6 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -781,13 +685,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -796,8 +700,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -805,14 +707,15 @@ public java.lang.String getModel() {
      * 
* * string model = 3; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -820,8 +723,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -829,22 +730,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 3; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -852,18 +751,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 3; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -871,23 +767,23 @@ public Builder clearModel() {
      * 
* * string model = 3; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -897,32 +793,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,8 +828,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java index 749c2c3f6..838d904f7 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java @@ -1,62 +1,36 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelDetectionConfigOrBuilder - extends +public interface LabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode(); /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -64,14 +38,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,13 +50,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -93,8 +61,8 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java index 9b2ee2412..147ab6aea 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.LabelDetectionMode} */ -public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** - * - * *
    * Detect shot-level labels.
    * 
@@ -49,8 +29,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ SHOT_MODE(1), /** - * - * *
    * Detect frame-level labels.
    * 
@@ -59,8 +37,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ FRAME_MODE(2), /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -72,8 +48,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unspecified.
    * 
@@ -82,8 +56,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Detect shot-level labels.
    * 
@@ -92,8 +64,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_MODE_VALUE = 1; /** - * - * *
    * Detect frame-level labels.
    * 
@@ -102,8 +72,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int FRAME_MODE_VALUE = 2; /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -112,6 +80,7 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,47 +105,41 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: - return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: - return SHOT_MODE; - case 2: - return FRAME_MODE; - case 3: - return SHOT_AND_FRAME_MODE; - default: - return null; + case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: return SHOT_MODE; + case 2: return FRAME_MODE; + case 3: return SHOT_AND_FRAME_MODE; + 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 - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + LabelDetectionMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -184,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LabelDetectionMode 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; @@ -200,3 +164,4 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.LabelDetectionMode) } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java index 445236d36..c1c108197 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelFrame} */ -public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelFrame) LabelFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelFrame() {} + private LabelFrame() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private LabelFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,40 +84,35 @@ private LabelFrame( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelFrame.class, - com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelFrame.class, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -143,15 +120,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -159,8 +133,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -176,14 +148,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -192,7 +161,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -221,10 +190,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,20 +205,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.videointelligence.v1beta2.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelFrame other = - (com.google.cloud.videointelligence.v1beta2.LabelFrame) obj; + com.google.cloud.videointelligence.v1beta2.LabelFrame other = (com.google.cloud.videointelligence.v1beta2.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,134 +236,125 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.LabelFrame 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; } /** - * - * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelFrame} */ - 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.videointelligence.v1beta2.LabelFrame) com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelFrame.class, - com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelFrame.class, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelFrame.newBuilder() @@ -399,15 +362,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(); @@ -423,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override @@ -444,8 +408,7 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelFrame result = - new com.google.cloud.videointelligence.v1beta2.LabelFrame(this); + com.google.cloud.videointelligence.v1beta2.LabelFrame result = new com.google.cloud.videointelligence.v1beta2.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -460,39 +423,38 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelFrame)other); } else { super.mergeFrom(other); return this; @@ -500,8 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -527,8 +488,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,49 +500,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -604,8 +551,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -613,7 +558,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -624,8 +570,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,7 +581,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -649,8 +593,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,8 +612,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -680,13 +620,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -698,14 +636,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -714,32 +649,26 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -747,43 +676,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -793,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelFrame) private static final com.google.cloud.videointelligence.v1beta2.LabelFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelFrame(); } @@ -807,16 +730,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelFrame getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java index 36922f9a2..b58901634 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelFrameOrBuilder - extends +public interface LabelFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,14 +38,11 @@ public interface LabelFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java index 01bcbb010..0bfd1dcc3 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelSegment} */ -public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelSegment) LabelSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelSegment() {} + private LabelSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private LabelSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private LabelSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelSegment.class, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelSegment.class, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -144,25 +119,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -177,14 +145,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -193,7 +158,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +169,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -222,10 +187,12 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,20 +202,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.videointelligence.v1beta2.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelSegment other = - (com.google.cloud.videointelligence.v1beta2.LabelSegment) obj; + com.google.cloud.videointelligence.v1beta2.LabelSegment other = (com.google.cloud.videointelligence.v1beta2.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,134 +233,125 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.LabelSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.LabelSegment 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; } /** - * - * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelSegment} */ - 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.videointelligence.v1beta2.LabelSegment) com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelSegment.class, - com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelSegment.class, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelSegment.newBuilder() @@ -400,15 +359,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(); @@ -424,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override @@ -445,8 +405,7 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelSegment result = - new com.google.cloud.videointelligence.v1beta2.LabelSegment(this); + com.google.cloud.videointelligence.v1beta2.LabelSegment result = new com.google.cloud.videointelligence.v1beta2.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -461,39 +420,38 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelSegment)other); } else { super.mergeFrom(other); return this; @@ -501,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -528,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -541,47 +497,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -602,8 +545,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1beta2.VideoSegmen return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -622,8 +563,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -634,9 +573,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -648,8 +585,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -668,8 +603,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -677,13 +610,11 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -694,14 +625,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -709,32 +637,26 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -742,43 +664,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -788,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelSegment) private static final com.google.cloud.videointelligence.v1beta2.LabelSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelSegment(); } @@ -802,16 +718,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelSegment getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java index 34ca21531..2f9b5d838 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelSegmentOrBuilder - extends +public interface LabelSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -59,14 +35,11 @@ public interface LabelSegmentOrBuilder com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java index c8928f453..9606ee463 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.Likelihood} */ -public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified likelihood.
    * 
@@ -39,8 +21,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Very unlikely.
    * 
@@ -49,8 +29,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ VERY_UNLIKELY(1), /** - * - * *
    * Unlikely.
    * 
@@ -59,8 +37,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ UNLIKELY(2), /** - * - * *
    * Possible.
    * 
@@ -69,8 +45,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ POSSIBLE(3), /** - * - * *
    * Likely.
    * 
@@ -79,8 +53,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELY(4), /** - * - * *
    * Very likely.
    * 
@@ -92,8 +64,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified likelihood.
    * 
@@ -102,8 +72,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Very unlikely.
    * 
@@ -112,8 +80,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_UNLIKELY_VALUE = 1; /** - * - * *
    * Unlikely.
    * 
@@ -122,8 +88,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Possible.
    * 
@@ -132,8 +96,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSSIBLE_VALUE = 3; /** - * - * *
    * Likely.
    * 
@@ -142,8 +104,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Very likely.
    * 
@@ -152,6 +112,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,57 +137,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -242,3 +198,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.Likelihood) } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java index 598e15afc..5d927f6e2 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingBox extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedBoundingBox() {}
+  private NormalizedBoundingBox() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,33 +54,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              left_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              top_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              right_ = input.readFloat();
-              break;
-            }
-          case 37:
-            {
-              bottom_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            left_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            top_ = input.readFloat();
+            break;
+          }
+          case 29: {
+
+            right_ = input.readFloat();
+            break;
+          }
+          case 37: {
+
+            bottom_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,39 +88,34 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class,
-            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
-   *
-   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -147,14 +126,11 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -165,14 +141,11 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -183,14 +156,11 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -199,7 +169,6 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +180,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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -234,16 +204,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -253,22 +227,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.videointelligence.v1beta2.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other = - (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits(other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) - return false; + != java.lang.Float.floatToIntBits( + other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) + != java.lang.Float.floatToIntBits( + other.getTop())) return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits(other.getRight())) return false; + != java.lang.Float.floatToIntBits( + other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits(other.getBottom())) return false; + != java.lang.Float.floatToIntBits( + other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,117 +258,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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; } /** - * - * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -400,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.NormalizedBoundingBox}
    */
-  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.videointelligence.v1beta2.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class,
-              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.newBuilder()
@@ -424,15 +395,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();
@@ -448,14 +420,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance();
     }
 
@@ -470,8 +441,7 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox result =
-          new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -484,50 +454,46 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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) {
+        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.videointelligence.v1beta2.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other) {
-      if (other
-          == com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other) {
+      if (other == com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -559,9 +525,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -571,16 +535,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_;
+    private float left_ ;
     /**
-     *
-     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -588,51 +549,42 @@ public float getLeft() { return left_; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_; + private float top_ ; /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -640,51 +592,42 @@ public float getTop() { return top_; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_; + private float right_ ; /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -692,51 +635,42 @@ public float getRight() { return right_; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_; + private float bottom_ ; /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -744,43 +678,37 @@ public float getBottom() { return bottom_; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -790,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,8 +753,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java index f6fe7bfac..13308db45 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java @@ -1,76 +1,48 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface NormalizedBoundingBoxOrBuilder - extends +public interface NormalizedBoundingBoxOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ float getLeft(); /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ float getTop(); /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ float getRight(); /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ float getBottom(); diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java index 9cf9a221c..f065a712c 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1beta2.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig} */ - 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.videointelligence.v1beta2.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.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(); @@ -379,16 +345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance(); } @java.lang.Override @@ -402,8 +366,7 @@ public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buil @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -413,51 +376,46 @@ public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buil 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.videointelligence.v1beta2.ShotChangeDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -481,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -504,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -519,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -528,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -543,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -552,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -575,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -594,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -620,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java index 3ac230275..4457c7b8d 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ShotChangeDetectionConfigOrBuilder - extends +public interface ShotChangeDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java index ebbff7194..edf773e42 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,55 +53,50 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + + progressPercent_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - progressPercent_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - 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 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = 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) { @@ -126,40 +104,35 @@ private VideoAnnotationProgress( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -168,30 +141,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -202,15 +175,12 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** - * - * *
    * Approximate percentage processed thus far.
    * Guaranteed to be 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -221,14 +191,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -236,14 +203,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -251,8 +215,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the request was received.
    * 
@@ -267,14 +229,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -282,14 +241,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -297,8 +253,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Time of the most recent update.
    * 
@@ -311,7 +265,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +276,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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -349,13 +303,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -365,23 +322,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.videointelligence.v1beta2.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other = - (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (getProgressPercent() != other.getProgressPercent()) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (getProgressPercent() + != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -412,145 +372,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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; } /** - * - * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationProgress} */ - 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.videointelligence.v1beta2.VideoAnnotationProgress) com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.newBuilder() + // Construct using com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.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(); @@ -574,16 +523,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance(); } @java.lang.Override @@ -597,8 +544,7 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress build( @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress result = - new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -619,51 +565,46 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress buildP 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.videointelligence.v1beta2.VideoAnnotationProgress) { - return mergeFrom( - (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other) { - if (other - == com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other) { + if (other == com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -696,9 +637,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -710,21 +649,19 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -733,22 +670,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -756,80 +692,70 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -837,38 +763,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -876,33 +796,24 @@ public Builder clearProgressPercent() { 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_; /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -913,8 +824,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the request was received.
      * 
@@ -935,15 +844,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -954,8 +862,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -966,7 +872,7 @@ 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; } @@ -978,8 +884,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -998,8 +902,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1007,13 +909,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the request was received.
      * 
@@ -1024,12 +924,11 @@ 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_; } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1037,17 +936,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1055,47 +951,34 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1116,15 +999,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1135,8 +1017,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1147,7 +1027,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1159,8 +1039,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1179,8 +1057,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1188,13 +1064,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1205,14 +1079,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1220,24 +1091,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @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); } @@ -1247,32 +1115,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,8 +1150,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java index c9aeeefe0..6d1b7704c 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java @@ -1,96 +1,64 @@ -/* - * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface VideoAnnotationProgressOrBuilder - extends +public interface VideoAnnotationProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Approximate percentage processed thus far.
    * Guaranteed to be 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time when the request was received.
    * 
@@ -100,32 +68,24 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java index ab1e56f82..dbda78788 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationResults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -48,15 +30,16 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,122 +59,90 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), - extensionRegistry)); - break; + segmentLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + shotLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - shotLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), - extensionRegistry)); - break; + frameLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + faceAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000004; - } - frameLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), - extensionRegistry)); - break; + faceAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceAnnotation.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + shotAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - faceAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation>(); - mutable_bitField0_ |= 0x00000008; - } - faceAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.parser(), - extensionRegistry)); - break; + shotAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - shotAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.VideoSegment>(); - mutable_bitField0_ |= 0x00000010; - } - shotAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), - extensionRegistry)); - break; + explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder - subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); - } - explicitAnnotation_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 74: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - case 74: - { - 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) { @@ -199,7 +150,8 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -220,34 +172,28 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -256,30 +202,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -288,439 +234,328 @@ public com.google.protobuf.ByteString getInputUriBytes() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - segmentLabelAnnotations_; + private java.util.List segmentLabelAnnotations_; /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index) { return segmentLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List - shotLabelAnnotations_; + private java.util.List shotLabelAnnotations_; /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - frameLabelAnnotations_; + private java.util.List frameLabelAnnotations_; /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_ANNOTATIONS_FIELD_NUMBER = 5; - private java.util.List - faceAnnotations_; + private java.util.List faceAnnotations_; /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ @java.lang.Override - public java.util.List - getFaceAnnotationsList() { + public java.util.List getFaceAnnotationsList() { return faceAnnotations_; } /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> + public java.util.List getFaceAnnotationsOrBuilderList() { return faceAnnotations_; } /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ @java.lang.Override public int getFaceAnnotationsCount() { return faceAnnotations_.size(); } /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index) { return faceAnnotations_.get(index); } /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder - getFaceAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + int index) { return faceAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; private java.util.List shotAnnotations_; /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -728,54 +563,38 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() - : explicitAnnotation_; + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation() { + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ @java.lang.Override @@ -783,15 +602,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ @java.lang.Override @@ -799,8 +615,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -814,7 +628,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -826,7 +639,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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -864,30 +678,32 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, segmentLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, frameLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < faceAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, faceAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, faceAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getError());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -897,28 +713,34 @@ 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.videointelligence.v1beta2.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other =
-        (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) obj;
-
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
-      return false;
-    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceAnnotationsList().equals(other.getFaceAnnotationsList())) return false;
-    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) obj;
+
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList()
+        .equals(other.getSegmentLabelAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList()
+        .equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList()
+        .equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceAnnotationsList()
+        .equals(other.getFaceAnnotationsList())) return false;
+    if (!getShotAnnotationsList()
+        .equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation()
+          .equals(other.getExplicitAnnotation())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -967,143 +789,132 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
-      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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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;
   }
   /**
-   *
-   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationResults} */ - 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.videointelligence.v1beta2.VideoAnnotationResults) com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.newBuilder() + // Construct using com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -1111,7 +922,6 @@ private void maybeForceBuilderInitialization() { getShotAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1163,14 +973,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance(); } @@ -1185,14 +994,12 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults build() @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults result = - new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1253,50 +1060,46 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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) { + 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.videointelligence.v1beta2.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other) { - if (other - == com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other) { + if (other == com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1319,10 +1122,9 @@ public Builder mergeFrom( segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentLabelAnnotationsFieldBuilder() - : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentLabelAnnotationsFieldBuilder() : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1346,10 +1148,9 @@ public Builder mergeFrom( shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotLabelAnnotationsFieldBuilder() - : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotLabelAnnotationsFieldBuilder() : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1373,10 +1174,9 @@ public Builder mergeFrom( frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFrameLabelAnnotationsFieldBuilder() - : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameLabelAnnotationsFieldBuilder() : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1400,10 +1200,9 @@ public Builder mergeFrom( faceAnnotationsBuilder_ = null; faceAnnotations_ = other.faceAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - faceAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFaceAnnotationsFieldBuilder() - : null; + faceAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFaceAnnotationsFieldBuilder() : null; } else { faceAnnotationsBuilder_.addAllMessages(other.faceAnnotations_); } @@ -1427,10 +1226,9 @@ public Builder mergeFrom( shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotAnnotationsFieldBuilder() - : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotAnnotationsFieldBuilder() : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1461,9 +1259,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1472,26 +1268,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -1500,22 +1293,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -1523,101 +1315,83 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private java.util.List - segmentLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList( - segmentLabelAnnotations_); + segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1625,16 +1399,12 @@ private void ensureSegmentLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1644,19 +1414,14 @@ public int getSegmentLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1664,16 +1429,12 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabe } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1690,20 +1451,15 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1714,19 +1470,14 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public Builder addSegmentLabelAnnotations( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1740,16 +1491,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1766,16 +1513,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -1789,20 +1532,15 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1813,23 +1551,19 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -1837,16 +1571,12 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1859,16 +1589,12 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1881,56 +1607,42 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - getSegmentLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( + int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); - } else { + return segmentLabelAnnotations_.get(index); } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1938,70 +1650,48 @@ public Builder removeSegmentLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder(int index) { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( + int index) { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2011,38 +1701,27 @@ public Builder removeSegmentLabelAnnotations(int index) { return segmentLabelAnnotationsBuilder_; } - private java.util.List - shotLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList( - shotLabelAnnotations_); + shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -2050,16 +1729,12 @@ private void ensureShotLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2069,19 +1744,14 @@ public int getShotLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -2089,16 +1759,12 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAn } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2115,20 +1781,15 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -2139,19 +1800,14 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public Builder addShotLabelAnnotations( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2165,16 +1821,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2191,16 +1843,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -2214,20 +1862,15 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -2238,23 +1881,19 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -2262,16 +1901,12 @@ public Builder addAllShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2284,16 +1919,12 @@ public Builder clearShotLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -2306,56 +1937,42 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - getShotLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( + int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); - } else { + return shotLabelAnnotations_.get(index); } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2363,70 +1980,48 @@ public Builder removeShotLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder(int index) { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( + int index) { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2436,38 +2031,27 @@ public Builder removeShotLabelAnnotations(int index) { return shotLabelAnnotationsBuilder_; } - private java.util.List - frameLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List frameLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList( - frameLabelAnnotations_); + frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2475,16 +2059,12 @@ private void ensureFrameLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2494,19 +2074,14 @@ public int getFrameLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2514,16 +2089,12 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelA } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2540,20 +2111,15 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2564,19 +2130,14 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public Builder addFrameLabelAnnotations( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2590,16 +2151,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2616,16 +2173,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -2639,20 +2192,15 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2663,23 +2211,19 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2687,16 +2231,12 @@ public Builder addAllFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2709,16 +2249,12 @@ public Builder clearFrameLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2731,56 +2267,42 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - getFrameLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( + int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); - } else { + return frameLabelAnnotations_.get(index); } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2788,70 +2310,48 @@ public Builder removeFrameLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder(int index) { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( + int index) { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2861,36 +2361,26 @@ public Builder removeFrameLabelAnnotations(int index) { return frameLabelAnnotationsBuilder_; } - private java.util.List - faceAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List faceAnnotations_ = + java.util.Collections.emptyList(); private void ensureFaceAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - faceAnnotations_ = - new java.util.ArrayList( - faceAnnotations_); + faceAnnotations_ = new java.util.ArrayList(faceAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> - faceAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> faceAnnotationsBuilder_; /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public java.util.List - getFaceAnnotationsList() { + public java.util.List getFaceAnnotationsList() { if (faceAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceAnnotations_); } else { @@ -2898,14 +2388,11 @@ private void ensureFaceAnnotationsIsMutable() { } } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public int getFaceAnnotationsCount() { if (faceAnnotationsBuilder_ == null) { @@ -2915,14 +2402,11 @@ public int getFaceAnnotationsCount() { } } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { @@ -2932,14 +2416,11 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotati } } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { @@ -2956,18 +2437,14 @@ public Builder setFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder setFaceAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.set(index, builderForValue.build()); @@ -2978,17 +2455,13 @@ public Builder setFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public Builder addFaceAnnotations( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { + public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3002,14 +2475,11 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { @@ -3026,14 +2496,11 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder addFaceAnnotations( com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { @@ -3047,18 +2514,14 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder addFaceAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.add(index, builderForValue.build()); @@ -3069,21 +2532,18 @@ public Builder addFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder addAllFaceAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, faceAnnotations_); onChanged(); } else { faceAnnotationsBuilder_.addAllMessages(values); @@ -3091,14 +2551,11 @@ public Builder addAllFaceAnnotations( return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder clearFaceAnnotations() { if (faceAnnotationsBuilder_ == null) { @@ -3111,14 +2568,11 @@ public Builder clearFaceAnnotations() { return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ public Builder removeFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { @@ -3131,50 +2585,39 @@ public Builder removeFaceAnnotations(int index) { return this; } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder - getFaceAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder getFaceAnnotationsBuilder( + int index) { return getFaceAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder - getFaceAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + int index) { if (faceAnnotationsBuilder_ == null) { - return faceAnnotations_.get(index); - } else { + return faceAnnotations_.get(index); } else { return faceAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> - getFaceAnnotationsOrBuilderList() { + public java.util.List + getFaceAnnotationsOrBuilderList() { if (faceAnnotationsBuilder_ != null) { return faceAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3182,64 +2625,45 @@ public Builder removeFaceAnnotations(int index) { } } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder - addFaceAnnotationsBuilder() { - return getFaceAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder addFaceAnnotationsBuilder() { + return getFaceAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder - addFaceAnnotationsBuilder(int index) { - return getFaceAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder addFaceAnnotationsBuilder( + int index) { + return getFaceAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); } /** - * - * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - public java.util.List - getFaceAnnotationsBuilderList() { + public java.util.List + getFaceAnnotationsBuilderList() { return getFaceAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> getFaceAnnotationsFieldBuilder() { if (faceAnnotationsBuilder_ == null) { - faceAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder>( + faceAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder>( faceAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3249,36 +2673,26 @@ public Builder removeFaceAnnotations(int index) { return faceAnnotationsBuilder_; } - private java.util.List - shotAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - shotAnnotations_ = - new java.util.ArrayList( - shotAnnotations_); + shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> - shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> shotAnnotationsBuilder_; /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -3286,14 +2700,11 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -3303,14 +2714,11 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -3320,14 +2728,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotation } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1beta2.VideoSegment value) { @@ -3344,18 +2749,14 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -3366,17 +2767,13 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public Builder addShotAnnotations( - com.google.cloud.videointelligence.v1beta2.VideoSegment value) { + public Builder addShotAnnotations(com.google.cloud.videointelligence.v1beta2.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3390,14 +2787,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1beta2.VideoSegment value) { @@ -3414,14 +2808,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { @@ -3435,18 +2826,14 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( - int index, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -3457,21 +2844,18 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder addAllShotAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -3479,14 +2863,11 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -3499,14 +2880,11 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -3519,50 +2897,39 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder - getShotAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getShotAnnotationsBuilder( + int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3570,62 +2937,45 @@ public Builder removeShotAnnotations(int index) { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder - addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder - addShotAnnotationsBuilder(int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addShotAnnotationsBuilder( + int index) { + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -3635,66 +2985,43 @@ public Builder removeShotAnnotations(int index) { return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3708,19 +3035,14 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -3731,25 +3053,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -3761,15 +3075,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -3783,67 +3093,48 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; @@ -3851,33 +3142,26 @@ public Builder clearExplicitAnnotation() { 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_; /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -3888,8 +3172,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3911,8 +3193,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3920,7 +3200,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -3931,8 +3212,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3943,7 +3222,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;
         }
@@ -3955,8 +3235,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3976,8 +3254,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3986,13 +3262,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4004,12 +3278,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4018,21 +3291,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -4042,32 +3315,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationResults parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationResults(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationResults parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationResults(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4079,8 +3350,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
similarity index 65%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
index 1963a7521..53d69f827 100644
--- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
@@ -1,450 +1,317 @@
-/*
- * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface VideoAnnotationResultsOrBuilder
-    extends
+public interface VideoAnnotationResultsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ int getSegmentLabelAnnotationsCount(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ int getShotLabelAnnotationsCount(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ int getFrameLabelAnnotationsCount(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - java.util.List + java.util.List getFaceAnnotationsList(); /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index); /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ int getFaceAnnotationsCount(); /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ - java.util.List + java.util.List getFaceAnnotationsOrBuilderList(); /** - * - * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; - * + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; */ com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - java.util.List getShotAnnotationsList(); + java.util.List + getShotAnnotationsList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
similarity index 65%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
index ab8d81597..9e4e75eeb 100644
--- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
 /**
- *
- *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoContext} */ -public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoContext) VideoContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,100 +54,74 @@ private VideoContext( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1beta2.VideoSegment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); } - case 18: - { - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder subBuilder = - null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder - subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); - } - shotChangeDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder - subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 42: { + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder subBuilder = null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); } - case 42: - { - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder subBuilder = - null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); - } - faceDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = 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) { @@ -172,7 +129,8 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -181,27 +139,22 @@ private VideoContext( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoContext.class, - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoContext.class, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -215,8 +168,6 @@ public java.util.List g
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -226,13 +177,11 @@ public java.util.List g
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -246,8 +195,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -261,8 +208,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int i
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -280,15 +225,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig labelDetectionConfig_;
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -296,53 +237,37 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shotChangeDetectionConfig_; /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -350,56 +275,37 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() - : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicitContentDetectionConfig_; /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -407,55 +313,37 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig faceDetectionConfig_; /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -463,41 +351,30 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +386,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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -535,24 +413,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getShotChangeDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getExplicitContentDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFaceDetectionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -562,33 +440,34 @@ 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.videointelligence.v1beta2.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.VideoContext other = - (com.google.cloud.videointelligence.v1beta2.VideoContext) obj; + com.google.cloud.videointelligence.v1beta2.VideoContext other = (com.google.cloud.videointelligence.v1beta2.VideoContext) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) - return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig() + .equals(other.getFaceDetectionConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -627,127 +506,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.VideoContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1beta2.VideoContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.VideoContext 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; } /** - * - * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoContext} */ - 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.videointelligence.v1beta2.VideoContext) com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoContext.class, - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoContext.class, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder() @@ -755,17 +624,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) { getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -803,9 +672,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override @@ -824,8 +693,7 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoContext result = - new com.google.cloud.videointelligence.v1beta2.VideoContext(this); + com.google.cloud.videointelligence.v1beta2.VideoContext result = new com.google.cloud.videointelligence.v1beta2.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -864,39 +732,38 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoContext) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoContext)other); } else { super.mergeFrom(other); return this; @@ -904,8 +771,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -924,10 +790,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoContext segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -964,8 +829,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.VideoContext) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -974,30 +838,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, - com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1006,8 +861,7 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsList() {
+    public java.util.List getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1015,8 +869,6 @@ private void ensureSegmentsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1033,8 +885,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1051,8 +901,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int i
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1076,8 +924,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1087,8 +933,7 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index,
-        com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1099,8 +944,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1123,8 +966,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.VideoSegme
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1148,8 +989,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1170,8 +1009,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1181,8 +1018,7 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index,
-        com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1193,8 +1029,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1204,11 +1038,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1216,8 +1050,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1237,8 +1069,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1258,8 +1088,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1273,8 +1101,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmen
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1286,14 +1112,11 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmen
     public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1302,9 +1125,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1312,8 +1134,6 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1323,12 +1143,10 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1339,13 +1157,10 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
      */
     public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1354,23 +1169,20 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.VideoSegment,
-            com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1beta2.VideoSegment,
-                com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1378,62 +1190,41 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
 
     private com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig,
-            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>
-        labelDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1447,15 +1238,11 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder builderForValue) { @@ -1469,25 +1256,17 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder( - labelDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1499,15 +1278,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1521,131 +1296,90 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), getParentForChildren(), isClean()); + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), + getParentForChildren(), + isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> - shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1659,19 +1393,14 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1682,25 +1411,17 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder( - shotChangeDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1712,15 +1433,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1734,133 +1451,90 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), getParentForChildren(), isClean()); + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), + getParentForChildren(), + isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null - || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1874,19 +1548,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1897,25 +1566,17 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder( - explicitContentDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1927,15 +1588,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1949,67 +1606,48 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder - getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), + getParentForChildren(), + isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -2017,58 +1655,41 @@ public Builder clearExplicitContentDetectionConfig() { private com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> - faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ - public Builder setFaceDetectionConfig( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2082,14 +1703,11 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder builderForValue) { @@ -2103,24 +1721,17 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ - public Builder mergeFaceDetectionConfig( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder( - faceDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); } else { faceDetectionConfig_ = value; } @@ -2132,14 +1743,11 @@ public Builder mergeFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -2153,70 +1761,55 @@ public Builder clearFaceDetectionConfig() { return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder - getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), getParentForChildren(), isClean()); + faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), + getParentForChildren(), + isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } - @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); } @@ -2226,12 +1819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoContext) private static final com.google.cloud.videointelligence.v1beta2.VideoContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoContext(); } @@ -2240,16 +1833,16 @@ public static com.google.cloud.videointelligence.v1beta2.VideoContext getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2264,4 +1857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java index 99909e56e..7a88104c1 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface VideoContextOrBuilder - extends +public interface VideoContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -34,10 +16,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -48,8 +29,6 @@ public interface VideoContextOrBuilder
    */
   com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -60,8 +39,6 @@ public interface VideoContextOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -70,11 +47,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -83,169 +58,114 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
+  com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; */ - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig - getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; */ - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..c008dc716 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java @@ -0,0 +1,411 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/videointelligence/v1beta2" + + "/video_intelligence.proto\022&google.cloud." + + "videointelligence.v1beta2\032\034google/api/an" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032#googl" + + "e/longrunning/operations.proto\032\036google/p" + + "rotobuf/duration.proto\032\037google/protobuf/" + + "timestamp.proto\032\027google/rpc/status.proto" + + "\"\210\002\n\024AnnotateVideoRequest\022\021\n\tinput_uri\030\001" + + " \001(\t\022\025\n\rinput_content\030\006 \001(\014\022F\n\010features\030" + + "\002 \003(\0162/.google.cloud.videointelligence.v" + + "1beta2.FeatureB\003\340A\002\022K\n\rvideo_context\030\003 \001" + + "(\01324.google.cloud.videointelligence.v1be" + + "ta2.VideoContext\022\027\n\noutput_uri\030\004 \001(\tB\003\340A" + + "\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\354\003\n\014VideoCon" + + "text\022F\n\010segments\030\001 \003(\01324.google.cloud.vi" + + "deointelligence.v1beta2.VideoSegment\022\\\n\026" + + "label_detection_config\030\002 \001(\0132<.google.cl" + + "oud.videointelligence.v1beta2.LabelDetec" + + "tionConfig\022g\n\034shot_change_detection_conf" + + "ig\030\003 \001(\0132A.google.cloud.videointelligenc" + + "e.v1beta2.ShotChangeDetectionConfig\022q\n!e" + + "xplicit_content_detection_config\030\004 \001(\0132F" + + ".google.cloud.videointelligence.v1beta2." + + "ExplicitContentDetectionConfig\022Z\n\025face_d" + + "etection_config\030\005 \001(\0132;.google.cloud.vid" + + "eointelligence.v1beta2.FaceDetectionConf" + + "ig\"\232\001\n\024LabelDetectionConfig\022X\n\024label_det" + + "ection_mode\030\001 \001(\0162:.google.cloud.videoin" + + "telligence.v1beta2.LabelDetectionMode\022\031\n" + + "\021stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"" + + "*\n\031ShotChangeDetectionConfig\022\r\n\005model\030\001 " + + "\001(\t\"/\n\036ExplicitContentDetectionConfig\022\r\n" + + "\005model\030\001 \001(\t\"D\n\023FaceDetectionConfig\022\r\n\005m" + + "odel\030\001 \001(\t\022\036\n\026include_bounding_boxes\030\002 \001" + + "(\010\"x\n\014VideoSegment\0224\n\021start_time_offset\030" + + "\001 \001(\0132\031.google.protobuf.Duration\0222\n\017end_" + + "time_offset\030\002 \001(\0132\031.google.protobuf.Dura" + + "tion\"i\n\014LabelSegment\022E\n\007segment\030\001 \001(\01324." + + "google.cloud.videointelligence.v1beta2.V" + + "ideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabel" + + "Frame\022.\n\013time_offset\030\001 \001(\0132\031.google.prot" + + "obuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Ent" + + "ity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 " + + "\001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\250\002\n\017LabelAnno" + + "tation\022>\n\006entity\030\001 \001(\0132..google.cloud.vi" + + "deointelligence.v1beta2.Entity\022I\n\021catego" + + "ry_entities\030\002 \003(\0132..google.cloud.videoin" + + "telligence.v1beta2.Entity\022F\n\010segments\030\003 " + + "\003(\01324.google.cloud.videointelligence.v1b" + + "eta2.LabelSegment\022B\n\006frames\030\004 \003(\01322.goog" + + "le.cloud.videointelligence.v1beta2.Label" + + "Frame\"\232\001\n\024ExplicitContentFrame\022.\n\013time_o" + + "ffset\030\001 \001(\0132\031.google.protobuf.Duration\022R" + + "\n\026pornography_likelihood\030\002 \001(\01622.google." + + "cloud.videointelligence.v1beta2.Likeliho" + + "od\"i\n\031ExplicitContentAnnotation\022L\n\006frame" + + "s\030\001 \003(\0132<.google.cloud.videointelligence" + + ".v1beta2.ExplicitContentFrame\"Q\n\025Normali" + + "zedBoundingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(" + + "\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"T\n\013Face" + + "Segment\022E\n\007segment\030\001 \001(\01324.google.cloud." + + "videointelligence.v1beta2.VideoSegment\"\235" + + "\001\n\tFaceFrame\022`\n\031normalized_bounding_boxe" + + "s\030\001 \003(\0132=.google.cloud.videointelligence" + + ".v1beta2.NormalizedBoundingBox\022.\n\013time_o" + + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"\255" + + "\001\n\016FaceAnnotation\022\021\n\tthumbnail\030\001 \001(\014\022E\n\010" + + "segments\030\002 \003(\01323.google.cloud.videointel" + + "ligence.v1beta2.FaceSegment\022A\n\006frames\030\003 " + + "\003(\01321.google.cloud.videointelligence.v1b" + + "eta2.FaceFrame\"\337\004\n\026VideoAnnotationResult" + + "s\022\021\n\tinput_uri\030\001 \001(\t\022Z\n\031segment_label_an" + + "notations\030\002 \003(\01327.google.cloud.videointe" + + "lligence.v1beta2.LabelAnnotation\022W\n\026shot" + + "_label_annotations\030\003 \003(\01327.google.cloud." + + "videointelligence.v1beta2.LabelAnnotatio" + + "n\022X\n\027frame_label_annotations\030\004 \003(\01327.goo" + + "gle.cloud.videointelligence.v1beta2.Labe" + + "lAnnotation\022P\n\020face_annotations\030\005 \003(\01326." + + "google.cloud.videointelligence.v1beta2.F" + + "aceAnnotation\022N\n\020shot_annotations\030\006 \003(\0132" + + "4.google.cloud.videointelligence.v1beta2" + + ".VideoSegment\022^\n\023explicit_annotation\030\007 \001" + + "(\0132A.google.cloud.videointelligence.v1be" + + "ta2.ExplicitContentAnnotation\022!\n\005error\030\t" + + " \001(\0132\022.google.rpc.Status\"s\n\025AnnotateVide" + + "oResponse\022Z\n\022annotation_results\030\001 \003(\0132>." + + "google.cloud.videointelligence.v1beta2.V" + + "ideoAnnotationResults\"\247\001\n\027VideoAnnotatio" + + "nProgress\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress" + + "_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"u\n\025Annot" + + "ateVideoProgress\022\\\n\023annotation_progress\030" + + "\001 \003(\0132?.google.cloud.videointelligence.v" + + "1beta2.VideoAnnotationProgress*\206\001\n\007Featu" + + "re\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DET" + + "ECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032E" + + "XPLICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETE" + + "CTION\020\004*r\n\022LabelDetectionMode\022$\n LABEL_D" + + "ETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE" + + "\020\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MOD" + + "E\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIF" + + "IED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014" + + "\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020" + + "\0052\312\002\n\030VideoIntelligenceService\022\327\001\n\rAnnot" + + "ateVideo\022<.google.cloud.videointelligenc" + + "e.v1beta2.AnnotateVideoRequest\032\035.google." + + "longrunning.Operation\"i\202\323\344\223\002\035\"\030/v1beta2/" + + "videos:annotate:\001*\332A\022input_uri,features\312" + + "A.\n\025AnnotateVideoResponse\022\025AnnotateVideo" + + "Progress\032T\312A videointelligence.googleapi" + + "s.com\322A.https://www.googleapis.com/auth/" + + "cloud-platformB\244\002\n*com.google.cloud.vide" + + "ointelligence.v1beta2B\035VideoIntelligence" + + "ServiceProtoP\001ZWgoogle.golang.org/genpro" + + "to/googleapis/cloud/videointelligence/v1" + + "beta2;videointelligence\252\002&Google.Cloud.V" + + "ideoIntelligence.V1Beta2\312\002&Google\\Cloud\\" + + "VideoIntelligence\\V1beta2\352\002)Google::Clou" + + "d::VideoIntelligence::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor, + new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor, + new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", }); + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor, + new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor, + new java.lang.String[] { "Model", "IncludeBoundingBoxes", }); + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor, + new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", }); + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor, + new java.lang.String[] { "TimeOffset", "Confidence", }); + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor, + new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor, + new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor, + new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { "Frames", }); + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor, + new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor, + new java.lang.String[] { "Segment", }); + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor, + new java.lang.String[] { "NormalizedBoundingBoxes", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor, + new java.lang.String[] { "Thumbnail", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor, + new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "FaceAnnotations", "ShotAnnotations", "ExplicitAnnotation", "Error", }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor, + new java.lang.String[] { "AnnotationResults", }); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor, + new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor, + new java.lang.String[] { "AnnotationProgress", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java index 8efbfcd61..9358a32dc 100644 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** - * - * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoSegment} */ -public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoSegment) VideoSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoSegment() {} + private VideoSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private VideoSegment( 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(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 18: - { - 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; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private VideoSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoSegment.class, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoSegment.class, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -153,26 +128,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -188,15 +156,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -204,26 +169,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -237,7 +195,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,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());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.videointelligence.v1beta2.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.VideoSegment other =
-        (com.google.cloud.videointelligence.v1beta2.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1beta2.VideoSegment other = (com.google.cloud.videointelligence.v1beta2.VideoSegment) obj;
 
     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;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.VideoSegment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1beta2.VideoSegment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1beta2.VideoSegment 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;
   }
   /**
-   *
-   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoSegment} */ - 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.videointelligence.v1beta2.VideoSegment) com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoSegment.class, - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoSegment.class, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder() @@ -448,15 +399,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(); @@ -476,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override @@ -497,8 +449,7 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoSegment result = - new com.google.cloud.videointelligence.v1beta2.VideoSegment(this); + com.google.cloud.videointelligence.v1beta2.VideoSegment result = new com.google.cloud.videointelligence.v1beta2.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -517,39 +468,38 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoSegment)other); } else { super.mergeFrom(other); return this; @@ -557,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()) return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -584,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1beta2.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,49 +545,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_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -661,8 +596,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -670,7 +603,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();
@@ -681,8 +615,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,9 +626,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;
         }
@@ -708,8 +638,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -729,8 +657,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -739,13 +665,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -757,14 +681,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -773,17 +694,14 @@ 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_;
@@ -791,49 +709,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_;
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -855,8 +760,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -864,7 +767,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -875,8 +779,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -888,9 +790,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;
         }
@@ -902,8 +802,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -923,8 +821,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -933,13 +829,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -951,14 +845,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -967,24 +858,21 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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> 
         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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -994,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoSegment)
   private static final com.google.cloud.videointelligence.v1beta2.VideoSegment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoSegment();
   }
@@ -1008,16 +896,16 @@ public static com.google.cloud.videointelligence.v1beta2.VideoSegment getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoSegment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoSegment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoSegment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoSegment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1032,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1beta2.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
index 7505cfae2..3ea6fe7fe 100644
--- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface VideoSegmentOrBuilder
-    extends
+public interface VideoSegmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -62,34 +38,26 @@ public interface VideoSegmentOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
similarity index 100%
rename from proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
rename to owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..4e2e757f5
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,47 @@
+/*
+ * 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.videointelligence.v1beta2.stub.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings;
+import java.time.Duration;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceStubSettings.Builder videoIntelligenceServiceSettingsBuilder =
+        VideoIntelligenceServiceStubSettings.newBuilder();
+    videoIntelligenceServiceSettingsBuilder
+        .annotateVideoSettings()
+        .setRetrySettings(
+            videoIntelligenceServiceSettingsBuilder
+                .annotateVideoSettings()
+                .getRetrySettings()
+                .toBuilder()
+                .setTotalTimeout(Duration.ofSeconds(30))
+                .build());
+    VideoIntelligenceServiceStubSettings videoIntelligenceServiceSettings =
+        videoIntelligenceServiceSettingsBuilder.build();
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java
new file mode 100644
index 000000000..065d030b9
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java
@@ -0,0 +1,56 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1beta2.Feature;
+import com.google.cloud.videointelligence.v1beta2.VideoContext;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.longrunning.Operation;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class AsyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    asyncAnnotateVideo();
+  }
+
+  public static void asyncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      ApiFuture future =
+          videoIntelligenceServiceClient.annotateVideoCallable().futureCall(request);
+      // Do something.
+      Operation response = future.get();
+    }
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_async]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java
new file mode 100644
index 000000000..b2c15855c
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java
@@ -0,0 +1,57 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async]
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress;
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1beta2.Feature;
+import com.google.cloud.videointelligence.v1beta2.VideoContext;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class AsyncAnnotateVideoLRO {
+
+  public static void main(String[] args) throws Exception {
+    asyncAnnotateVideoLRO();
+  }
+
+  public static void asyncAnnotateVideoLRO() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      OperationFuture future =
+          videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request);
+      // Do something.
+      AnnotateVideoResponse response = future.get();
+    }
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..a8fe3d154
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,53 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1beta2.Feature;
+import com.google.cloud.videointelligence.v1beta2.VideoContext;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      AnnotateVideoResponse response =
+          videoIntelligenceServiceClient.annotateVideoAsync(request).get();
+    }
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java
new file mode 100644
index 000000000..c2935ec4f
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java
@@ -0,0 +1,44 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync]
+import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1beta2.Feature;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import java.util.ArrayList;
+import java.util.List;
+
+public class SyncAnnotateVideoStringListfeature {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideoStringListfeature();
+  }
+
+  public static void syncAnnotateVideoStringListfeature() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      String inputUri = "inputUri470706498";
+      List features = new ArrayList<>();
+      AnnotateVideoResponse response =
+          videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();
+    }
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java
new file mode 100644
index 000000000..4aecb28a8
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -0,0 +1,42 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync]
+import com.google.api.gax.core.FixedCredentialsProvider;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings;
+import com.google.cloud.videointelligence.v1beta2.myCredentials;
+
+public class SyncCreateSetCredentialsProvider {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetCredentialsProvider();
+  }
+
+  public static void syncCreateSetCredentialsProvider() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder()
+            .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+            .build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java
new file mode 100644
index 000000000..6b025c883
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java
@@ -0,0 +1,41 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync]
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings;
+
+public class SyncCreateSetCredentialsProvider1 {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetCredentialsProvider1();
+  }
+
+  public static void syncCreateSetCredentialsProvider1() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder()
+            .setTransportChannelProvider(
+                VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+            .build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java
new file mode 100644
index 000000000..bef39c8e6
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java
@@ -0,0 +1,39 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync]
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings;
+import com.google.cloud.videointelligence.v1beta2.myEndpoint;
+
+public class SyncCreateSetEndpoint {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetEndpoint();
+  }
+
+  public static void syncCreateSetEndpoint() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync]
diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..801276110
--- /dev/null
+++ b/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,47 @@
+/*
+ * 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.videointelligence.v1beta2.samples;
+
+// [START videointelligence_v1beta2_generated_videointelligenceservicesettings_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings;
+import java.time.Duration;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings.Builder videoIntelligenceServiceSettingsBuilder =
+        VideoIntelligenceServiceSettings.newBuilder();
+    videoIntelligenceServiceSettingsBuilder
+        .annotateVideoSettings()
+        .setRetrySettings(
+            videoIntelligenceServiceSettingsBuilder
+                .annotateVideoSettings()
+                .getRetrySettings()
+                .toBuilder()
+                .setTotalTimeout(Duration.ofSeconds(30))
+                .build());
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        videoIntelligenceServiceSettingsBuilder.build();
+  }
+}
+// [END videointelligence_v1beta2_generated_videointelligenceservicesettings_annotatevideo_sync]
diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java
similarity index 87%
rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java
rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java
index 18fec39c5..d522cac3d 100644
--- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java
+++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java
@@ -18,13 +18,13 @@
 
 import com.google.api.core.BetaApi;
 import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.longrunning.OperationsClient;
 import com.google.api.gax.longrunning.OperationFuture;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
 import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStub;
 import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings;
 import com.google.longrunning.Operation;
-import com.google.longrunning.OperationsClient;
 import java.io.IOException;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
@@ -57,13 +57,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. *
* @@ -100,6 +100,21 @@ * VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); * }
* + *

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.
+ * VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+ *     VideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+ *     VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -107,7 +122,8 @@ public class VideoIntelligenceServiceClient implements BackgroundResource { private final VideoIntelligenceServiceSettings settings; private final VideoIntelligenceServiceStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of VideoIntelligenceServiceClient with default settings. */ public static final VideoIntelligenceServiceClient create() throws IOException { @@ -141,13 +157,17 @@ protected VideoIntelligenceServiceClient(VideoIntelligenceServiceSettings settin throws IOException { this.settings = settings; this.stub = ((VideoIntelligenceServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected VideoIntelligenceServiceClient(VideoIntelligenceServiceStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final VideoIntelligenceServiceSettings getSettings() { @@ -162,10 +182,18 @@ public VideoIntelligenceServiceStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Performs asynchronous video annotation. Progress and results can be retrieved through the diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java index 18110309d..6fd8bfded 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java @@ -21,10 +21,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.OperationCallSettings; +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.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings; @@ -40,10 +42,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -111,11 +113,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return VideoIntelligenceServiceStubSettings.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 VideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return VideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return VideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -125,11 +134,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return VideoIntelligenceServiceStubSettings.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); @@ -168,6 +183,11 @@ private static Builder createDefault() { return new Builder(VideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(VideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((VideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..77bd0fd5e --- /dev/null +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.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.videointelligence.v1p1beta1.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 VideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceCallableFactory + 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/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..5b1f24c7e --- /dev/null +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -0,0 +1,231 @@ +/* + * 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.videointelligence.v1p1beta1.stub; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; +import com.google.longrunning.Operation; +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 VideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(AnnotateVideoResponse.getDescriptor()) + .add(AnnotateVideoProgress.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + annotateVideoMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService/AnnotateVideo") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1p1beta1/videos:annotate", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AnnotateVideoRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable annotateVideoCallable; + private final OperationCallable< + AnnotateVideoRequest, AnnotateVideoResponse, AnnotateVideoProgress> + annotateVideoOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonVideoIntelligenceServiceStub create( + VideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonVideoIntelligenceServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings annotateVideoTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(annotateVideoMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.annotateVideoCallable = + callableFactory.createUnaryCallable( + annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext); + this.annotateVideoOperationCallable = + callableFactory.createOperationCallable( + annotateVideoTransportSettings, + settings.annotateVideoOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(annotateVideoMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable annotateVideoCallable() { + return annotateVideoCallable; + } + + @Override + public OperationCallable + annotateVideoOperationCallable() { + return annotateVideoOperationCallable; + } + + @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-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java similarity index 93% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java index dc5a07376..5d6a82e1b 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java @@ -38,7 +38,11 @@ public abstract class VideoIntelligenceServiceStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 84% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java index b9df391c6..124f15982 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -25,6 +25,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +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.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -55,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -114,6 +117,11 @@ public VideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -146,18 +154,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(VideoIntelligenceServiceStubSettings.class)) @@ -165,11 +180,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(VideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return VideoIntelligenceServiceStubSettings.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); @@ -266,6 +300,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 .annotateVideoSettings() diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..b3b750a70 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * 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.videointelligence.v1p1beta1; + +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.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.videointelligence.v1p1beta1.stub.HttpJsonVideoIntelligenceServiceStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +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 VideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static VideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonVideoIntelligenceServiceStub.getMethodDescriptors(), + VideoIntelligenceServiceSettings.getDefaultEndpoint()); + VideoIntelligenceServiceSettings settings = + VideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = VideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void annotateVideoTest() throws Exception { + AnnotateVideoResponse expectedResponse = + AnnotateVideoResponse.newBuilder() + .addAllAnnotationResults(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("annotateVideoTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + + AnnotateVideoResponse actualResponse = client.annotateVideoAsync(inputUri, features).get(); + 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 annotateVideoExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + client.annotateVideoAsync(inputUri, features).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java diff --git a/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java rename to owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java index 7ac8c9581..2426af58e 100644 --- a/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java +++ b/owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.videointelligence.v1p1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -32,110 +15,92 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { + io.grpc.MethodDescriptor getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) - == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = - getAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -143,36 +108,32 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>( + this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -183,8 +144,6 @@ protected VideoIntelligenceServiceStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -192,25 +151,19 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -223,8 +176,6 @@ protected VideoIntelligenceServiceBlockingStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -232,22 +183,18 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -260,8 +207,6 @@ protected VideoIntelligenceServiceFutureStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -269,8 +214,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture annotateVideo( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -278,11 +223,11 @@ protected VideoIntelligenceServiceFutureStub build( private static final int METHODID_ANNOTATE_VIDEO = 0; - 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 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -296,8 +241,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo( - (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -316,15 +260,13 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .getDescriptor(); + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor(); } @java.lang.Override @@ -361,12 +303,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java index 659f2aef5..fe69b3d05 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationProgress_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationProgress_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationProgress_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationProgress_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -110,108 +89,80 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class,
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationProgress_;
+  private java.util.List annotationProgress_;
   /**
-   *
-   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> + public java.util.List getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index) { return annotationProgress_.get(index); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p1beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other = - (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList() + .equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress - 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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; } /** - * - * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p1beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class,
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress result =
-          new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p1beta1.AnnotateVideoProgress) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other) {
+      if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationProgressFieldBuilder()
-                    : null;
+            annotationProgressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationProgressFieldBuilder() : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationProgress_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationProgress_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress>(
-                annotationProgress_);
+        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress,
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>
-        annotationProgressBuilder_;
+        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
 
     /**
-     *
-     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationProgressIsMutable() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -658,15 +565,11 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { @@ -683,20 +586,14 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { @@ -757,19 +645,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAllAnnotationProgress( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress> - values) { + java.lang.Iterable values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationProgress() { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationProgress(int index) { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - getAnnotationProgressBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( + int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); - } else { + return annotationProgress_.get(index); } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList() { + public java.util.List + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationProgress(int index) { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder(int index) { - return getAnnotationProgressFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( + int index) { + return getAnnotationProgressFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder> - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationProgress(int index) { } return annotationProgressBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..4632ff94c --- /dev/null +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public interface AnnotateVideoProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + */ + int getAnnotationProgressCount(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java index eb64e7fbf..985368146 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotateVideoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -47,15 +29,16 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,81 +58,72 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { + features_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - features_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 26: { + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.VideoContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); - } - - break; + videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: - { - inputContent_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputUri_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + case 50: { + + inputContent_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,7 +131,8 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -166,27 +141,22 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -202,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -211,15 +180,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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -235,15 +203,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; - * * @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 { @@ -254,8 +223,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -263,7 +230,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -274,50 +240,34 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature> - features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature> features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>() { - public com.google.cloud.videointelligence.v1p1beta1.Feature convert( - java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p1beta1.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Feature result = - com.google.cloud.videointelligence.v1p1beta1.Feature.valueOf(from); - return result == null - ? com.google.cloud.videointelligence.v1p1beta1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p1beta1.Feature result = com.google.cloud.videointelligence.v1p1beta1.Feature.valueOf(from); + return result == null ? com.google.cloud.videointelligence.v1p1beta1.Feature.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>(features_, features_converter_); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ @java.lang.Override @@ -325,16 +275,11 @@ public int getFeaturesCount() { return features_.size(); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -343,33 +288,24 @@ public com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return features_; } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -377,20 +313,16 @@ public java.util.List getFeaturesValueList() { public int getFeaturesValue(int index) { return features_.get(index); } - private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p1beta1.VideoContext videoContext_; /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -398,25 +330,18 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext() { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -424,16 +349,13 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -445,7 +367,6 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ @java.lang.Override @@ -454,15 +375,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; } } /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -474,15 +394,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -493,8 +414,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -502,7 +421,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ @java.lang.Override @@ -511,15 +429,14 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -527,15 +444,16 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -544,7 +462,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,7 +473,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -595,17 +513,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -614,7 +533,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -624,23 +544,27 @@ 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.videointelligence.v1p1beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext().equals(other.getVideoContext())) return false; + if (!getVideoContext() + .equals(other.getVideoContext())) return false; } - if (!getOutputUri().equals(other.getOutputUri())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOutputUri() + .equals(other.getOutputUri())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -674,145 +598,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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; } /** - * - * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p1beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.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(); @@ -836,14 +749,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -858,8 +770,7 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest result = - new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -883,50 +794,46 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p1beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -974,9 +881,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -985,13 +890,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1007,13 +909,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; - * * @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; @@ -1022,8 +924,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1039,14 +939,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; - * * @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 { @@ -1054,8 +955,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1071,22 +970,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 1; - * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1102,18 +999,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1129,16 +1023,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; - * * @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; @@ -1146,8 +1040,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1155,7 +1047,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -1163,8 +1054,6 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1172,22 +1061,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1195,18 +1081,17 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = java.util.Collections.emptyList(); - + private java.util.List features_ = + java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1214,50 +1099,34 @@ private void ensureFeaturesIsMutable() { } } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>(features_, features_converter_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -1265,16 +1134,11 @@ public com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1290,16 +1154,11 @@ public Builder setFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The features to add. * @return This builder for chaining. */ @@ -1313,16 +1172,11 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p1beta1.Feature return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The features to add. * @return This builder for chaining. */ @@ -1336,16 +1190,11 @@ public Builder addAllFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1355,32 +1204,23 @@ public Builder clearFeatures() { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1388,37 +1228,28 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue(int index, int value) { + public Builder setFeaturesValue( + int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1429,20 +1260,16 @@ public Builder addFeaturesValue(int value) { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue(java.lang.Iterable values) { + public Builder addAllFeaturesValue( + java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1453,55 +1280,41 @@ public Builder addAllFeaturesValue(java.lang.Iterable values) private com.google.cloud.videointelligence.v1p1beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> - videoContextBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> videoContextBuilder_; /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public Builder setVideoContext( - com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { + public Builder setVideoContext(com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1515,8 +1328,6 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1535,22 +1346,17 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext( - com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { + public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder(videoContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); } else { videoContext_ = value; } @@ -1562,8 +1368,6 @@ public Builder mergeVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1582,42 +1386,33 @@ public Builder clearVideoContext() { return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder - getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? + com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1625,17 +1420,14 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder>( - getVideoContext(), getParentForChildren(), isClean()); + videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder>( + getVideoContext(), + getParentForChildren(), + isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1643,8 +1435,6 @@ public Builder clearVideoContext() { private java.lang.Object outputUri_ = ""; /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1656,13 +1446,13 @@ public Builder clearVideoContext() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1671,8 +1461,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1684,14 +1472,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1699,8 +1488,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1712,22 +1499,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1739,18 +1524,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1762,16 +1544,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1779,8 +1561,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1788,13 +1568,13 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1803,8 +1583,6 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1812,14 +1590,15 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1827,8 +1606,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1836,22 +1613,20 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1859,18 +1634,15 @@ public Builder setLocationId(java.lang.String value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1878,23 +1650,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1904,32 +1676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1941,8 +1711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java index 0fd185b9a..8a54ec4f0 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface AnnotateVideoRequestOrBuilder - extends +public interface AnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -41,13 +23,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -63,14 +42,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -78,111 +55,78 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ java.util.List getFeaturesList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ int getFeaturesCount(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int index); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - java.util.List getFeaturesValueList(); + java.util.List + getFeaturesValueList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; - * * @return The videoContext. */ com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -192,8 +136,6 @@ public interface AnnotateVideoRequestOrBuilder com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -205,13 +147,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -223,14 +162,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -238,13 +175,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -252,8 +186,8 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java index 387e5c0f6..43acb5e59 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationResults_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationResults_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -110,108 +89,80 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationResults_;
+  private java.util.List annotationResults_;
   /**
-   *
-   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> + public java.util.List getAnnotationResultsOrBuilderList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index) { return annotationResults_.get(index); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p1beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList() + .equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse - 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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; } /** - * - * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p1beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p1beta1.AnnotateVideoResponse) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other) {
+      if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationResultsFieldBuilder()
-                    : null;
+            annotationResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationResultsFieldBuilder() : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationResults_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationResults_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults>(
-                annotationResults_);
+        annotationResults_ = new java.util.ArrayList(annotationResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults,
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationResultsIsMutable() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationResultsCount() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -658,15 +565,11 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAn } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { @@ -683,20 +586,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { @@ -757,19 +645,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAllAnnotationResults( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults> - values) { + java.lang.Iterable values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationResults(int index) { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - getAnnotationResultsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( + int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); - } else { + return annotationResults_.get(index); } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList() { + public java.util.List + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationResults(int index) { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder(int index) { - return getAnnotationResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( + int index) { + return getAnnotationResultsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder> - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationResults(int index) { } return annotationResultsBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..10fce9b23 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public interface AnnotateVideoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + */ + int getAnnotationResultsCount(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java index aa2158852..35fb601f9 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entityId_ = ""; description_ = ""; @@ -45,15 +27,16 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Entity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Entity( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.Entity.class, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.Entity.class, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity_id = 1; - * * @return The entityId. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -166,15 +140,16 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getEntityIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -329,17 +298,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.videointelligence.v1p1beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.Entity other = - (com.google.cloud.videointelligence.v1p1beta1.Entity) obj; + com.google.cloud.videointelligence.v1p1beta1.Entity other = (com.google.cloud.videointelligence.v1p1beta1.Entity) obj; - if (!getEntityId().equals(other.getEntityId())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getEntityId() + .equals(other.getEntityId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,126 +334,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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; } /** - * - * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.Entity} */ - 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.videointelligence.v1p1beta1.Entity) com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.Entity.class, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.Entity.class, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder() @@ -490,15 +452,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(); @@ -512,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override @@ -533,8 +496,7 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.Entity result = - new com.google.cloud.videointelligence.v1p1beta1.Entity(this); + com.google.cloud.videointelligence.v1p1beta1.Entity result = new com.google.cloud.videointelligence.v1p1beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -546,39 +508,38 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.Entity) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.Entity)other); } else { super.mergeFrom(other); return this; @@ -586,8 +547,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance()) return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -619,8 +579,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,8 +591,6 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -641,13 +598,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; - * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -656,8 +613,6 @@ public java.lang.String getEntityId() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -665,14 +620,15 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -680,8 +636,6 @@ public com.google.protobuf.ByteString getEntityIdBytes() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -689,22 +643,20 @@ public com.google.protobuf.ByteString getEntityIdBytes() {
      * 
* * string entity_id = 1; - * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId(java.lang.String value) { + public Builder setEntityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -712,18 +664,15 @@ public Builder setEntityId(java.lang.String value) {
      * 
* * string entity_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -731,16 +680,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; - * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -748,20 +697,18 @@ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -770,21 +717,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -792,61 +738,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -854,20 +793,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -876,21 +813,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -898,68 +834,61 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -969,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.Entity) private static final com.google.cloud.videointelligence.v1p1beta1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.Entity(); } @@ -983,16 +912,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java index b380cbe63..dc844d8e5 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -33,13 +15,10 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The entityId. */ java.lang.String getEntityId(); /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -47,58 +26,48 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - com.google.protobuf.ByteString getEntityIdBytes(); + com.google.protobuf.ByteString + getEntityIdBytes(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java index cb811b4eb..e92ea8d67 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExplicitContentAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                frames_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              frames_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              frames_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            frames_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -110,101 +89,80 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class,
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
-   *
-   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,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 { for (int i = 0; i < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -230,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,15 +200,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.videointelligence.v1p1beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other = - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) obj; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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; } /** - * - * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -377,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p1beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class,
-              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,22 +374,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -450,8 +395,7 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result =
-          new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -470,51 +414,46 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p1beta1.ExplicitContentAnnotation) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other) {
+      if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -533,10 +472,9 @@ public Builder mergeFrom(
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFramesFieldBuilder()
-                    : null;
+            framesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFramesFieldBuilder() : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -561,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -572,39 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        frames_ = java.util.Collections.emptyList();
-
+    private java.util.List frames_ =
+      java.util.Collections.emptyList();
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame>(frames_);
+        frames_ = new java.util.ArrayList(frames_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame,
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>
-        framesBuilder_;
+        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
 
     /**
-     *
-     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -612,14 +537,11 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -629,14 +551,11 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -646,14 +565,11 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFram } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { @@ -670,18 +586,14 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -692,17 +604,13 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -716,14 +624,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { @@ -740,14 +645,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { @@ -761,18 +663,14 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -783,22 +681,18 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -806,14 +700,11 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -826,14 +717,11 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -846,50 +734,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder - getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -897,74 +774,56 @@ public Builder removeFrames(int index) { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder - addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -974,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java index 329ec0730..4b4ad95e5 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,83 +1,52 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentAnnotationOrBuilder - extends +public interface ExplicitContentAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ int getFramesCount(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java index a48629db2..7640c1ef2 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +73,29 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -127,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -136,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -152,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -169,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -205,16 +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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,152 +207,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.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(); @@ -388,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,10 +365,8 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -424,52 +376,46 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConf 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -489,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -508,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -517,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -532,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -541,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -556,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -565,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -588,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -607,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -633,33 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +601,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java index 49568f197..64c319d2c 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentDetectionConfigOrBuilder - extends +public interface ExplicitContentDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java index 4f69fd1ca..e5e2cffc7 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - pornographyLikelihood_ = rawValue; - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + pornographyLikelihood_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private ExplicitContentFrame( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -147,15 +122,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -163,8 +135,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -180,43 +150,31 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Likelihood result = - com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p1beta1.Likelihood result = com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,13 +186,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -247,12 +204,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +219,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.videointelligence.v1p1beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other = - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -298,145 +255,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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; } /** - * - * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p1beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.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(); @@ -452,14 +398,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -474,8 +419,7 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame result = - new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -490,50 +434,46 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p1beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -559,9 +499,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -573,49 +511,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,8 +562,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -646,7 +569,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -657,8 +581,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,7 +592,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -682,8 +604,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -703,8 +623,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -713,13 +631,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -731,14 +647,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -747,17 +660,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -765,100 +675,80 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Likelihood result = - com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p1beta1.Likelihood result = com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood( - com.google.cloud.videointelligence.v1p1beta1.Likelihood value) { + public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p1beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -868,32 +758,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,8 +793,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java index 17c1891c5..50a4ec1f9 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentFrameOrBuilder - extends +public interface ExplicitContentFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,26 +38,20 @@ public interface ExplicitContentFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood(); diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java index 6ae946d28..fa54def2d 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.Feature} */ -public enum Feature implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * Speech transcription.
    * 
@@ -82,8 +56,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -92,8 +64,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -102,8 +72,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -112,8 +80,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -122,8 +88,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * Speech transcription.
    * 
@@ -132,6 +96,7 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,56 +121,51 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: - return FEATURE_UNSPECIFIED; - case 1: - return LABEL_DETECTION; - case 2: - return SHOT_CHANGE_DETECTION; - case 3: - return EXPLICIT_CONTENT_DETECTION; - case 6: - return SPEECH_TRANSCRIPTION; - default: - return null; + case 0: return FEATURE_UNSPECIFIED; + case 1: return LABEL_DETECTION; + case 2: return SHOT_CHANGE_DETECTION; + case 3: return EXPLICIT_CONTENT_DETECTION; + case 6: return SPEECH_TRANSCRIPTION; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Feature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -221,3 +181,4 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.Feature) } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java index f8a30ce28..b5674894d 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelAnnotation} */ -public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) LabelAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,53 @@ private LabelAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - categoryEntities_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.LabelSegment>(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame>(); - mutable_bitField0_ |= 0x00000004; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.parser(), - extensionRegistry)); - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelSegment.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,7 +110,8 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -160,33 +126,27 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p1beta1.Entity entity_; /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -194,25 +154,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Detected entity.
    * 
@@ -227,8 +180,6 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -239,13 +190,10 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getCategoryEntitiesList() {
+  public java.util.List getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -256,13 +204,11 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -277,8 +223,6 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -293,8 +237,6 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -313,8 +255,6 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
@@ -322,13 +262,10 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -336,14 +273,11 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -355,8 +289,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -368,8 +300,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int return segments_.get(index); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -385,8 +315,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -398,8 +326,6 @@ public java.util.List g return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -407,13 +333,11 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -425,8 +349,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -438,8 +360,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -453,7 +373,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,7 +384,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -488,16 +408,20 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -507,21 +431,24 @@ 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.videointelligence.v1p1beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other = - (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList() + .equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -555,127 +482,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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; } /** - * - * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelAnnotation} */ - 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.videointelligence.v1p1beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.newBuilder() @@ -683,19 +600,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,14 +644,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance(); } @@ -749,8 +665,7 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation result = - new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -792,39 +707,38 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation)other); } else { super.mergeFrom(other); return this; @@ -832,9 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -856,10 +768,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoryEntitiesFieldBuilder() - : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoryEntitiesFieldBuilder() : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -883,10 +794,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -910,10 +820,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -938,8 +847,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -948,52 +856,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p1beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p1beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Detected entity.
      * 
@@ -1014,8 +908,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p1beta1.Entity val return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1034,8 +926,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1046,9 +936,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p1beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1060,8 +948,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p1beta1.Entity v return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1080,8 +966,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1089,13 +973,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Detected entity.
      * 
@@ -1106,14 +988,11 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Detected entity.
      * 
@@ -1121,43 +1000,32 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList( - categoryEntities_); + categoryEntities_ = new java.util.ArrayList(categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> - categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> categoryEntitiesBuilder_; /** - * - * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1167,8 +1035,7 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesList() {
+    public java.util.List getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1176,8 +1043,6 @@ private void ensureCategoryEntitiesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1195,8 +1060,6 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1214,8 +1077,6 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(i
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1240,8 +1101,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1263,8 +1122,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1288,8 +1145,6 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p1beta1.
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1314,8 +1169,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1337,8 +1190,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1360,8 +1211,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1375,7 +1224,8 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1383,8 +1233,6 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1405,8 +1253,6 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1427,8 +1273,6 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1443,8 +1287,6 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1454,17 +1296,14 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder
-        getCategoryEntitiesOrBuilder(int index) {
+    public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
+        int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);
-      } else {
+        return categoryEntities_.get(index);  } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1474,8 +1313,8 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesOrBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1483,8 +1322,6 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1494,14 +1331,11 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder
-        addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1513,13 +1347,10 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
      */
     public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1529,22 +1360,16 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.Entity,
-            com.google.cloud.videointelligence.v1p1beta1.Entity.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> 
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p1beta1.Entity,
-                com.google.cloud.videointelligence.v1p1beta1.Entity.Builder,
-                com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1555,34 +1380,25 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(
-                segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.LabelSegment,
-            com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1590,8 +1406,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1606,8 +1420,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1622,8 +1434,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1645,8 +1455,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1654,8 +1462,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1666,8 +1473,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1688,8 +1493,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p1beta1.LabelSeg return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1711,8 +1514,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1731,8 +1532,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1740,8 +1539,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1752,8 +1550,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1761,11 +1557,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1773,8 +1569,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1792,8 +1586,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1811,8 +1603,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1824,8 +1614,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1835,23 +1623,19 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1859,8 +1643,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1868,13 +1650,10 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1883,63 +1662,48 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelSegment, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelSegment, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1954,8 +1718,6 @@ public java.util.List g } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1970,8 +1732,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1986,8 +1746,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int ind } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2009,8 +1767,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2018,8 +1774,7 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -2030,8 +1785,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2052,8 +1805,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p1beta1.LabelFrame return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2075,8 +1826,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2095,8 +1844,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2104,8 +1851,7 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -2116,8 +1862,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2125,11 +1869,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -2137,8 +1881,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2156,8 +1898,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2175,8 +1915,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2188,8 +1926,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2199,23 +1935,19 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2223,8 +1955,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2232,12 +1962,10 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2246,43 +1974,37 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -2292,13 +2014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(); } @@ -2307,16 +2028,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2331,4 +2052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java index 71d03ff77..f38730273 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelAnnotationOrBuilder - extends +public interface LabelAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p1beta1.Entity getEntity(); /** - * - * *
    * Detected entity.
    * 
@@ -59,8 +35,6 @@ public interface LabelAnnotationOrBuilder com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -70,10 +44,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
-  java.util.List getCategoryEntitiesList();
+  java.util.List 
+      getCategoryEntitiesList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -85,8 +58,6 @@ public interface LabelAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(int index);
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -98,8 +69,6 @@ public interface LabelAnnotationOrBuilder
    */
   int getCategoryEntitiesCount();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -109,11 +78,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
-  java.util.List
+  java.util.List 
       getCategoryEntitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -127,18 +94,15 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -147,8 +111,6 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int index); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -157,19 +119,15 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -180,18 +138,15 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -200,8 +155,6 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int index); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -210,24 +163,21 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java index eadc08afa..7d6bf22b0 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -44,15 +26,16 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - labelDetectionMode_ = rawValue; - break; - } - case 16: - { - stationaryCamera_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: { - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stationaryCamera_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,78 +85,60 @@ private LabelDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -183,7 +146,6 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelD
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -194,8 +156,6 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -203,7 +163,6 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; - * * @return The model. */ @java.lang.Override @@ -212,15 +171,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -228,15 +186,16 @@ public java.lang.String getModel() {
    * 
* * string model = 3; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -245,7 +204,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,11 +215,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -279,14 +235,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -299,17 +254,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.videointelligence.v1p1beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other = - (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() != other.getStationaryCamera()) return false; - if (!getModel().equals(other.getModel())) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,7 +280,8 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -333,145 +290,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p1beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.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(); @@ -485,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -507,8 +452,7 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig result = - new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -520,50 +464,46 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p1beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance()) return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -593,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,118 +545,90 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED : result; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -726,7 +636,6 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -734,8 +643,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -743,19 +650,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -763,11 +667,10 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -775,8 +678,6 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -784,13 +685,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -799,8 +700,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -808,14 +707,15 @@ public java.lang.String getModel() {
      * 
* * string model = 3; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -823,8 +723,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -832,22 +730,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 3; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -855,18 +751,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 3; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -874,23 +767,23 @@ public Builder clearModel() {
      * 
* * string model = 3; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -900,32 +793,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,8 +828,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java index 0b0fd0328..6f3007397 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java @@ -1,62 +1,36 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelDetectionConfigOrBuilder - extends +public interface LabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode(); /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -64,14 +38,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,13 +50,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -93,8 +61,8 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java index 3e3837bdd..997ec6b30 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionMode} */ -public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** - * - * *
    * Detect shot-level labels.
    * 
@@ -49,8 +29,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ SHOT_MODE(1), /** - * - * *
    * Detect frame-level labels.
    * 
@@ -59,8 +37,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ FRAME_MODE(2), /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -72,8 +48,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unspecified.
    * 
@@ -82,8 +56,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Detect shot-level labels.
    * 
@@ -92,8 +64,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_MODE_VALUE = 1; /** - * - * *
    * Detect frame-level labels.
    * 
@@ -102,8 +72,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int FRAME_MODE_VALUE = 2; /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -112,6 +80,7 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,48 +105,41 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: - return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: - return SHOT_MODE; - case 2: - return FRAME_MODE; - case 3: - return SHOT_AND_FRAME_MODE; - default: - return null; + case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: return SHOT_MODE; + case 2: return FRAME_MODE; + case 3: return SHOT_AND_FRAME_MODE; + 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 - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + LabelDetectionMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -185,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LabelDetectionMode 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; @@ -201,3 +164,4 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionMode) } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java index e11221933..ec3e6a672 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelFrame} */ -public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelFrame) LabelFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelFrame() {} + private LabelFrame() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private LabelFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,40 +84,35 @@ private LabelFrame( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -143,15 +120,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -159,8 +133,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -176,14 +148,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -192,7 +161,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -221,10 +190,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,20 +205,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.videointelligence.v1p1beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelFrame other = - (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,134 +236,125 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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; } /** - * - * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelFrame} */ - 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.videointelligence.v1p1beta1.LabelFrame) com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelFrame.newBuilder() @@ -399,15 +362,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(); @@ -423,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override @@ -444,8 +408,7 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelFrame result = - new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -460,39 +423,38 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelFrame)other); } else { super.mergeFrom(other); return this; @@ -500,8 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -527,8 +488,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,49 +500,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -604,8 +551,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -613,7 +558,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -624,8 +570,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,7 +581,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -649,8 +593,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,8 +612,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -680,13 +620,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -698,14 +636,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -714,32 +649,26 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -747,43 +676,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -793,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p1beta1.LabelFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(); } @@ -807,16 +730,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java index e67a97b7c..b07cb0987 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelFrameOrBuilder - extends +public interface LabelFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,14 +38,11 @@ public interface LabelFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java index e75e28dad..aa9164eac 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelSegment} */ -public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelSegment) LabelSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelSegment() {} + private LabelSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private LabelSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private LabelSegment( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p1beta1.VideoSegment segment_; /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -144,25 +119,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -177,14 +145,11 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -193,7 +158,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +169,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -222,10 +187,12 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,20 +202,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.videointelligence.v1p1beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelSegment other = - (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,134 +233,125 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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; } /** - * - * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelSegment} */ - 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.videointelligence.v1p1beta1.LabelSegment) com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelSegment.newBuilder() @@ -400,15 +359,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(); @@ -424,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override @@ -445,8 +405,7 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelSegment result = - new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -461,39 +420,38 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelSegment)other); } else { super.mergeFrom(other); return this; @@ -501,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -528,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -541,47 +497,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p1beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -602,8 +545,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSegm return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -622,8 +563,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -634,9 +573,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -648,8 +585,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSe return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -668,8 +603,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -677,32 +610,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -710,32 +637,26 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -743,43 +664,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -789,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p1beta1.LabelSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(); } @@ -803,16 +718,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java index c1d05c13b..58c118f29 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelSegmentOrBuilder - extends +public interface LabelSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -59,14 +35,11 @@ public interface LabelSegmentOrBuilder com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java index 5d892e15e..a9a55a5a0 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.Likelihood} */ -public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified likelihood.
    * 
@@ -39,8 +21,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Very unlikely.
    * 
@@ -49,8 +29,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ VERY_UNLIKELY(1), /** - * - * *
    * Unlikely.
    * 
@@ -59,8 +37,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ UNLIKELY(2), /** - * - * *
    * Possible.
    * 
@@ -69,8 +45,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ POSSIBLE(3), /** - * - * *
    * Likely.
    * 
@@ -79,8 +53,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELY(4), /** - * - * *
    * Very likely.
    * 
@@ -92,8 +64,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified likelihood.
    * 
@@ -102,8 +72,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Very unlikely.
    * 
@@ -112,8 +80,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_UNLIKELY_VALUE = 1; /** - * - * *
    * Unlikely.
    * 
@@ -122,8 +88,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Possible.
    * 
@@ -132,8 +96,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSSIBLE_VALUE = 3; /** - * - * *
    * Likely.
    * 
@@ -142,8 +104,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Very likely.
    * 
@@ -152,6 +112,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,58 +137,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -243,3 +198,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.Likelihood) } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java index abfa94593..5187ae6c1 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1p1beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.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(); @@ -379,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +366,7 @@ public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -414,51 +376,46 @@ public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -482,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -505,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -520,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -529,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -544,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -553,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -576,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -595,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -621,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java index 74c6d0bf7..121a9585f 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ShotChangeDetectionConfigOrBuilder - extends +public interface ShotChangeDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java index ac6126fc7..3002c53e9 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechContext}
  */
-public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpeechContext extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechContext)
     SpeechContextOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,23 +55,22 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                phrases_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              phrases_.add(s);
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              phrases_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            phrases_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -96,7 +78,8 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -105,27 +88,22 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class,
-            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
-   *
-   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -136,15 +114,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_; } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -155,15 +131,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -174,7 +147,6 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -182,8 +154,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -194,16 +164,15 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +184,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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -244,15 +214,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.videointelligence.v1p1beta1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechContext other = - (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechContext other = (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) obj; - if (!getPhrasesList().equals(other.getPhrasesList())) return false; + if (!getPhrasesList() + .equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -274,104 +244,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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; } /** - * - * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -379,23 +341,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechContext}
    */
-  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.videointelligence.v1p1beta1.SpeechContext)
       com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class,
-              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechContext.newBuilder()
@@ -403,15 +363,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();
@@ -421,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -442,8 +403,7 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.SpeechContext result =
-          new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1p1beta1.SpeechContext result = new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -458,39 +418,38 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechContext) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechContext)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,8 +457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()) return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -529,8 +487,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -539,21 +496,16 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -564,15 +516,13 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -583,15 +533,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -602,7 +549,6 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -610,8 +556,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -622,16 +566,14 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -642,23 +584,21 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases(int index, java.lang.String value) { + public Builder setPhrases( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -669,22 +609,20 @@ public Builder setPhrases(int index, java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases(java.lang.String value) { + public Builder addPhrases( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -695,19 +633,18 @@ public Builder addPhrases(java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases(java.lang.Iterable values) { + public Builder addAllPhrases( + java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phrases_); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -718,7 +655,6 @@ public Builder addAllPhrases(java.lang.Iterable values) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -728,8 +664,6 @@ public Builder clearPhrases() { return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -740,23 +674,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -766,12 +700,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechContext) private static final com.google.cloud.videointelligence.v1p1beta1.SpeechContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(); } @@ -780,16 +714,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java index c9352d268..caa989cc5 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechContextOrBuilder - extends +public interface SpeechContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -36,13 +18,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - java.util.List getPhrasesList(); + java.util.List + getPhrasesList(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -53,13 +33,10 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ int getPhrasesCount(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -70,14 +47,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -88,9 +62,9 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString getPhrasesBytes(int index); + com.google.protobuf.ByteString + getPhrasesBytes(int index); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java index 1bf3e5367..d307a0474 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechRecognitionAlternative extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,33 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - transcript_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.WordInfo>(); - mutable_bitField0_ |= 0x00000001; - } - words_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.WordInfo.parser(), - extensionRegistry)); - break; + transcript_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + words_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.WordInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,7 +89,8 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -121,34 +99,27 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - .class); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder.class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** - * - * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ @java.lang.Override @@ -157,29 +128,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** - * - * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -213,8 +181,6 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -226,8 +192,6 @@ public java.util.List get return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -235,13 +199,11 @@ public java.util.List get * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -253,8 +215,6 @@ public int getWordsCount() { return words_.size(); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -266,8 +226,6 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index) return words_.get(index); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -281,7 +239,6 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +250,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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -316,10 +274,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -329,19 +289,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.videointelligence.v1p1beta1.SpeechRecognitionAlternative)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other = - (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) obj; - if (!getTranscript().equals(other.getTranscript())) return false; + if (!getTranscript() + .equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getWordsList().equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getWordsList() + .equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -356,7 +317,8 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -367,148 +329,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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; } /** - * - * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - .class); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -526,22 +475,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative build() { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = - buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -549,10 +495,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = - new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(this); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative buildPartial() { + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -573,52 +517,46 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) other); + if (other instanceof com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) { + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -644,10 +582,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -668,14 +605,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parsedMessage = - null; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,25 +618,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object transcript_ = ""; /** - * - * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -711,21 +642,20 @@ public java.lang.String getTranscript() { } } /** - * - * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -733,70 +663,61 @@ public com.google.protobuf.ByteString getTranscriptBytes() { } } /** - * - * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript(java.lang.String value) { + public Builder setTranscript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** - * - * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -807,7 +728,6 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -815,8 +735,6 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -827,19 +745,16 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -850,36 +765,28 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList(words_); + words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, - com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> - wordsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> wordsBuilder_; /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -894,8 +801,6 @@ public java.util.List get } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -910,8 +815,6 @@ public int getWordsCount() { } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -926,8 +829,6 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index) } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -949,8 +850,6 @@ public Builder setWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -969,8 +868,6 @@ public Builder setWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -991,8 +888,6 @@ public Builder addWords(com.google.cloud.videointelligence.v1p1beta1.WordInfo va return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1014,8 +909,6 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1034,8 +927,6 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1054,8 +945,6 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1063,11 +952,11 @@ public Builder addWords( * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ public Builder addAllWords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -1075,8 +964,6 @@ public Builder addAllWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1094,8 +981,6 @@ public Builder clearWords() { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1113,8 +998,6 @@ public Builder removeWords(int index) { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1126,8 +1009,6 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder getWordsBui return getWordsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1137,22 +1018,19 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder getWordsBui public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder( int index) { if (wordsBuilder_ == null) { - return words_.get(index); - } else { + return words_.get(index); } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1160,8 +1038,6 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1169,12 +1045,10 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1183,43 +1057,37 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBui */ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBuilder( int index) { - return getWordsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, - com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, - com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder>( + words_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; } - @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); } @@ -1229,33 +1097,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1267,8 +1132,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java index 78615e9f5..143eff3c7 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,56 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechRecognitionAlternativeOrBuilder - extends +public interface SpeechRecognitionAlternativeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ java.lang.String getTranscript(); /** - * - * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - com.google.protobuf.ByteString getTranscriptBytes(); + com.google.protobuf.ByteString + getTranscriptBytes(); /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -61,24 +38,20 @@ public interface SpeechRecognitionAlternativeOrBuilder
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - java.util.List getWordsList(); + java.util.List + getWordsList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -87,8 +60,6 @@ public interface SpeechRecognitionAlternativeOrBuilder */ com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -97,24 +68,21 @@ public interface SpeechRecognitionAlternativeOrBuilder */ int getWordsCount(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - java.util.List + java.util.List getWordsOrBuilderList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java index 1e66be667..78cb61017 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscription} */ -public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscription extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) SpeechTranscriptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscription() { alternatives_ = 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 SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,29 +54,22 @@ private SpeechTranscription( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1 - .SpeechRecognitionAlternative>(); - mutable_bitField0_ |= 0x00000001; - } - alternatives_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + alternatives_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,7 +77,8 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -110,28 +87,22 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List - alternatives_; + private java.util.List alternatives_; /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -139,18 +110,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -158,20 +124,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + public java.util.List getAlternativesOrBuilderList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -179,17 +139,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override public int getAlternativesCount() { return alternatives_.size(); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -197,18 +153,13 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index) { return alternatives_.get(index); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -216,18 +167,15 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { return alternatives_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +187,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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -253,7 +202,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, alternatives_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -263,15 +213,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.videointelligence.v1p1beta1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other = - (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) obj; - if (!getAlternativesList().equals(other.getAlternativesList())) return false; + if (!getAlternativesList() + .equals(other.getAlternativesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,127 +243,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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; } /** - * - * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscription} */ - 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.videointelligence.v1p1beta1.SpeechTranscription) com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.newBuilder() @@ -421,17 +361,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) { getAlternativesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,14 +385,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance(); } @@ -467,8 +406,7 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription result = - new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription result = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -487,50 +425,46 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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) { + 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.videointelligence.v1p1beta1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()) return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -549,10 +483,9 @@ public Builder mergeFrom( alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAlternativesFieldBuilder() - : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAlternativesFieldBuilder() : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -577,9 +510,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,32 +519,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative> - alternatives_ = java.util.Collections.emptyList(); - + private java.util.List alternatives_ = + java.util.Collections.emptyList(); private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative>( - alternatives_); + alternatives_ = new java.util.ArrayList(alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> - alternativesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -621,12 +541,9 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -634,8 +551,6 @@ private void ensureAlternativesIsMutable() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -643,9 +558,7 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -655,8 +568,6 @@ public int getAlternativesCount() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -664,12 +575,9 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -677,8 +585,6 @@ public int getAlternativesCount() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -686,13 +592,10 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -706,8 +609,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -715,14 +616,10 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -733,8 +630,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -742,12 +637,9 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public Builder addAlternatives( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + public Builder addAlternatives(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -761,8 +653,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -770,13 +660,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,8 +677,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -799,13 +684,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -816,8 +698,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -825,14 +705,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -843,8 +719,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -852,17 +726,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAllAlternatives( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative> - values) { + java.lang.Iterable values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -870,8 +741,6 @@ public Builder addAllAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -879,9 +748,7 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -894,8 +761,6 @@ public Builder clearAlternatives() { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -903,9 +768,7 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -918,8 +781,6 @@ public Builder removeAlternatives(int index) { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -927,17 +788,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - getAlternativesBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( + int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -945,21 +802,16 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); - } else { + return alternatives_.get(index); } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -967,14 +819,10 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> - getAlternativesOrBuilderList() { + public java.util.List + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -982,8 +830,6 @@ public Builder removeAlternatives(int index) { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -991,20 +837,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder() { - return getAlternativesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { + return getAlternativesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1012,21 +851,14 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder(int index) { - return getAlternativesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( + int index) { + return getAlternativesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1034,35 +866,29 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder> - getAlternativesBuilderList() { + public java.util.List + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); alternatives_ = null; } return alternativesBuilder_; } - @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); } @@ -1072,32 +898,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,8 +933,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java index d72b44cc6..7d68bf7a8 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscriptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,72 +56,64 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: - { - maxAlternatives_ = input.readInt32(); - break; - } - case 24: - { - filterProfanity_ = input.readBool(); - break; + languageCode_ = s; + break; + } + case 16: { + + maxAlternatives_ = input.readInt32(); + break; + } + case 24: { + + filterProfanity_ = input.readBool(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext>(); - mutable_bitField0_ |= 0x00000001; - } - speechContexts_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.parser(), - extensionRegistry)); - break; + speechContexts_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechContext.parser(), extensionRegistry)); + break; + } + case 40: { + + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { - enableAutomaticPunctuation_ = input.readBool(); - break; + audioTracks_.addInt(input.readInt32()); + break; + } + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 48: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } + while (input.getBytesUntilLimit() > 0) { audioTracks_.addInt(input.readInt32()); - break; - } - case 50: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - audioTracks_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -146,7 +121,8 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -158,27 +134,22 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -188,7 +159,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ @java.lang.Override @@ -197,15 +167,14 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -215,15 +184,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -234,8 +204,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -245,7 +213,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -256,8 +223,6 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -266,7 +231,6 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -275,93 +239,68 @@ public boolean getFilterProfanity() { } public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; - private java.util.List - speechContexts_; + private java.util.List speechContexts_; /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> + public java.util.List getSpeechContextsOrBuilderList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder - getSpeechContextsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( + int index) { return speechContexts_.get(index); } public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -372,7 +311,6 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechConte
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -383,57 +321,47 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List getAudioTracksList() { + public java.util.List + getAudioTracksList() { return audioTracks_; } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } - private int audioTracksMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,7 +373,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -482,27 +411,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } @@ -514,20 +448,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.videointelligence.v1p1beta1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other = - (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() != other.getMaxAlternatives()) return false; - if (getFilterProfanity() != other.getFilterProfanity()) return false; - if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() + != other.getMaxAlternatives()) return false; + if (getFilterProfanity() + != other.getFilterProfanity()) return false; + if (!getSpeechContextsList() + .equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() + != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList() + .equals(other.getAudioTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -544,13 +483,15 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); @@ -561,147 +502,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.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) { getSpeechContextsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -725,22 +654,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -749,8 +675,7 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = - new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -778,51 +703,46 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig bu 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance()) return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -851,10 +771,9 @@ public Builder mergeFrom( speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechContextsFieldBuilder() - : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechContextsFieldBuilder() : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -892,9 +811,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -903,13 +820,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object languageCode_ = ""; /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -919,13 +833,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -934,8 +848,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -945,14 +857,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -960,8 +873,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -971,22 +882,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -996,18 +905,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1017,25 +923,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_; + private int maxAlternatives_ ; /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1045,7 +949,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -1053,8 +956,6 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1064,19 +965,16 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1086,20 +984,17 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_; + private boolean filterProfanity_ ; /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1108,7 +1003,6 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -1116,8 +1010,6 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1126,19 +1018,16 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1147,47 +1036,35 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } - private java.util.List - speechContexts_ = java.util.Collections.emptyList(); - + private java.util.List speechContexts_ = + java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList( - speechContexts_); + speechContexts_ = new java.util.ArrayList(speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> - speechContextsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> speechContextsBuilder_; /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1195,15 +1072,11 @@ private void ensureSpeechContextsIsMutable() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1213,15 +1086,11 @@ public int getSpeechContextsCount() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1231,15 +1100,11 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechConte } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { @@ -1256,19 +1121,14 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.set(index, builderForValue.build()); @@ -1279,18 +1139,13 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addSpeechContexts( - com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { + public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { if (speechContextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1304,15 +1159,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { @@ -1329,15 +1180,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { @@ -1351,19 +1198,14 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.add(index, builderForValue.build()); @@ -1374,22 +1216,18 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllSpeechContexts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1397,15 +1235,11 @@ public Builder addAllSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1418,15 +1252,11 @@ public Builder clearSpeechContexts() { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1439,53 +1269,39 @@ public Builder removeSpeechContexts(int index) { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder - getSpeechContextsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder getSpeechContextsBuilder( + int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder - getSpeechContextsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( + int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); - } else { + return speechContexts_.get(index); } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> - getSpeechContextsOrBuilderList() { + public java.util.List + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1493,67 +1309,45 @@ public Builder removeSpeechContexts(int index) { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder - addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpeechContextsBuilder() { + return getSpeechContextsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder - addSpeechContextsBuilder(int index) { - return getSpeechContextsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpeechContextsBuilder( + int index) { + return getSpeechContextsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder>( + speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1563,10 +1357,8 @@ public Builder removeSpeechContexts(int index) { return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_; + private boolean enableAutomaticPunctuation_ ; /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1577,7 +1369,6 @@ public Builder removeSpeechContexts(int index) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1585,8 +1376,6 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1597,19 +1386,16 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1620,66 +1406,55 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); - private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ - public java.util.List getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(audioTracks_) - : audioTracks_; + public java.util.List + getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1687,35 +1462,30 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks(int index, int value) { + public Builder setAudioTracks( + int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1726,34 +1496,30 @@ public Builder addAudioTracks(int value) { return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks(java.lang.Iterable values) { + public Builder addAllAudioTracks( + java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, audioTracks_); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1762,9 +1528,9 @@ public Builder clearAudioTracks() { 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); } @@ -1774,32 +1540,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1811,8 +1575,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java index 48abab930..234ebc7c1 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechTranscriptionConfigOrBuilder - extends +public interface SpeechTranscriptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -35,13 +17,10 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -51,14 +30,12 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -68,14 +45,11 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ int getMaxAlternatives(); /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -84,78 +58,55 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ boolean getFilterProfanity(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSpeechContextsList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getSpeechContextsCount(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -166,47 +117,37 @@ com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ int getAudioTracksCount(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java index c46c1dec3..d99f89c3c 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechTranscriptionOrBuilder - extends +public interface SpeechTranscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -33,15 +15,11 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List + java.util.List getAlternativesList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,15 +27,10 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives( - int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -65,14 +38,10 @@ com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ int getAlternativesCount(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -80,17 +49,11 @@ com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List< - ? extends - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + java.util.List getAlternativesOrBuilderList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -98,10 +61,8 @@ com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; */ - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java index 96b6ac7a2..3c2c424ea 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,55 +53,50 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + + progressPercent_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - progressPercent_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - 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 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = 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) { @@ -126,40 +104,35 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -168,30 +141,30 @@ 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; } } /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -202,15 +175,12 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** - * - * *
    * Output only. Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -221,14 +191,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -236,14 +203,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -251,8 +215,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Time when the request was received.
    * 
@@ -267,14 +229,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -282,14 +241,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -297,8 +253,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time of the most recent update.
    * 
@@ -311,7 +265,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +276,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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -349,13 +303,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -365,23 +322,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.videointelligence.v1p1beta1.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other = - (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (getProgressPercent() != other.getProgressPercent()) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (getProgressPercent() + != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -412,145 +372,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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; } /** - * - * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p1beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.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(); @@ -574,16 +523,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance(); } @java.lang.Override @@ -597,8 +544,7 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress result = - new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -619,51 +565,46 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buil 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.videointelligence.v1p1beta1.VideoAnnotationProgress) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -696,9 +637,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -710,21 +649,19 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -733,22 +670,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -756,80 +692,70 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -837,38 +763,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -876,33 +796,24 @@ public Builder clearProgressPercent() { 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. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -913,8 +824,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Time when the request was received.
      * 
@@ -935,15 +844,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -954,8 +862,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Time when the request was received.
      * 
@@ -966,7 +872,7 @@ 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; } @@ -978,8 +884,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the request was received.
      * 
@@ -998,8 +902,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Time when the request was received.
      * 
@@ -1007,13 +909,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the request was received.
      * 
@@ -1024,12 +924,11 @@ 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. Time when the request was received.
      * 
@@ -1037,17 +936,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1055,47 +951,34 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1116,15 +999,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1135,8 +1017,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1147,7 +1027,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1159,8 +1039,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1179,8 +1057,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1188,13 +1064,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1205,14 +1079,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Time of the most recent update.
      * 
@@ -1220,24 +1091,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @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); } @@ -1247,32 +1115,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,8 +1150,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java index a8f0333d3..f14708f97 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java @@ -1,96 +1,64 @@ -/* - * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface VideoAnnotationProgressOrBuilder - extends +public interface VideoAnnotationProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Output only. Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Time when the request was received.
    * 
@@ -100,32 +68,24 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time of the most recent update.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java index 2bf29f9d3..802045313 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationResults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -48,15 +30,16 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,123 +59,90 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + segmentLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + shotLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - shotLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + frameLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000004; - } - frameLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + shotAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000008; - } - shotAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), - extensionRegistry)); - break; + explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder - subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); - } - explicitAnnotation_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - case 74: - { - 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(); } - case 90: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription>(); - mutable_bitField0_ |= 0x00000010; - } - speechTranscriptions_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.parser(), - extensionRegistry)); - break; + + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + speechTranscriptions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + speechTranscriptions_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -200,7 +150,8 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -221,34 +172,28 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -257,30 +202,30 @@ 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; } } /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -289,364 +234,268 @@ public com.google.protobuf.ByteString getInputUriBytes() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - segmentLabelAnnotations_; + private java.util.List segmentLabelAnnotations_; /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { return segmentLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List - shotLabelAnnotations_; + private java.util.List shotLabelAnnotations_; /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - frameLabelAnnotations_; + private java.util.List frameLabelAnnotations_; /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { return frameLabelAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List - shotAnnotations_; + private java.util.List shotAnnotations_; /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -654,139 +503,98 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation() { + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List - speechTranscriptions_; + private java.util.List speechTranscriptions_; /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + public java.util.List getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index) { return speechTranscriptions_.get(index); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { return speechTranscriptions_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ @java.lang.Override @@ -794,15 +602,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ @java.lang.Override @@ -810,8 +615,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -825,7 +628,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -837,7 +639,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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -875,32 +678,32 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, segmentLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, frameLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getError());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, speechTranscriptions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, speechTranscriptions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -910,28 +713,34 @@ 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.videointelligence.v1p1beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other =
-        (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) obj;
-
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
-      return false;
-    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) obj;
+
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList()
+        .equals(other.getSegmentLabelAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList()
+        .equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList()
+        .equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getShotAnnotationsList()
+        .equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation()
+          .equals(other.getExplicitAnnotation())) return false;
     }
-    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getSpeechTranscriptionsList()
+        .equals(other.getSpeechTranscriptionsList())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -980,143 +789,132 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
-      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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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;
   }
   /**
-   *
-   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p1beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -1124,7 +922,6 @@ private void maybeForceBuilderInitialization() { getSpeechTranscriptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1176,16 +973,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance(); } @java.lang.Override @@ -1199,14 +994,12 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults result = - new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1267,51 +1060,46 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults build 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.videointelligence.v1p1beta1.VideoAnnotationResults) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other) { - if (other - == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other) { + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1334,10 +1122,9 @@ public Builder mergeFrom( segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentLabelAnnotationsFieldBuilder() - : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentLabelAnnotationsFieldBuilder() : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1361,10 +1148,9 @@ public Builder mergeFrom( shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotLabelAnnotationsFieldBuilder() - : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotLabelAnnotationsFieldBuilder() : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1388,10 +1174,9 @@ public Builder mergeFrom( frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFrameLabelAnnotationsFieldBuilder() - : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameLabelAnnotationsFieldBuilder() : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1415,10 +1200,9 @@ public Builder mergeFrom( shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotAnnotationsFieldBuilder() - : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotAnnotationsFieldBuilder() : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1445,10 +1229,9 @@ public Builder mergeFrom( speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000010); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechTranscriptionsFieldBuilder() - : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechTranscriptionsFieldBuilder() : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -1476,9 +1259,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1487,26 +1268,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -1515,22 +1293,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -1538,101 +1315,83 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private java.util.List - segmentLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList( - segmentLabelAnnotations_); + segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1640,16 +1399,12 @@ private void ensureSegmentLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1659,19 +1414,14 @@ public int getSegmentLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1679,16 +1429,12 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLa } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1705,20 +1451,15 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1729,19 +1470,14 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public Builder addSegmentLabelAnnotations( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1755,16 +1491,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1781,16 +1513,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -1804,20 +1532,15 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1828,23 +1551,19 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -1852,16 +1571,12 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1874,16 +1589,12 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1896,56 +1607,42 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - getSegmentLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( + int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); - } else { + return segmentLabelAnnotations_.get(index); } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1953,70 +1650,48 @@ public Builder removeSegmentLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder(int index) { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( + int index) { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2026,38 +1701,27 @@ public Builder removeSegmentLabelAnnotations(int index) { return segmentLabelAnnotationsBuilder_; } - private java.util.List - shotLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList( - shotLabelAnnotations_); + shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -2065,16 +1729,12 @@ private void ensureShotLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2084,19 +1744,14 @@ public int getShotLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -2104,16 +1759,12 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabel } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2130,20 +1781,15 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -2154,19 +1800,14 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public Builder addShotLabelAnnotations( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2180,16 +1821,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2206,16 +1843,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -2229,20 +1862,15 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -2253,23 +1881,19 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -2277,16 +1901,12 @@ public Builder addAllShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2299,16 +1919,12 @@ public Builder clearShotLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -2321,56 +1937,42 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - getShotLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( + int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); - } else { + return shotLabelAnnotations_.get(index); } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2378,70 +1980,48 @@ public Builder removeShotLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder(int index) { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( + int index) { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2451,38 +2031,27 @@ public Builder removeShotLabelAnnotations(int index) { return shotLabelAnnotationsBuilder_; } - private java.util.List - frameLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List frameLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList( - frameLabelAnnotations_); + frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2490,16 +2059,12 @@ private void ensureFrameLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2509,19 +2074,14 @@ public int getFrameLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2529,16 +2089,12 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabe } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2555,20 +2111,15 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2579,19 +2130,14 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public Builder addFrameLabelAnnotations( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2605,16 +2151,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2631,16 +2173,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -2654,20 +2192,15 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2678,23 +2211,19 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2702,16 +2231,12 @@ public Builder addAllFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2724,16 +2249,12 @@ public Builder clearFrameLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2746,56 +2267,42 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - getFrameLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( + int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); - } else { + return frameLabelAnnotations_.get(index); } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2803,70 +2310,48 @@ public Builder removeFrameLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder(int index) { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( + int index) { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2876,36 +2361,26 @@ public Builder removeFrameLabelAnnotations(int index) { return frameLabelAnnotationsBuilder_; } - private java.util.List - shotAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = - new java.util.ArrayList( - shotAnnotations_); + shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> - shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -2913,14 +2388,11 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -2930,14 +2402,11 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2947,14 +2416,11 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotati } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { @@ -2971,18 +2437,14 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -2993,17 +2455,13 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public Builder addShotAnnotations( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { + public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3017,14 +2475,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { @@ -3041,14 +2496,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { @@ -3062,18 +2514,14 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -3084,21 +2532,18 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder addAllShotAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -3106,14 +2551,11 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -3126,14 +2568,11 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -3146,50 +2585,39 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder - getShotAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getShotAnnotationsBuilder( + int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3197,64 +2625,45 @@ public Builder removeShotAnnotations(int index) { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder - addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder - addShotAnnotationsBuilder(int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addShotAnnotationsBuilder( + int index) { + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3264,66 +2673,43 @@ public Builder removeShotAnnotations(int index) { return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3337,19 +2723,14 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -3360,25 +2741,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -3390,15 +2763,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -3412,104 +2781,73 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List - speechTranscriptions_ = java.util.Collections.emptyList(); - + private java.util.List speechTranscriptions_ = + java.util.Collections.emptyList(); private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription>( - speechTranscriptions_); + speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> - speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -3517,15 +2855,11 @@ private void ensureSpeechTranscriptionsIsMutable() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -3535,18 +2869,13 @@ public int getSpeechTranscriptionsCount() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -3554,15 +2883,11 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeec } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { @@ -3579,19 +2904,14 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -3602,18 +2922,13 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public Builder addSpeechTranscriptions( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { + public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3627,15 +2942,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { @@ -3652,15 +2963,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { @@ -3674,19 +2981,14 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -3697,23 +2999,18 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription> - values) { + java.lang.Iterable values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -3721,15 +3018,11 @@ public Builder addAllSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -3742,15 +3035,11 @@ public Builder clearSpeechTranscriptions() { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -3763,53 +3052,39 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder - getSpeechTranscriptionsBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( + int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); - } else { + return speechTranscriptions_.get(index); } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> - getSpeechTranscriptionsOrBuilderList() { + public java.util.List + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -3817,69 +3092,45 @@ public Builder removeSpeechTranscriptions(int index) { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder(int index) { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( + int index) { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -3891,33 +3142,26 @@ public Builder removeSpeechTranscriptions(int index) { 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. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -3928,8 +3172,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3951,8 +3193,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3960,7 +3200,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -3971,8 +3212,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3983,7 +3222,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;
         }
@@ -3995,8 +3235,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -4016,8 +3254,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -4026,13 +3262,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -4044,12 +3278,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. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -4058,21 +3291,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -4082,32 +3315,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationResults parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationResults(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationResults parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationResults(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4119,8 +3350,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
similarity index 60%
rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
index 23562467c..65b755a57 100644
--- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,459 +1,317 @@
-/*
- * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
-public interface VideoAnnotationResultsOrBuilder
-    extends
+public interface VideoAnnotationResultsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ int getSegmentLabelAnnotationsCount(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ int getShotLabelAnnotationsCount(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ int getFrameLabelAnnotationsCount(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( - int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ int getSpeechTranscriptionsCount(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + java.util.List getSpeechTranscriptionsOrBuilderList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index); /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
similarity index 63%
rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
index f6420662c..b1f073c52 100644
--- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
 /**
- *
- *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoContext} */ -public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoContext) VideoContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,102 +54,74 @@ private VideoContext( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); } - case 18: - { - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder subBuilder = - null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder - subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); - } - shotChangeDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder - subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder subBuilder = null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); } - case 50: - { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder - subBuilder = null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); - } - speechTranscriptionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); - } - - break; + speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = 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) { @@ -174,7 +129,8 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -183,27 +139,22 @@ private VideoContext( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -213,13 +164,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getSegmentsList() {
+  public java.util.List getSegmentsList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -229,14 +177,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -250,8 +195,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -265,8 +208,6 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -284,16 +225,11 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -301,56 +237,37 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - getLabelDetectionConfig() { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig() { + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -358,57 +275,37 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -416,57 +313,37 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -474,45 +351,30 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -524,7 +386,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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -550,26 +413,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getShotChangeDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getExplicitContentDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExplicitContentDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, getSpeechTranscriptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSpeechTranscriptionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -579,34 +440,34 @@ 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.videointelligence.v1p1beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.VideoContext other = - (com.google.cloud.videointelligence.v1p1beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p1beta1.VideoContext other = (com.google.cloud.videointelligence.v1p1beta1.VideoContext) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) - return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) - return false; + if (!getSpeechTranscriptionConfig() + .equals(other.getSpeechTranscriptionConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -645,127 +506,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.VideoContext 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; } /** - * - * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoContext} */ - 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.videointelligence.v1p1beta1.VideoContext) com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder() @@ -773,17 +624,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) { getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -821,9 +672,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override @@ -842,8 +693,7 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoContext result = - new com.google.cloud.videointelligence.v1p1beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p1beta1.VideoContext result = new com.google.cloud.videointelligence.v1p1beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -882,39 +732,38 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoContext) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoContext)other); } else { super.mergeFrom(other); return this; @@ -922,8 +771,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -942,10 +790,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -982,8 +829,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -992,30 +838,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1024,8 +861,7 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsList() {
+    public java.util.List getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1033,8 +869,6 @@ private void ensureSegmentsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1051,8 +885,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1069,8 +901,6 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1094,8 +924,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1105,8 +933,7 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1117,8 +944,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1141,8 +966,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p1beta1.VideoSeg
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1166,8 +989,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1188,8 +1009,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1199,8 +1018,7 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1211,8 +1029,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1222,11 +1038,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1234,8 +1050,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1255,8 +1069,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1276,8 +1088,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1291,8 +1101,6 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1304,14 +1112,11 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1320,9 +1125,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1330,8 +1134,6 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1341,13 +1143,10 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1358,14 +1157,10 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1374,23 +1169,20 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p1beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1398,62 +1190,41 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig,
-            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>
-        labelDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1467,15 +1238,11 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1489,25 +1256,17 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder( - labelDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1519,15 +1278,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1541,131 +1296,90 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), getParentForChildren(), isClean()); + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), + getParentForChildren(), + isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> - shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1679,19 +1393,14 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1702,25 +1411,17 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder( - shotChangeDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1732,15 +1433,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1754,133 +1451,90 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), getParentForChildren(), isClean()); + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), + getParentForChildren(), + isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null - || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1894,19 +1548,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1917,25 +1566,17 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .newBuilder(explicitContentDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1947,15 +1588,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1969,133 +1606,90 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder - getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1 - .ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), + getParentForChildren(), + isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> - speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2109,19 +1703,14 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder builderForValue) { if (speechTranscriptionConfigBuilder_ == null) { speechTranscriptionConfig_ = builderForValue.build(); onChanged(); @@ -2132,25 +1721,17 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder mergeSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder( - speechTranscriptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -2162,15 +1743,11 @@ public Builder mergeSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -2184,74 +1761,55 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder - getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); + speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), + getParentForChildren(), + isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; } - @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); } @@ -2261,12 +1819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p1beta1.VideoContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoContext(); } @@ -2275,16 +1833,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2299,4 +1857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java similarity index 60% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java index fd3623848..570517736 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface VideoContextOrBuilder - extends +public interface VideoContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -34,10 +16,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -48,8 +29,6 @@ public interface VideoContextOrBuilder
    */
   com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -60,8 +39,6 @@ public interface VideoContextOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -70,11 +47,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -87,173 +62,110 @@ com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; */ - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..a03028fa9 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,417 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p1bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p1beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p1beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p1beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\202\004\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p1beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p1beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p1beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p1beta1.ExplicitContentDetection" + + "Config\022h\n\033speech_transcription_config\030\006 " + + "\001(\0132C.google.cloud.videointelligence.v1p" + + "1beta1.SpeechTranscriptionConfig\"\234\001\n\024Lab" + + "elDetectionConfig\022Z\n\024label_detection_mod" + + "e\030\001 \001(\0162<.google.cloud.videointelligence" + + ".v1p1beta1.LabelDetectionMode\022\031\n\021station" + + "ary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotC" + + "hangeDetectionConfig\022\r\n\005model\030\001 \001(\t\"/\n\036E" + + "xplicitContentDetectionConfig\022\r\n\005model\030\001" + + " \001(\t\"x\n\014VideoSegment\0224\n\021start_time_offse" + + "t\030\001 \001(\0132\031.google.protobuf.Duration\0222\n\017en" + + "d_time_offset\030\002 \001(\0132\031.google.protobuf.Du" + + "ration\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\0132" + + "6.google.cloud.videointelligence.v1p1bet" + + "a1.VideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nL" + + "abelFrame\022.\n\013time_offset\030\001 \001(\0132\031.google." + + "protobuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n" + + "\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013descriptio" + + "n\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017Label" + + "Annotation\022@\n\006entity\030\001 \001(\01320.google.clou" + + "d.videointelligence.v1p1beta1.Entity\022K\n\021" + + "category_entities\030\002 \003(\01320.google.cloud.v" + + "ideointelligence.v1p1beta1.Entity\022H\n\010seg" + + "ments\030\003 \003(\01326.google.cloud.videointellig" + + "ence.v1p1beta1.LabelSegment\022D\n\006frames\030\004 " + + "\003(\01324.google.cloud.videointelligence.v1p" + + "1beta1.LabelFrame\"\234\001\n\024ExplicitContentFra" + + "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu" + + "f.Duration\022T\n\026pornography_likelihood\030\002 \001" + + "(\01624.google.cloud.videointelligence.v1p1" + + "beta1.Likelihood\"k\n\031ExplicitContentAnnot" + + "ation\022N\n\006frames\030\001 \003(\0132>.google.cloud.vid" + + "eointelligence.v1p1beta1.ExplicitContent" + + "Frame\"\365\004\n\026VideoAnnotationResults\022\021\n\tinpu" + + "t_uri\030\001 \001(\t\022\\\n\031segment_label_annotations" + + "\030\002 \003(\01329.google.cloud.videointelligence." + + "v1p1beta1.LabelAnnotation\022Y\n\026shot_label_" + + "annotations\030\003 \003(\01329.google.cloud.videoin" + + "telligence.v1p1beta1.LabelAnnotation\022Z\n\027" + + "frame_label_annotations\030\004 \003(\01329.google.c" + + "loud.videointelligence.v1p1beta1.LabelAn" + + "notation\022P\n\020shot_annotations\030\006 \003(\01326.goo" + + "gle.cloud.videointelligence.v1p1beta1.Vi" + + "deoSegment\022`\n\023explicit_annotation\030\007 \001(\0132" + + "C.google.cloud.videointelligence.v1p1bet" + + "a1.ExplicitContentAnnotation\022\\\n\025speech_t" + + "ranscriptions\030\013 \003(\0132=.google.cloud.video" + + "intelligence.v1p1beta1.SpeechTranscripti" + + "on\022!\n\005error\030\t \001(\0132\022.google.rpc.Status\"u\n" + + "\025AnnotateVideoResponse\022\\\n\022annotation_res" + + "ults\030\001 \003(\0132@.google.cloud.videointellige" + + "nce.v1p1beta1.VideoAnnotationResults\"\247\001\n" + + "\027VideoAnnotationProgress\022\021\n\tinput_uri\030\001 " + + "\001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nstart_t" + + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\"w\n\025AnnotateVideoProgress\022^\n\023annot" + + "ation_progress\030\001 \003(\0132A.google.cloud.vide" + + "ointelligence.v1p1beta1.VideoAnnotationP" + + "rogress\"\222\002\n\031SpeechTranscriptionConfig\022\032\n" + + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + + "e.cloud.videointelligence.v1p1beta1.Spee" + + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + + "\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003" + + "\340A\001\"s\n\023SpeechTranscription\022\\\n\014alternativ" + + "es\030\001 \003(\0132F.google.cloud.videointelligenc" + + "e.v1p1beta1.SpeechRecognitionAlternative" + + "\"\216\001\n\034SpeechRecognitionAlternative\022\022\n\ntra" + + "nscript\030\001 \001(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022A" + + "\n\005words\030\003 \003(\01322.google.cloud.videointell" + + "igence.v1p1beta1.WordInfo\"t\n\010WordInfo\022-\n" + + "\nstart_time\030\001 \001(\0132\031.google.protobuf.Dura" + + "tion\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf" + + ".Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007Feature\022\027\n\023F" + + "EATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION\020" + + "\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICIT" + + "_CONTENT_DETECTION\020\003\022\030\n\024SPEECH_TRANSCRIP" + + "TION\020\006*r\n\022LabelDetectionMode\022$\n LABEL_DE" + + "TECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020" + + "\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE" + + "\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFI" + + "ED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n" + + "\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005" + + "2\316\002\n\030VideoIntelligenceService\022\333\001\n\rAnnota" + + "teVideo\022>.google.cloud.videointelligence" + + ".v1p1beta1.AnnotateVideoRequest\032\035.google" + + ".longrunning.Operation\"k\202\323\344\223\002\037\"\032/v1p1bet" + + "a1/videos:annotate:\001*\332A\022input_uri,featur" + + "es\312A.\n\025AnnotateVideoResponse\022\025AnnotateVi" + + "deoProgress\032T\312A videointelligence.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\256\002\n,com.google.cloud.v" + + "ideointelligence.v1p1beta1B\035VideoIntelli" + + "genceServiceProtoP\001ZYgoogle.golang.org/g" + + "enproto/googleapis/cloud/videointelligen" + + "ce/v1p1beta1;videointelligence\252\002(Google." + + "Cloud.VideoIntelligence.V1P1Beta1\312\002(Goog" + + "le\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+G" + + "oogle::Cloud::VideoIntelligence::V1p1bet" + + "a1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor, + new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "SpeechTranscriptionConfig", }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor, + new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor, + new java.lang.String[] { "TimeOffset", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor, + new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor, + new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { "Frames", }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "Error", }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { "AnnotationResults", }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { "AnnotationProgress", }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor, + new java.lang.String[] { "Phrases", }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor, + new java.lang.String[] { "Alternatives", }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { "Transcript", "Confidence", "Words", }); + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Word", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java index 768a48795..27ba5a7ff 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** - * - * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoSegment} */ -public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoSegment) VideoSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoSegment() {} + private VideoSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private VideoSegment( 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(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 18: - { - 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; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private VideoSegment( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -153,26 +128,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -188,15 +156,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -204,26 +169,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -237,7 +195,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,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());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.videointelligence.v1p1beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p1beta1.VideoSegment other =
-        (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p1beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) obj;
 
     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;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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;
   }
   /**
-   *
-   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoSegment} */ - 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.videointelligence.v1p1beta1.VideoSegment) com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder() @@ -448,15 +399,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(); @@ -476,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override @@ -497,8 +449,7 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoSegment result = - new com.google.cloud.videointelligence.v1p1beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p1beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -517,39 +468,38 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoSegment)other); } else { super.mergeFrom(other); return this; @@ -557,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()) return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -584,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,49 +545,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_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -661,8 +596,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -670,7 +603,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();
@@ -681,8 +615,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,9 +626,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;
         }
@@ -708,8 +638,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -729,8 +657,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -739,13 +665,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -757,14 +681,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -773,17 +694,14 @@ 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_;
@@ -791,49 +709,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_;
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -855,8 +760,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -864,7 +767,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -875,8 +779,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -888,9 +790,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;
         }
@@ -902,8 +802,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -923,8 +821,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -933,13 +829,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -951,14 +845,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -967,24 +858,21 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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> 
         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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -994,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p1beta1.VideoSegment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoSegment();
   }
@@ -1008,16 +896,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoSegment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoSegment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoSegment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoSegment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1032,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
index f2555f0b4..e94668442 100644
--- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
-public interface VideoSegmentOrBuilder
-    extends
+public interface VideoSegmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -62,34 +38,26 @@ public interface VideoSegmentOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
similarity index 76%
rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
index 84435d36e..b20a59a27 100644
--- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
 /**
- *
- *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.WordInfo}
  */
-public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WordInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.WordInfo)
     WordInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,50 +55,45 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              word_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
+            }
+            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            word_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -123,33 +101,29 @@ private WordInfo(
     } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.WordInfo.class,
-            com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.WordInfo.class, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
-   *
-   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -158,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -166,8 +139,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -176,7 +147,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -184,8 +154,6 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -203,8 +171,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
-   *
-   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -213,7 +179,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -221,8 +186,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -231,7 +194,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -239,8 +201,6 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -258,14 +218,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
-   *
-   *
    * 
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ @java.lang.Override @@ -274,29 +231,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** - * - * *
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -305,7 +262,6 @@ public com.google.protobuf.ByteString getWordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,7 +273,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -337,10 +294,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); @@ -353,23 +312,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.videointelligence.v1p1beta1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.WordInfo other = - (com.google.cloud.videointelligence.v1p1beta1.WordInfo) obj; + com.google.cloud.videointelligence.v1p1beta1.WordInfo other = (com.google.cloud.videointelligence.v1p1beta1.WordInfo) obj; 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 (!getWord().equals(other.getWord())) return false; + if (!getWord() + .equals(other.getWord())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -397,104 +358,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p1beta1.WordInfo 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; } /** - * - * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -503,23 +456,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.WordInfo}
    */
-  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.videointelligence.v1p1beta1.WordInfo)
       com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.WordInfo.class,
-              com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.WordInfo.class, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p1beta1.WordInfo.newBuilder()
@@ -527,15 +478,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();
@@ -557,9 +509,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -578,8 +530,7 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.WordInfo result =
-          new com.google.cloud.videointelligence.v1p1beta1.WordInfo(this);
+      com.google.cloud.videointelligence.v1p1beta1.WordInfo result = new com.google.cloud.videointelligence.v1p1beta1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -599,39 +550,38 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.WordInfo) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.WordInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -639,8 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.WordInfo other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -670,8 +619,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p1beta1.WordInfo) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.WordInfo) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -683,13 +631,8 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -698,15 +641,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -715,7 +655,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -726,8 +665,6 @@ public com.google.protobuf.Duration getStartTime() { } } /** - * - * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -751,8 +688,6 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -762,7 +697,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -773,8 +709,6 @@ public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -788,7 +722,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -800,8 +734,6 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -823,8 +755,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -835,13 +765,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -855,12 +783,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -871,17 +798,14 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -889,13 +813,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -904,15 +823,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -921,7 +837,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -932,8 +847,6 @@ public com.google.protobuf.Duration getEndTime() { } } /** - * - * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -957,8 +870,6 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -968,7 +879,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -979,8 +891,6 @@ public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -994,7 +904,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1006,8 +916,6 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1029,8 +937,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1041,13 +947,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1061,12 +965,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1077,17 +980,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1095,20 +995,18 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
-     *
-     *
      * 
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1117,21 +1015,20 @@ public java.lang.String getWord() { } } /** - * - * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The bytes for word. */ - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1139,68 +1036,61 @@ public com.google.protobuf.ByteString getWordBytes() { } } /** - * - * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord(java.lang.String value) { + public Builder setWord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** - * - * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes(com.google.protobuf.ByteString value) { + public Builder setWordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = 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); } @@ -1210,12 +1100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.WordInfo) private static final com.google.cloud.videointelligence.v1p1beta1.WordInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.WordInfo(); } @@ -1224,16 +1114,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.WordInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1248,4 +1138,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java similarity index 81% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java index e73b96eec..4e5d70899 100644 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface WordInfoOrBuilder - extends +public interface WordInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.WordInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -34,13 +16,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -49,13 +28,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -68,8 +44,6 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -78,13 +52,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -93,13 +64,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** - * - * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -112,27 +80,22 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ java.lang.String getWord(); /** - * - * *
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ - com.google.protobuf.ByteString getWordBytes(); + com.google.protobuf.ByteString + getWordBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto similarity index 100% rename from proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto rename to owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..ee211c508 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1p1beta1.stub.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceStubSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceStubSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceStubSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java new file mode 100644 index 000000000..8c224a2c2 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java @@ -0,0 +1,56 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p1beta1.Feature; +import com.google.cloud.videointelligence.v1p1beta1.VideoContext; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.longrunning.Operation; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideo(); + } + + public static void asyncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + ApiFuture future = + videoIntelligenceServiceClient.annotateVideoCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_async] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java new file mode 100644 index 000000000..e4ebb4cb7 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -0,0 +1,57 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p1beta1.Feature; +import com.google.cloud.videointelligence.v1p1beta1.VideoContext; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideoLRO { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideoLRO(); + } + + public static void asyncAnnotateVideoLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + OperationFuture future = + videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + // Do something. + AnnotateVideoResponse response = future.get(); + } + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..e9cf0faee --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,53 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p1beta1.Feature; +import com.google.cloud.videointelligence.v1p1beta1.VideoContext; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(request).get(); + } + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java new file mode 100644 index 000000000..daae83bf0 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -0,0 +1,44 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p1beta1.Feature; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import java.util.ArrayList; +import java.util.List; + +public class SyncAnnotateVideoStringListfeature { + + public static void main(String[] args) throws Exception { + syncAnnotateVideoStringListfeature(); + } + + public static void syncAnnotateVideoStringListfeature() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get(); + } + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000..97dcbcd75 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,42 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 000000000..00b0405da --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,41 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000..3400284e1 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,39 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..2abad3fce --- /dev/null +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1p1beta1.samples; + +// [START videointelligence_v1p1beta1_generated_videointelligenceservicesettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p1beta1_generated_videointelligenceservicesettings_annotatevideo_sync] diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index 4f7685711..82dba859c 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java @@ -18,13 +18,13 @@ import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStub; import com.google.cloud.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; @@ -57,13 +57,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. *
* @@ -100,6 +100,21 @@ * VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); * }
* + *

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.
+ * VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+ *     VideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+ *     VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -107,7 +122,8 @@ public class VideoIntelligenceServiceClient implements BackgroundResource { private final VideoIntelligenceServiceSettings settings; private final VideoIntelligenceServiceStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of VideoIntelligenceServiceClient with default settings. */ public static final VideoIntelligenceServiceClient create() throws IOException { @@ -141,13 +157,17 @@ protected VideoIntelligenceServiceClient(VideoIntelligenceServiceSettings settin throws IOException { this.settings = settings; this.stub = ((VideoIntelligenceServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected VideoIntelligenceServiceClient(VideoIntelligenceServiceStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final VideoIntelligenceServiceSettings getSettings() { @@ -162,10 +182,18 @@ public VideoIntelligenceServiceStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Performs asynchronous video annotation. Progress and results can be retrieved through the diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java index 7e6cc6b33..440d5b212 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java @@ -21,10 +21,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.OperationCallSettings; +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.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings; @@ -40,10 +42,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -111,11 +113,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return VideoIntelligenceServiceStubSettings.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 VideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return VideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return VideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -125,11 +134,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return VideoIntelligenceServiceStubSettings.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); @@ -168,6 +183,11 @@ private static Builder createDefault() { return new Builder(VideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(VideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((VideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..9512eaf11 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.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.videointelligence.v1p2beta1.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 VideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceCallableFactory + 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/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..e1f0ac371 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -0,0 +1,231 @@ +/* + * 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.videointelligence.v1p2beta1.stub; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse; +import com.google.longrunning.Operation; +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 VideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(AnnotateVideoResponse.getDescriptor()) + .add(AnnotateVideoProgress.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + annotateVideoMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService/AnnotateVideo") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1p2beta1/videos:annotate", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AnnotateVideoRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable annotateVideoCallable; + private final OperationCallable< + AnnotateVideoRequest, AnnotateVideoResponse, AnnotateVideoProgress> + annotateVideoOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonVideoIntelligenceServiceStub create( + VideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonVideoIntelligenceServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings annotateVideoTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(annotateVideoMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.annotateVideoCallable = + callableFactory.createUnaryCallable( + annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext); + this.annotateVideoOperationCallable = + callableFactory.createOperationCallable( + annotateVideoTransportSettings, + settings.annotateVideoOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(annotateVideoMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable annotateVideoCallable() { + return annotateVideoCallable; + } + + @Override + public OperationCallable + annotateVideoOperationCallable() { + return annotateVideoOperationCallable; + } + + @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-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java similarity index 93% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java index 85c6846c0..7aa02b3a6 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java @@ -38,7 +38,11 @@ public abstract class VideoIntelligenceServiceStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 84% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java index 5f44c8666..ec56d05e2 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -25,6 +25,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +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.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -55,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -114,6 +117,11 @@ public VideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -146,18 +154,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(VideoIntelligenceServiceStubSettings.class)) @@ -165,11 +180,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(VideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return VideoIntelligenceServiceStubSettings.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); @@ -266,6 +300,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 .annotateVideoSettings() diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..ef612f603 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * 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.videointelligence.v1p2beta1; + +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.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.videointelligence.v1p2beta1.stub.HttpJsonVideoIntelligenceServiceStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +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 VideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static VideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonVideoIntelligenceServiceStub.getMethodDescriptors(), + VideoIntelligenceServiceSettings.getDefaultEndpoint()); + VideoIntelligenceServiceSettings settings = + VideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = VideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void annotateVideoTest() throws Exception { + AnnotateVideoResponse expectedResponse = + AnnotateVideoResponse.newBuilder() + .addAllAnnotationResults(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("annotateVideoTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + + AnnotateVideoResponse actualResponse = client.annotateVideoAsync(inputUri, features).get(); + 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 annotateVideoExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + client.annotateVideoAsync(inputUri, features).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java diff --git a/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java rename to owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java index 11176386e..6131496e5 100644 --- a/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java +++ b/owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.videointelligence.v1p2beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -32,110 +15,92 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { + io.grpc.MethodDescriptor getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) - == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = - getAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -143,36 +108,32 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>( + this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -183,8 +144,6 @@ protected VideoIntelligenceServiceStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -192,25 +151,19 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -223,8 +176,6 @@ protected VideoIntelligenceServiceBlockingStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -232,22 +183,18 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** - * - * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -260,8 +207,6 @@ protected VideoIntelligenceServiceFutureStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -269,8 +214,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture annotateVideo( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -278,11 +223,11 @@ protected VideoIntelligenceServiceFutureStub build( private static final int METHODID_ANNOTATE_VIDEO = 0; - 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 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -296,8 +241,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo( - (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -316,15 +260,13 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .getDescriptor(); + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor(); } @java.lang.Override @@ -361,12 +303,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java index ce46d3dd1..8d3fa5e81 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationProgress_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationProgress_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationProgress_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationProgress_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -110,108 +89,80 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class,
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationProgress_;
+  private java.util.List annotationProgress_;
   /**
-   *
-   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> + public java.util.List getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index) { return annotationProgress_.get(index); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p2beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other = - (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList() + .equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress - 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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; } /** - * - * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p2beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class,
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress result =
-          new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p2beta1.AnnotateVideoProgress) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationProgressFieldBuilder()
-                    : null;
+            annotationProgressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationProgressFieldBuilder() : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationProgress_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationProgress_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress>(
-                annotationProgress_);
+        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress,
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>
-        annotationProgressBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
 
     /**
-     *
-     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationProgressIsMutable() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -658,15 +565,11 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { @@ -683,20 +586,14 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { @@ -757,19 +645,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAllAnnotationProgress( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress> - values) { + java.lang.Iterable values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationProgress() { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationProgress(int index) { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - getAnnotationProgressBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( + int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); - } else { + return annotationProgress_.get(index); } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList() { + public java.util.List + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationProgress(int index) { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder(int index) { - return getAnnotationProgressFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( + int index) { + return getAnnotationProgressFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder> - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationProgress(int index) { } return annotationProgressBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..235ee3f23 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface AnnotateVideoProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + */ + int getAnnotationProgressCount(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java index b5e113de4..5e4c4ee63 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotateVideoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -47,15 +29,16 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,81 +58,72 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { + features_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - features_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 26: { + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); - } - - break; + videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: - { - inputContent_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputUri_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + case 50: { + + inputContent_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,7 +131,8 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -166,27 +141,22 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -201,7 +171,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -210,15 +179,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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -233,15 +201,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; - * * @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 { @@ -252,8 +221,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -261,7 +228,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -272,50 +238,34 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature> - features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature> features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>() { - public com.google.cloud.videointelligence.v1p2beta1.Feature convert( - java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p2beta1.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Feature result = - com.google.cloud.videointelligence.v1p2beta1.Feature.valueOf(from); - return result == null - ? com.google.cloud.videointelligence.v1p2beta1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p2beta1.Feature result = com.google.cloud.videointelligence.v1p2beta1.Feature.valueOf(from); + return result == null ? com.google.cloud.videointelligence.v1p2beta1.Feature.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>(features_, features_converter_); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ @java.lang.Override @@ -323,16 +273,11 @@ public int getFeaturesCount() { return features_.size(); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -341,33 +286,24 @@ public com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return features_; } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -375,20 +311,16 @@ public java.util.List getFeaturesValueList() { public int getFeaturesValue(int index) { return features_.get(index); } - private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p2beta1.VideoContext videoContext_; /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -396,25 +328,18 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext() { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -422,16 +347,13 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -442,7 +364,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ @java.lang.Override @@ -451,15 +372,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; } } /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -470,15 +390,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -489,8 +410,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -498,7 +417,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ @java.lang.Override @@ -507,15 +425,14 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -523,15 +440,16 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -540,7 +458,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,7 +469,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -591,17 +509,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -610,7 +529,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -620,23 +540,27 @@ 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.videointelligence.v1p2beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext().equals(other.getVideoContext())) return false; + if (!getVideoContext() + .equals(other.getVideoContext())) return false; } - if (!getOutputUri().equals(other.getOutputUri())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOutputUri() + .equals(other.getOutputUri())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -670,145 +594,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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; } /** - * - * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p2beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.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(); @@ -832,14 +745,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -854,8 +766,7 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest result = - new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -879,50 +790,46 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p2beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -970,9 +877,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -981,13 +886,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1002,13 +904,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; - * * @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; @@ -1017,8 +919,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1033,14 +933,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; - * * @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 { @@ -1048,8 +949,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1064,22 +963,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 1; - * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1094,18 +991,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1120,16 +1014,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; - * * @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; @@ -1137,8 +1031,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1146,7 +1038,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -1154,8 +1045,6 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1163,22 +1052,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1186,18 +1072,17 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = java.util.Collections.emptyList(); - + private java.util.List features_ = + java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1205,50 +1090,34 @@ private void ensureFeaturesIsMutable() { } } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>(features_, features_converter_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -1256,16 +1125,11 @@ public com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1281,16 +1145,11 @@ public Builder setFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The features to add. * @return This builder for chaining. */ @@ -1304,16 +1163,11 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p2beta1.Feature return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The features to add. * @return This builder for chaining. */ @@ -1327,16 +1181,11 @@ public Builder addAllFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1346,32 +1195,23 @@ public Builder clearFeatures() { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1379,37 +1219,28 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue(int index, int value) { + public Builder setFeaturesValue( + int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1420,20 +1251,16 @@ public Builder addFeaturesValue(int value) { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue(java.lang.Iterable values) { + public Builder addAllFeaturesValue( + java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1444,55 +1271,41 @@ public Builder addAllFeaturesValue(java.lang.Iterable values) private com.google.cloud.videointelligence.v1p2beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> - videoContextBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> videoContextBuilder_; /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public Builder setVideoContext( - com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { + public Builder setVideoContext(com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1506,8 +1319,6 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1526,22 +1337,17 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext( - com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { + public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder(videoContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); } else { videoContext_ = value; } @@ -1553,8 +1359,6 @@ public Builder mergeVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1573,42 +1377,33 @@ public Builder clearVideoContext() { return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder - getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? + com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1616,17 +1411,14 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder>( - getVideoContext(), getParentForChildren(), isClean()); + videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder>( + getVideoContext(), + getParentForChildren(), + isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1634,8 +1426,6 @@ public Builder clearVideoContext() { private java.lang.Object outputUri_ = ""; /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1646,13 +1436,13 @@ public Builder clearVideoContext() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1661,8 +1451,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1673,14 +1461,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1688,8 +1477,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1700,22 +1487,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1726,18 +1511,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1748,16 +1530,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1765,8 +1547,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1774,13 +1554,13 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1789,8 +1569,6 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1798,14 +1576,15 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1813,8 +1592,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1822,22 +1599,20 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1845,18 +1620,15 @@ public Builder setLocationId(java.lang.String value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1864,23 +1636,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1890,32 +1662,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1927,8 +1697,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java index f03bd1905..5f9c0a6e7 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface AnnotateVideoRequestOrBuilder - extends +public interface AnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -40,13 +22,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -61,14 +40,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -76,111 +53,78 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ java.util.List getFeaturesList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ int getFeaturesCount(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int index); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - java.util.List getFeaturesValueList(); + java.util.List + getFeaturesValueList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; - * * @return The videoContext. */ com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -190,8 +134,6 @@ public interface AnnotateVideoRequestOrBuilder com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -202,13 +144,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -219,14 +158,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -234,13 +171,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -248,8 +182,8 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java index 68df926ea..dfa3f9eae 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationResults_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationResults_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -110,108 +89,80 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationResults_;
+  private java.util.List annotationResults_;
   /**
-   *
-   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> + public java.util.List getAnnotationResultsOrBuilderList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index) { return annotationResults_.get(index); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p2beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList() + .equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse - 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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; } /** - * - * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p2beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p2beta1.AnnotateVideoResponse) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationResultsFieldBuilder()
-                    : null;
+            annotationResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationResultsFieldBuilder() : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationResults_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationResults_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults>(
-                annotationResults_);
+        annotationResults_ = new java.util.ArrayList(annotationResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults,
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationResultsIsMutable() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationResultsCount() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -658,15 +565,11 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAn } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { @@ -683,20 +586,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { @@ -757,19 +645,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAllAnnotationResults( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults> - values) { + java.lang.Iterable values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationResults(int index) { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - getAnnotationResultsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( + int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); - } else { + return annotationResults_.get(index); } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList() { + public java.util.List + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationResults(int index) { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder(int index) { - return getAnnotationResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( + int index) { + return getAnnotationResultsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder> - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationResults(int index) { } return annotationResultsBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..04695f6ee --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface AnnotateVideoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + */ + int getAnnotationResultsCount(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java index 20f8dbe4d..c160b7477 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entityId_ = ""; description_ = ""; @@ -45,15 +27,16 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Entity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Entity( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.Entity.class, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.Entity.class, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity_id = 1; - * * @return The entityId. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -166,15 +140,16 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getEntityIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -329,17 +298,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.videointelligence.v1p2beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.Entity other = - (com.google.cloud.videointelligence.v1p2beta1.Entity) obj; + com.google.cloud.videointelligence.v1p2beta1.Entity other = (com.google.cloud.videointelligence.v1p2beta1.Entity) obj; - if (!getEntityId().equals(other.getEntityId())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getEntityId() + .equals(other.getEntityId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,126 +334,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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; } /** - * - * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.Entity} */ - 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.videointelligence.v1p2beta1.Entity) com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.Entity.class, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.Entity.class, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder() @@ -490,15 +452,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(); @@ -512,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override @@ -533,8 +496,7 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.Entity result = - new com.google.cloud.videointelligence.v1p2beta1.Entity(this); + com.google.cloud.videointelligence.v1p2beta1.Entity result = new com.google.cloud.videointelligence.v1p2beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -546,39 +508,38 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.Entity) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.Entity)other); } else { super.mergeFrom(other); return this; @@ -586,8 +547,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance()) return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -619,8 +579,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,8 +591,6 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -641,13 +598,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; - * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -656,8 +613,6 @@ public java.lang.String getEntityId() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -665,14 +620,15 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -680,8 +636,6 @@ public com.google.protobuf.ByteString getEntityIdBytes() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -689,22 +643,20 @@ public com.google.protobuf.ByteString getEntityIdBytes() {
      * 
* * string entity_id = 1; - * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId(java.lang.String value) { + public Builder setEntityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -712,18 +664,15 @@ public Builder setEntityId(java.lang.String value) {
      * 
* * string entity_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -731,16 +680,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; - * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -748,20 +697,18 @@ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -770,21 +717,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -792,61 +738,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -854,20 +793,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -876,21 +813,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -898,68 +834,61 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -969,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.Entity) private static final com.google.cloud.videointelligence.v1p2beta1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.Entity(); } @@ -983,16 +912,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java index d51bfb3c2..beb7355af 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -33,13 +15,10 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The entityId. */ java.lang.String getEntityId(); /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -47,58 +26,48 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - com.google.protobuf.ByteString getEntityIdBytes(); + com.google.protobuf.ByteString + getEntityIdBytes(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java index f4be288e3..aeed3a168 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExplicitContentAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                frames_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              frames_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              frames_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            frames_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -110,101 +89,80 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class,
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
-   *
-   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,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 { for (int i = 0; i < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -230,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,15 +200,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.videointelligence.v1p2beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other = - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) obj; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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; } /** - * - * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -377,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p2beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class,
-              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,22 +374,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -450,8 +395,7 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result =
-          new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -470,51 +414,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p2beta1.ExplicitContentAnnotation) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -533,10 +472,9 @@ public Builder mergeFrom(
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFramesFieldBuilder()
-                    : null;
+            framesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFramesFieldBuilder() : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -561,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -572,39 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        frames_ = java.util.Collections.emptyList();
-
+    private java.util.List frames_ =
+      java.util.Collections.emptyList();
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame>(frames_);
+        frames_ = new java.util.ArrayList(frames_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame,
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>
-        framesBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
 
     /**
-     *
-     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -612,14 +537,11 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -629,14 +551,11 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -646,14 +565,11 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFram } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { @@ -670,18 +586,14 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -692,17 +604,13 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -716,14 +624,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { @@ -740,14 +645,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { @@ -761,18 +663,14 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -783,22 +681,18 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -806,14 +700,11 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -826,14 +717,11 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -846,50 +734,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder - getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -897,74 +774,56 @@ public Builder removeFrames(int index) { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder - addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -974,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java index b7ea16cdd..9ef530ce4 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,83 +1,52 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentAnnotationOrBuilder - extends +public interface ExplicitContentAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ int getFramesCount(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java index 0ec68cefb..11b7f937a 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +73,29 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -127,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -136,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -152,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -169,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -205,16 +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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,152 +207,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.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(); @@ -388,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,10 +365,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -424,52 +376,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConf 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -489,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -508,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -517,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -532,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -541,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -556,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -565,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -588,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -607,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -633,33 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +601,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java index b0d27ba2c..d74097703 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentDetectionConfigOrBuilder - extends +public interface ExplicitContentDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java index 3f2872374..a78f9bf82 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - pornographyLikelihood_ = rawValue; - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + pornographyLikelihood_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private ExplicitContentFrame( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -147,15 +122,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -163,8 +135,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -180,43 +150,31 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Likelihood result = - com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p2beta1.Likelihood result = com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,13 +186,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -247,12 +204,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +219,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.videointelligence.v1p2beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other = - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -298,145 +255,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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; } /** - * - * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p2beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.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(); @@ -452,14 +398,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -474,8 +419,7 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame result = - new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -490,50 +434,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p2beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -559,9 +499,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -573,49 +511,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,8 +562,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -646,7 +569,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -657,8 +581,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,7 +592,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -682,8 +604,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -703,8 +623,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -713,13 +631,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -731,14 +647,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -747,17 +660,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -765,100 +675,80 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Likelihood result = - com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p2beta1.Likelihood result = com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood( - com.google.cloud.videointelligence.v1p2beta1.Likelihood value) { + public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p2beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -868,32 +758,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,8 +793,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java index b18a81ccf..2e0009f42 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentFrameOrBuilder - extends +public interface ExplicitContentFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,26 +38,20 @@ public interface ExplicitContentFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood(); diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java index a0c3010ef..1597d47e5 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.Feature} */ -public enum Feature implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -79,8 +53,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ TEXT_DETECTION(7), /** - * - * *
    * Object detection and tracking.
    * 
@@ -92,8 +64,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -102,8 +72,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -112,8 +80,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -122,8 +88,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -132,8 +96,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -142,8 +104,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_DETECTION_VALUE = 7; /** - * - * *
    * Object detection and tracking.
    * 
@@ -152,6 +112,7 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OBJECT_TRACKING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,58 +137,52 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: - return FEATURE_UNSPECIFIED; - case 1: - return LABEL_DETECTION; - case 2: - return SHOT_CHANGE_DETECTION; - case 3: - return EXPLICIT_CONTENT_DETECTION; - case 7: - return TEXT_DETECTION; - case 9: - return OBJECT_TRACKING; - default: - return null; + case 0: return FEATURE_UNSPECIFIED; + case 1: return LABEL_DETECTION; + case 2: return SHOT_CHANGE_DETECTION; + case 3: return EXPLICIT_CONTENT_DETECTION; + case 7: return TEXT_DETECTION; + case 9: return OBJECT_TRACKING; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Feature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -243,3 +198,4 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.Feature) } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java index fdf072c8c..d6964f3d7 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelAnnotation} */ -public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) LabelAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,53 @@ private LabelAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - categoryEntities_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.LabelSegment>(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame>(); - mutable_bitField0_ |= 0x00000004; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.parser(), - extensionRegistry)); - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelSegment.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,7 +110,8 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -160,33 +126,27 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -194,25 +154,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Detected entity.
    * 
@@ -227,8 +180,6 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -239,13 +190,10 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getCategoryEntitiesList() {
+  public java.util.List getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -256,13 +204,11 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -277,8 +223,6 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -293,8 +237,6 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -313,8 +255,6 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
@@ -322,13 +262,10 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -336,14 +273,11 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -355,8 +289,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -368,8 +300,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int return segments_.get(index); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -385,8 +315,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -398,8 +326,6 @@ public java.util.List g return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -407,13 +333,11 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -425,8 +349,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -438,8 +360,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -453,7 +373,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,7 +384,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -488,16 +408,20 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -507,21 +431,24 @@ 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.videointelligence.v1p2beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other = - (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList() + .equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -555,127 +482,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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; } /** - * - * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelAnnotation} */ - 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.videointelligence.v1p2beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.newBuilder() @@ -683,19 +600,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,14 +644,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance(); } @@ -749,8 +665,7 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation result = - new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -792,39 +707,38 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation)other); } else { super.mergeFrom(other); return this; @@ -832,9 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -856,10 +768,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoryEntitiesFieldBuilder() - : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoryEntitiesFieldBuilder() : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -883,10 +794,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -910,10 +820,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -938,8 +847,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -948,52 +856,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Detected entity.
      * 
@@ -1014,8 +908,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p2beta1.Entity val return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1034,8 +926,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1046,9 +936,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1060,8 +948,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1080,8 +966,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1089,13 +973,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Detected entity.
      * 
@@ -1106,14 +988,11 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Detected entity.
      * 
@@ -1121,43 +1000,32 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList( - categoryEntities_); + categoryEntities_ = new java.util.ArrayList(categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> - categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> categoryEntitiesBuilder_; /** - * - * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1167,8 +1035,7 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesList() {
+    public java.util.List getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1176,8 +1043,6 @@ private void ensureCategoryEntitiesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1195,8 +1060,6 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1214,8 +1077,6 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(i
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1240,8 +1101,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1263,8 +1122,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1288,8 +1145,6 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p2beta1.
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1314,8 +1169,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1337,8 +1190,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1360,8 +1211,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1375,7 +1224,8 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1383,8 +1233,6 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1405,8 +1253,6 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1427,8 +1273,6 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1443,8 +1287,6 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1454,17 +1296,14 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder
-        getCategoryEntitiesOrBuilder(int index) {
+    public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
+        int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);
-      } else {
+        return categoryEntities_.get(index);  } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1474,8 +1313,8 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesOrBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1483,8 +1322,6 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1494,14 +1331,11 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder
-        addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1513,13 +1347,10 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
      */
     public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1529,22 +1360,16 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.Entity,
-            com.google.cloud.videointelligence.v1p2beta1.Entity.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> 
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p2beta1.Entity,
-                com.google.cloud.videointelligence.v1p2beta1.Entity.Builder,
-                com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1555,34 +1380,25 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(
-                segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.LabelSegment,
-            com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1590,8 +1406,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1606,8 +1420,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1622,8 +1434,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1645,8 +1455,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1654,8 +1462,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1666,8 +1473,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1688,8 +1493,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.LabelSeg return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1711,8 +1514,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1731,8 +1532,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1740,8 +1539,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1752,8 +1550,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1761,11 +1557,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1773,8 +1569,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1792,8 +1586,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1811,8 +1603,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1824,8 +1614,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1835,23 +1623,19 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1859,8 +1643,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1868,13 +1650,10 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1883,63 +1662,48 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelSegment, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelSegment, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1954,8 +1718,6 @@ public java.util.List g } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1970,8 +1732,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1986,8 +1746,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int ind } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2009,8 +1767,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2018,8 +1774,7 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -2030,8 +1785,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2052,8 +1805,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.LabelFrame return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2075,8 +1826,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2095,8 +1844,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2104,8 +1851,7 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -2116,8 +1862,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2125,11 +1869,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -2137,8 +1881,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2156,8 +1898,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2175,8 +1915,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2188,8 +1926,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2199,23 +1935,19 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2223,8 +1955,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2232,12 +1962,10 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2246,43 +1974,37 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -2292,13 +2014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(); } @@ -2307,16 +2028,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2331,4 +2052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java index 8b2c64bfb..f5d6d67cc 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelAnnotationOrBuilder - extends +public interface LabelAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p2beta1.Entity getEntity(); /** - * - * *
    * Detected entity.
    * 
@@ -59,8 +35,6 @@ public interface LabelAnnotationOrBuilder com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -70,10 +44,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
-  java.util.List getCategoryEntitiesList();
+  java.util.List 
+      getCategoryEntitiesList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -85,8 +58,6 @@ public interface LabelAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(int index);
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -98,8 +69,6 @@ public interface LabelAnnotationOrBuilder
    */
   int getCategoryEntitiesCount();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -109,11 +78,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
-  java.util.List
+  java.util.List 
       getCategoryEntitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -127,18 +94,15 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -147,8 +111,6 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int index); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -157,19 +119,15 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -180,18 +138,15 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -200,8 +155,6 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int index); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -210,24 +163,21 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java index 24617205f..83cf56cc9 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -44,15 +26,16 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - labelDetectionMode_ = rawValue; - break; - } - case 16: - { - stationaryCamera_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: { - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stationaryCamera_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,78 +85,60 @@ private LabelDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -183,7 +146,6 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelD
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -194,8 +156,6 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -203,7 +163,6 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; - * * @return The model. */ @java.lang.Override @@ -212,15 +171,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -228,15 +186,16 @@ public java.lang.String getModel() {
    * 
* * string model = 3; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -245,7 +204,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,11 +215,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -279,14 +235,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -299,17 +254,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.videointelligence.v1p2beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other = - (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() != other.getStationaryCamera()) return false; - if (!getModel().equals(other.getModel())) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,7 +280,8 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -333,145 +290,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p2beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.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(); @@ -485,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -507,8 +452,7 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig result = - new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -520,50 +464,46 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p2beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance()) return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -593,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,118 +545,90 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED : result; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -726,7 +636,6 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -734,8 +643,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -743,19 +650,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -763,11 +667,10 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -775,8 +678,6 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -784,13 +685,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -799,8 +700,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -808,14 +707,15 @@ public java.lang.String getModel() {
      * 
* * string model = 3; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -823,8 +723,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -832,22 +730,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 3; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -855,18 +751,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 3; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -874,23 +767,23 @@ public Builder clearModel() {
      * 
* * string model = 3; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -900,32 +793,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,8 +828,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java index cf50acd3c..69618a88b 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java @@ -1,62 +1,36 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelDetectionConfigOrBuilder - extends +public interface LabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode(); /** - * - * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -64,14 +38,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,13 +50,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -93,8 +61,8 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java index c24422a9e..1ef0b9861 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionMode} */ -public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** - * - * *
    * Detect shot-level labels.
    * 
@@ -49,8 +29,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ SHOT_MODE(1), /** - * - * *
    * Detect frame-level labels.
    * 
@@ -59,8 +37,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ FRAME_MODE(2), /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -72,8 +48,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unspecified.
    * 
@@ -82,8 +56,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Detect shot-level labels.
    * 
@@ -92,8 +64,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_MODE_VALUE = 1; /** - * - * *
    * Detect frame-level labels.
    * 
@@ -102,8 +72,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int FRAME_MODE_VALUE = 2; /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -112,6 +80,7 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,48 +105,41 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: - return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: - return SHOT_MODE; - case 2: - return FRAME_MODE; - case 3: - return SHOT_AND_FRAME_MODE; - default: - return null; + case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: return SHOT_MODE; + case 2: return FRAME_MODE; + case 3: return SHOT_AND_FRAME_MODE; + 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 - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + LabelDetectionMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -185,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LabelDetectionMode 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; @@ -201,3 +164,4 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionMode) } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java index 9fceadd5c..40af58795 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelFrame} */ -public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelFrame) LabelFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelFrame() {} + private LabelFrame() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private LabelFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,40 +84,35 @@ private LabelFrame( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -143,15 +120,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -159,8 +133,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -176,14 +148,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -192,7 +161,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -221,10 +190,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,20 +205,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.videointelligence.v1p2beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelFrame other = - (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,134 +236,125 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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; } /** - * - * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelFrame} */ - 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.videointelligence.v1p2beta1.LabelFrame) com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelFrame.newBuilder() @@ -399,15 +362,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(); @@ -423,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override @@ -444,8 +408,7 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelFrame result = - new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -460,39 +423,38 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelFrame)other); } else { super.mergeFrom(other); return this; @@ -500,8 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -527,8 +488,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,49 +500,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -604,8 +551,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -613,7 +558,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -624,8 +570,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,7 +581,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -649,8 +593,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,8 +612,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -680,13 +620,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -698,14 +636,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -714,32 +649,26 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -747,43 +676,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -793,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p2beta1.LabelFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(); } @@ -807,16 +730,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java index c45182949..b5fbd155a 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelFrameOrBuilder - extends +public interface LabelFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,14 +38,11 @@ public interface LabelFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java index 8c65925fa..c6d4ab694 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelSegment} */ -public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelSegment) LabelSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelSegment() {} + private LabelSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private LabelSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private LabelSegment( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -144,25 +119,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -177,14 +145,11 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -193,7 +158,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +169,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -222,10 +187,12 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,20 +202,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.videointelligence.v1p2beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelSegment other = - (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,134 +233,125 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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; } /** - * - * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelSegment} */ - 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.videointelligence.v1p2beta1.LabelSegment) com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelSegment.newBuilder() @@ -400,15 +359,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(); @@ -424,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override @@ -445,8 +405,7 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelSegment result = - new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -461,39 +420,38 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelSegment)other); } else { super.mergeFrom(other); return this; @@ -501,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -528,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -541,47 +497,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -602,8 +545,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -622,8 +563,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -634,9 +573,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -648,8 +585,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -668,8 +603,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -677,32 +610,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -710,32 +637,26 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -743,43 +664,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -789,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p2beta1.LabelSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(); } @@ -803,16 +718,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java index 3a0fd300f..e07c8ba52 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelSegmentOrBuilder - extends +public interface LabelSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -59,14 +35,11 @@ public interface LabelSegmentOrBuilder com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java index b7a9ee4c1..d4cce1a6e 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.Likelihood} */ -public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified likelihood.
    * 
@@ -39,8 +21,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Very unlikely.
    * 
@@ -49,8 +29,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ VERY_UNLIKELY(1), /** - * - * *
    * Unlikely.
    * 
@@ -59,8 +37,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ UNLIKELY(2), /** - * - * *
    * Possible.
    * 
@@ -69,8 +45,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ POSSIBLE(3), /** - * - * *
    * Likely.
    * 
@@ -79,8 +53,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELY(4), /** - * - * *
    * Very likely.
    * 
@@ -92,8 +64,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified likelihood.
    * 
@@ -102,8 +72,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Very unlikely.
    * 
@@ -112,8 +80,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_UNLIKELY_VALUE = 1; /** - * - * *
    * Unlikely.
    * 
@@ -122,8 +88,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Possible.
    * 
@@ -132,8 +96,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSSIBLE_VALUE = 3; /** - * - * *
    * Likely.
    * 
@@ -142,8 +104,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Very likely.
    * 
@@ -152,6 +112,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,58 +137,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -243,3 +198,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.Likelihood) } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java index 0480ffb89..99f51ba20 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingBox extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedBoundingBox() {}
+  private NormalizedBoundingBox() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,33 +54,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              left_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              top_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              right_ = input.readFloat();
-              break;
-            }
-          case 37:
-            {
-              bottom_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            left_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            top_ = input.readFloat();
+            break;
+          }
+          case 29: {
+
+            right_ = input.readFloat();
+            break;
+          }
+          case 37: {
+
+            bottom_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,39 +88,34 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
-   *
-   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -147,14 +126,11 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -165,14 +141,11 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -183,14 +156,11 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -199,7 +169,6 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +180,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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -234,16 +204,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -253,22 +227,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.videointelligence.v1p2beta1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other = - (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits(other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) - return false; + != java.lang.Float.floatToIntBits( + other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) + != java.lang.Float.floatToIntBits( + other.getTop())) return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits(other.getRight())) return false; + != java.lang.Float.floatToIntBits( + other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits(other.getBottom())) return false; + != java.lang.Float.floatToIntBits( + other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,118 +258,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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; } /** - * - * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -401,40 +373,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1p2beta1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class,
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.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();
@@ -450,16 +420,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -473,8 +441,7 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox result =
-          new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -487,51 +454,46 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox buildP
     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.videointelligence.v1p2beta1.NormalizedBoundingBox) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -563,9 +525,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -575,16 +535,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_;
+    private float left_ ;
     /**
-     *
-     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -592,51 +549,42 @@ public float getLeft() { return left_; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_; + private float top_ ; /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -644,51 +592,42 @@ public float getTop() { return top_; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_; + private float right_ ; /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -696,51 +635,42 @@ public float getRight() { return right_; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_; + private float bottom_ ; /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -748,43 +678,37 @@ public float getBottom() { return bottom_; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -794,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,8 +753,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java index 18d6616a1..37a63d789 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java @@ -1,76 +1,48 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface NormalizedBoundingBoxOrBuilder - extends +public interface NormalizedBoundingBoxOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ float getLeft(); /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ float getTop(); /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ float getRight(); /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ float getBottom(); diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java index 1baaca4f8..3718efd53 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -41,31 +24,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingPoly extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,27 +68,22 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vertices_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vertices_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vertices_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            vertices_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -113,7 +91,8 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -122,27 +101,22 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
-   *
-   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -150,13 +124,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List - getVerticesList() { + public java.util.List getVerticesList() { return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -164,14 +135,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> + public java.util.List getVerticesOrBuilderList() { return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -183,8 +151,6 @@ public int getVerticesCount() { return vertices_.size(); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -196,8 +162,6 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices return vertices_.get(index); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -205,13 +169,12 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder - getVerticesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( + int index) { return vertices_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +186,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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -237,7 +201,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -247,15 +212,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.videointelligence.v1p2beta1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other = - (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) obj; - if (!getVerticesList().equals(other.getVerticesList())) return false; + if (!getVerticesList() + .equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,105 +242,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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; } /** - * - * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -396,42 +352,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1p2beta1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class,
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.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) {
         getVerticesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,16 +398,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -468,8 +419,7 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly build
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly result =
-          new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -488,51 +438,46 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly build
     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.videointelligence.v1p2beta1.NormalizedBoundingPoly) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance()) return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -551,10 +496,9 @@ public Builder mergeFrom(
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVerticesFieldBuilder()
-                    : null;
+            verticesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVerticesFieldBuilder() : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -579,9 +523,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -590,39 +532,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        vertices_ = java.util.Collections.emptyList();
-
+    private java.util.List vertices_ =
+      java.util.Collections.emptyList();
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ =
-            new java.util.ArrayList(
-                vertices_);
+        vertices_ = new java.util.ArrayList(vertices_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>
-        verticesBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> verticesBuilder_;
 
     /**
-     *
-     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesList() { + public java.util.List getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -630,14 +561,11 @@ private void ensureVerticesIsMutable() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public int getVerticesCount() { if (verticesBuilder_ == null) { @@ -647,14 +575,11 @@ public int getVerticesCount() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices(int index) { if (verticesBuilder_ == null) { @@ -664,14 +589,11 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder setVertices( int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { @@ -688,18 +610,14 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder setVertices( - int index, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.set(index, builderForValue.build()); @@ -710,17 +628,13 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public Builder addVertices( - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { + public Builder addVertices(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -734,14 +648,11 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { @@ -758,14 +669,11 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { @@ -779,18 +687,14 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( - int index, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.add(index, builderForValue.build()); @@ -801,21 +705,18 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder addAllVertices( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -823,14 +724,11 @@ public Builder addAllVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder clearVertices() { if (verticesBuilder_ == null) { @@ -843,14 +741,11 @@ public Builder clearVertices() { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public Builder removeVertices(int index) { if (verticesBuilder_ == null) { @@ -863,50 +758,39 @@ public Builder removeVertices(int index) { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder getVerticesBuilder( int index) { return getVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder - getVerticesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( + int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); - } else { + return vertices_.get(index); } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> - getVerticesOrBuilderList() { + public java.util.List + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -914,72 +798,56 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder get } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder - addVerticesBuilder() { - return getVerticesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder addVerticesBuilder() { + return getVerticesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>( - vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>( + vertices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); vertices_ = null; } return verticesBuilder_; } - @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); } @@ -989,32 +857,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,8 +892,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java index 172164d1f..336e5e438 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface NormalizedBoundingPolyOrBuilder - extends +public interface NormalizedBoundingPolyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - java.util.List getVerticesList(); + java.util.List + getVerticesList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -44,8 +25,6 @@ public interface NormalizedBoundingPolyOrBuilder */ com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices(int index); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -54,19 +33,15 @@ public interface NormalizedBoundingPolyOrBuilder */ int getVerticesCount(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java index 205638938..ffdbdcb6a 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedVertex}
  */
-public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedVertex extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedVertex() {}
+  private NormalizedVertex() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,23 +54,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              x_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              y_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            x_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            y_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,39 +78,34 @@ private NormalizedVertex(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
-   *
-   *
    * 
    * X coordinate.
    * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -137,14 +116,11 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** - * - * *
    * Y coordinate.
    * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -153,7 +129,6 @@ public float getY() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +140,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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -182,10 +158,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -195,18 +173,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.videointelligence.v1p2beta1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other = - (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) - return false; - if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) - return false; + if (java.lang.Float.floatToIntBits(getX()) + != java.lang.Float.floatToIntBits( + other.getX())) return false; + if (java.lang.Float.floatToIntBits(getY()) + != java.lang.Float.floatToIntBits( + other.getY())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -219,113 +198,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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; } /** - * - * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -334,23 +307,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedVertex}
    */
-  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.videointelligence.v1p2beta1.NormalizedVertex)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class,
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.newBuilder()
@@ -358,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();
@@ -378,14 +350,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance();
     }
 
@@ -400,8 +371,7 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex result =
-          new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -412,39 +382,38 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,9 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()) return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -480,9 +447,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -492,16 +457,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_;
+    private float x_ ;
     /**
-     *
-     *
      * 
      * X coordinate.
      * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -509,51 +471,42 @@ public float getX() { return x_; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_; + private float y_ ; /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -561,43 +514,37 @@ public float getY() { return y_; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -607,13 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(); } @@ -622,16 +568,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..f7a2a9947 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface NormalizedVertexOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * @return The x. + */ + float getX(); + + /** + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * @return The y. + */ + float getY(); +} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java index 4ad5e3380..7a92e9395 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ObjectTrackingAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ObjectTrackingAnnotation() { frames_ = 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 ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,75 +54,59 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame>(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = - ((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_) - .toBuilder(); - } - trackInfo_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); - } - trackInfoCase_ = 3; - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 37: - { - confidence_ = input.readFloat(); - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.parser(), extensionRegistry)); + break; + } + case 26: { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = ((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_).toBuilder(); } - case 40: - { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; + trackInfo_ = + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + trackInfoCase_ = 3; + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + case 40: { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +114,8 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -156,34 +124,28 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public enum TrackInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; - private TrackInfoCase(int value) { this.value = value; } @@ -199,37 +161,31 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: - return SEGMENT; - case 5: - return TRACK_ID; - case 0: - return TRACKINFO_NOT_SET; - default: - return null; + case 3: return SEGMENT; + case 5: return TRACK_ID; + case 0: return TRACKINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -237,27 +193,22 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance(); } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -268,15 +219,13 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-      return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_;
+       return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -287,7 +236,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ @java.lang.Override @@ -295,8 +243,6 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -307,7 +253,6 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; - * * @return The trackId. */ @java.lang.Override @@ -321,14 +266,11 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -336,25 +278,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -369,14 +304,11 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -387,8 +319,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -396,13 +326,10 @@ public float getConfidence() { * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -410,14 +337,11 @@ public float getConfidence() { * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -429,8 +353,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -442,8 +364,6 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame return frames_.get(index); } /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -451,13 +371,12 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -469,7 +388,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -477,14 +397,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + output.writeMessage(3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { output.writeFloat(4, confidence_); } if (trackInfoCase_ == 5) { - output.writeInt64(5, (long) ((java.lang.Long) trackInfo_)); + output.writeInt64( + 5, (long)((java.lang.Long) trackInfo_)); } unknownFields.writeTo(output); } @@ -496,23 +416,25 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } if (trackInfoCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 5, (long) ((java.lang.Long) trackInfo_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 5, (long)((java.lang.Long) trackInfo_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,28 +444,32 @@ 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other = - (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false; switch (trackInfoCase_) { case 3: - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; break; case 5: - if (getTrackId() != other.getTrackId()) return false; + if (getTrackId() + != other.getTrackId()) return false; break; case 0: default: @@ -564,7 +490,8 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -576,7 +503,8 @@ public int hashCode() { break; case 5: hash = (37 * hash) + TRACK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTrackId()); break; case 0: default: @@ -587,147 +515,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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; } /** - * - * *
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -751,16 +667,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance(); } @java.lang.Override @@ -774,8 +688,7 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation bui @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation result = - new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -811,51 +724,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation bui 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -880,30 +788,26 @@ public Builder mergeFrom( framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } } } switch (other.getTrackInfoCase()) { - case SEGMENT: - { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: - { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: - { - break; - } + case SEGMENT: { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -924,9 +828,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -935,12 +837,12 @@ public Builder mergeFrom( } return this; } - private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public Builder clearTrackInfo() { @@ -953,20 +855,14 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -974,15 +870,12 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override @@ -1000,8 +893,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { } } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1023,8 +914,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1044,8 +933,6 @@ public Builder setSegment(
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1055,14 +942,10 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3
-            && trackInfo_
-                != com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ =
-              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(
-                      (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trackInfoCase_ == 3 &&
+            trackInfo_ != com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ = com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -1078,8 +961,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1104,8 +985,6 @@ public Builder clearSegment() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1117,8 +996,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1127,8 +1004,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder
-        getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
       if ((trackInfoCase_ == 3) && (segmentBuilder_ != null)) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
@@ -1139,8 +1015,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
       }
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1149,34 +1023,25 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> 
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
-          trackInfo_ =
-              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
+          trackInfo_ = com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
+        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return segmentBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1187,15 +1052,12 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
      * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1206,7 +1068,6 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; - * * @return The trackId. */ public long getTrackId() { @@ -1216,8 +1077,6 @@ public long getTrackId() { return 0L; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1228,7 +1087,6 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; - * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1239,8 +1097,6 @@ public Builder setTrackId(long value) { return this; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1251,7 +1107,6 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; - * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1265,47 +1120,34 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1326,8 +1168,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p2beta1.Entity val return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1346,8 +1186,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1358,9 +1196,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1372,8 +1208,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1392,8 +1226,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1401,13 +1233,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1418,14 +1248,11 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1433,32 +1260,26 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -1466,71 +1287,55 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private java.util.List - frames_ = java.util.Collections.emptyList(); - + private java.util.List frames_ = + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame>(frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -1538,14 +1343,11 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -1555,14 +1357,11 @@ public int getFramesCount() { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -1572,14 +1371,11 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { @@ -1596,18 +1392,14 @@ public Builder setFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1618,17 +1410,13 @@ public Builder setFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1642,14 +1430,11 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { @@ -1666,14 +1451,11 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { @@ -1687,18 +1469,14 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1709,22 +1487,18 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1732,14 +1506,11 @@ public Builder addAllFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -1752,14 +1523,11 @@ public Builder clearFrames() { return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -1772,50 +1540,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder - getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1823,74 +1580,56 @@ public Builder removeFrames(int index) { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder - addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1900,32 +1639,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1937,8 +1674,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java similarity index 82% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java index 38c0d7817..edfc431f2 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ObjectTrackingAnnotationOrBuilder - extends +public interface ObjectTrackingAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; - * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -62,8 +38,6 @@ public interface ObjectTrackingAnnotationOrBuilder
   com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -74,13 +48,10 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -91,38 +62,29 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return The trackId. */ long getTrackId(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p2beta1.Entity getEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -132,31 +94,25 @@ public interface ObjectTrackingAnnotationOrBuilder com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -165,8 +121,6 @@ public interface ObjectTrackingAnnotationOrBuilder */ com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrames(int index); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -175,20 +129,15 @@ public interface ObjectTrackingAnnotationOrBuilder */ int getFramesCount(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + java.util.List getFramesOrBuilderList(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -198,6 +147,5 @@ public interface ObjectTrackingAnnotationOrBuilder com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( int index); - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.TrackInfoCase - getTrackInfoCase(); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java index 5577a5ef9..33ccd8259 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectTrackingFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ObjectTrackingFrame() {}
+  private ObjectTrackingFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,46 +53,39 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder
-                  subBuilder = null;
-              if (normalizedBoundingBox_ != null) {
-                subBuilder = normalizedBoundingBox_.toBuilder();
-              }
-              normalizedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedBoundingBox_);
-                normalizedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder subBuilder = null;
+            if (normalizedBoundingBox_ != null) {
+              subBuilder = normalizedBoundingBox_.toBuilder();
+            }
+            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(normalizedBoundingBox_);
+              normalizedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
+            }
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = 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,41 +93,34 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class,
-            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
-   *
-   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -158,53 +128,37 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -212,14 +166,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -227,8 +178,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
@@ -241,7 +190,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +201,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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -270,11 +219,12 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +234,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.videointelligence.v1p2beta1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other = - (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox() + .equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,104 +276,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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; } /** - * - * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -430,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1p2beta1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class,
-              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.newBuilder()
@@ -454,15 +395,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();
@@ -482,14 +424,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance();
     }
 
@@ -504,8 +445,7 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame result =
-          new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -524,50 +464,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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) {
+        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.videointelligence.v1p2beta1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other) {
+      if (other == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()) return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -593,9 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -605,66 +539,43 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
-        normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>
-        normalizedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,19 +589,14 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -701,25 +607,17 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder mergeNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder( - normalizedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -731,15 +629,11 @@ public Builder mergeNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -753,67 +647,48 @@ public Builder clearNormalizedBoundingBox() { return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), getParentForChildren(), isClean()); + normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), + getParentForChildren(), + isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -821,47 +696,34 @@ public Builder clearNormalizedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -882,15 +744,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -901,8 +762,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -913,7 +772,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -925,8 +784,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -945,8 +802,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -954,13 +809,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -971,14 +824,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -986,24 +836,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -1013,32 +860,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) - private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1050,8 +895,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java similarity index 59% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java index e81815ac0..8b13496db 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java @@ -1,97 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ObjectTrackingFrameOrBuilder - extends +public interface ObjectTrackingFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java index efebc99bd..9f87a6293 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1p2beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.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(); @@ -379,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +366,7 @@ public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -414,51 +376,46 @@ public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -482,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -505,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -520,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -529,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -544,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -553,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -576,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -595,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -621,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java index 5929f9eee..ac960cfab 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ShotChangeDetectionConfigOrBuilder - extends +public interface ShotChangeDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java index e5b4b19c4..195aa5db1 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextAnnotation}
  */
-public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextAnnotation)
     TextAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              text_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                segments_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p2beta1.TextSegment>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              segments_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.TextSegment.parser(),
-                      extensionRegistry));
-              break;
+            text_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              segments_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            segments_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextSegment.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -118,33 +96,27 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class,
-            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
-   *
-   *
    * 
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -153,29 +125,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -186,8 +158,6 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -195,13 +165,10 @@ public com.google.protobuf.ByteString getTextBytes() { * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -209,13 +176,11 @@ public com.google.protobuf.ByteString getTextBytes() { * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -227,8 +192,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -240,8 +203,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int return segments_.get(index); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -255,7 +216,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -287,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, segments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,16 +259,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.videointelligence.v1p2beta1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other = - (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) obj; - if (!getText().equals(other.getText())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getText() + .equals(other.getText())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,104 +293,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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; } /** - * - * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -436,23 +391,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextAnnotation}
    */
-  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.videointelligence.v1p2beta1.TextAnnotation)
       com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class,
-              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.newBuilder()
@@ -460,17 +413,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) {
         getSegmentsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,9 +439,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -507,8 +460,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.TextAnnotation result =
-          new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1p2beta1.TextAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -528,39 +480,38 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()) return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -592,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextAnnota
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSegmentsFieldBuilder()
-                    : null;
+            segmentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSegmentsFieldBuilder() : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -620,8 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -630,25 +578,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
-     *
-     *
      * 
      * The detected text.
      * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -657,21 +602,20 @@ public java.lang.String getText() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -679,95 +623,79 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -775,8 +703,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -791,8 +717,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -807,8 +731,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -830,8 +752,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -839,8 +759,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -851,8 +770,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -873,8 +790,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.TextSegm return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -896,8 +811,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -916,8 +829,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -925,8 +836,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -937,8 +847,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -946,11 +854,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -958,8 +866,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -977,8 +883,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -996,8 +900,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1009,8 +911,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder getSegme return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1020,23 +920,19 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder getSegme public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1044,8 +940,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1053,13 +947,10 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1068,43 +959,37 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegme */ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } - @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); } @@ -1114,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextAnnotation) private static final com.google.cloud.videointelligence.v1p2beta1.TextAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(); } @@ -1128,16 +1013,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java index 5ebd0ff46..955775be7 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java @@ -1,66 +1,42 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextAnnotationOrBuilder - extends +public interface TextAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -69,8 +45,6 @@ public interface TextAnnotationOrBuilder */ com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int index); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -79,24 +53,21 @@ public interface TextAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java index b7f804dc9..3a81ee4dd 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextDetectionConfig} */ -public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) TextDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - languageHints_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageHints_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -104,27 +87,22 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -133,15 +111,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_; } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -150,15 +126,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -167,7 +140,6 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -175,8 +147,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -185,16 +155,15 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -235,15 +205,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.videointelligence.v1p2beta1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other = - (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) obj; - if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; + if (!getLanguageHintsList() + .equals(other.getLanguageHintsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,127 +235,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextDetectionConfig} */ - 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.videointelligence.v1p2beta1.TextDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder() @@ -393,15 +353,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(); @@ -411,14 +372,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance(); } @@ -433,8 +393,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig result = - new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -449,50 +408,46 @@ public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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) { + 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.videointelligence.v1p2beta1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance()) return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -522,9 +477,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -533,21 +486,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -556,15 +504,13 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -573,15 +519,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
      * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -590,7 +533,6 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -598,8 +540,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -608,16 +548,14 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -626,23 +564,21 @@ public com.google.protobuf.ByteString getLanguageHintsBytes(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints(int index, java.lang.String value) { + public Builder setLanguageHints( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -651,22 +587,20 @@ public Builder setLanguageHints(int index, java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints(java.lang.String value) { + public Builder addLanguageHints( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -675,19 +609,18 @@ public Builder addLanguageHints(java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints(java.lang.Iterable values) { + public Builder addAllLanguageHints( + java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageHints_); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -696,7 +629,6 @@ public Builder addAllLanguageHints(java.lang.Iterable values)
      * 
* * repeated string language_hints = 1; - * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -706,8 +638,6 @@ public Builder clearLanguageHints() { return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -716,23 +646,23 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; - * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.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); } @@ -742,32 +672,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -779,8 +707,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java index 76c7bd6ba..c0ca2a92f 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextDetectionConfigOrBuilder - extends +public interface TextDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -34,13 +16,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - java.util.List getLanguageHintsList(); + java.util.List + getLanguageHintsList(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -49,13 +29,10 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ int getLanguageHintsCount(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -64,14 +41,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -80,9 +54,9 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString getLanguageHintsBytes(int index); + com.google.protobuf.ByteString + getLanguageHintsBytes(int index); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java index 4f72e6153..87882c357 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextFrame}
  */
-public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextFrame)
     TextFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TextFrame() {}
+  private TextFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,46 +54,39 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder
-                  subBuilder = null;
-              if (rotatedBoundingBox_ != null) {
-                subBuilder = rotatedBoundingBox_.toBuilder();
-              }
-              rotatedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rotatedBoundingBox_);
-                rotatedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder subBuilder = null;
+            if (rotatedBoundingBox_ != null) {
+              subBuilder = rotatedBoundingBox_.toBuilder();
+            }
+            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rotatedBoundingBox_);
+              rotatedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,41 +94,34 @@ private TextFrame(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.TextFrame.class,
-            com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.TextFrame.class, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
-   *
-   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -159,53 +129,37 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - getRotatedBoundingBox() { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() - : rotatedBoundingBox_; + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox() { + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -213,14 +167,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -228,8 +179,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Timestamp of this frame.
    * 
@@ -242,7 +191,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +202,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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -271,10 +220,12 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +235,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.videointelligence.v1p2beta1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextFrame other = - (com.google.cloud.videointelligence.v1p2beta1.TextFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.TextFrame other = (com.google.cloud.videointelligence.v1p2beta1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox() + .equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,104 +277,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.TextFrame 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; } /** - * - * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -431,23 +375,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextFrame}
    */
-  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.videointelligence.v1p2beta1.TextFrame)
       com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.TextFrame.class,
-              com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.TextFrame.class, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.TextFrame.newBuilder()
@@ -455,15 +397,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();
@@ -483,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +447,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.TextFrame result =
-          new com.google.cloud.videointelligence.v1p2beta1.TextFrame(this);
+      com.google.cloud.videointelligence.v1p2beta1.TextFrame result = new com.google.cloud.videointelligence.v1p2beta1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -524,39 +466,38 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()) return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -591,8 +531,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p2beta1.TextFrame) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -604,63 +543,41 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>
-        rotatedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - getRotatedBoundingBox() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - .getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -674,19 +591,14 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder builderForValue) { if (rotatedBoundingBoxBuilder_ == null) { rotatedBoundingBox_ = builderForValue.build(); onChanged(); @@ -697,25 +609,17 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder mergeRotatedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder( - rotatedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -727,15 +631,11 @@ public Builder mergeRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -749,67 +649,48 @@ public Builder clearRotatedBoundingBox() { return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder - getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly - .getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), getParentForChildren(), isClean()); + rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), + getParentForChildren(), + isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -817,47 +698,34 @@ public Builder clearRotatedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -878,15 +746,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -897,8 +764,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -909,7 +774,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -921,8 +786,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -941,8 +804,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -950,13 +811,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -967,14 +826,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -982,24 +838,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -1009,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextFrame) private static final com.google.cloud.videointelligence.v1p2beta1.TextFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextFrame(); } @@ -1023,16 +876,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextFrame getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,4 +900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java index fd7b6cd47..5a6bee749 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java @@ -1,97 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextFrameOrBuilder - extends +public interface TextFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java index 532721a06..7f7f9a8ba 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextSegment} */ -public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextSegment) TextSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,49 +54,40 @@ private TextSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.TextFrame>(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.TextFrame.parser(), - extensionRegistry)); - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,7 +95,8 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -130,33 +105,27 @@ private TextSegment( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -164,25 +133,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -197,15 +159,12 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -216,8 +175,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -229,8 +186,6 @@ public java.util.List ge return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -238,13 +193,11 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -256,8 +209,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -269,8 +220,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int inde return frames_.get(index); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -284,7 +233,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +244,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -316,13 +265,16 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,21 +284,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.videointelligence.v1p2beta1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextSegment other = - (com.google.cloud.videointelligence.v1p2beta1.TextSegment) obj; + com.google.cloud.videointelligence.v1p2beta1.TextSegment other = (com.google.cloud.videointelligence.v1p2beta1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,7 +317,8 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -374,127 +329,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.TextSegment 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; } /** - * - * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextSegment} */ - 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.videointelligence.v1p2beta1.TextSegment) com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, - com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.TextSegment.newBuilder() @@ -502,17 +447,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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.TextSegment result = - new com.google.cloud.videointelligence.v1p2beta1.TextSegment(this); + com.google.cloud.videointelligence.v1p2beta1.TextSegment result = new com.google.cloud.videointelligence.v1p2beta1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -581,39 +525,38 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextSegment)other); } else { super.mergeFrom(other); return this; @@ -621,8 +564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -647,10 +589,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextSegmen framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -675,8 +616,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -685,52 +625,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -751,8 +677,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -771,8 +695,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -783,9 +705,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -797,8 +717,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -817,8 +735,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -826,32 +742,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -859,33 +769,27 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -893,64 +797,50 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, - com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -965,8 +855,6 @@ public java.util.List ge } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -981,8 +869,6 @@ public int getFramesCount() { } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -997,8 +883,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int inde } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1020,8 +904,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1040,8 +922,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1062,8 +942,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.TextFrame return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1085,8 +963,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1105,8 +981,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1125,8 +999,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1134,11 +1006,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1146,8 +1018,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1165,8 +1035,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1184,8 +1052,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1197,8 +1063,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder getFramesB return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1208,22 +1072,19 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder getFramesB public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1231,8 +1092,6 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1240,12 +1099,10 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1254,43 +1111,37 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesB */ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, - com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, - com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1300,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextSegment) private static final com.google.cloud.videointelligence.v1p2beta1.TextSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextSegment(); } @@ -1314,16 +1165,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextSegment getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1338,4 +1189,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java index c10bc9ae7..86e5e3ccb 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextSegmentOrBuilder - extends +public interface TextSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -59,32 +35,26 @@ public interface TextSegmentOrBuilder com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -93,8 +63,6 @@ public interface TextSegmentOrBuilder */ com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int index); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -103,24 +71,21 @@ public interface TextSegmentOrBuilder */ int getFramesCount(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java index ab3267dcf..fc5551fd1 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,55 +53,50 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + + progressPercent_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - progressPercent_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - 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 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = 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) { @@ -126,40 +104,35 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -168,30 +141,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -202,15 +175,12 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -221,14 +191,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -236,14 +203,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -251,8 +215,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the request was received.
    * 
@@ -267,14 +229,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -282,14 +241,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -297,8 +253,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Time of the most recent update.
    * 
@@ -311,7 +265,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +276,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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -349,13 +303,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -365,23 +322,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.videointelligence.v1p2beta1.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other = - (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (getProgressPercent() != other.getProgressPercent()) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (getProgressPercent() + != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -412,145 +372,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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; } /** - * - * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p2beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.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(); @@ -574,16 +523,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance(); } @java.lang.Override @@ -597,8 +544,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress result = - new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -619,51 +565,46 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buil 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.videointelligence.v1p2beta1.VideoAnnotationProgress) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -696,9 +637,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -710,21 +649,19 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -733,22 +670,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -756,80 +692,70 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -837,38 +763,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -876,33 +796,24 @@ public Builder clearProgressPercent() { 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_; /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -913,8 +824,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the request was received.
      * 
@@ -935,15 +844,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -954,8 +862,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -966,7 +872,7 @@ 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; } @@ -978,8 +884,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -998,8 +902,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1007,13 +909,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the request was received.
      * 
@@ -1024,12 +924,11 @@ 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_; } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1037,17 +936,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1055,47 +951,34 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1116,15 +999,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1135,8 +1017,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1147,7 +1027,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1159,8 +1039,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1179,8 +1057,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1188,13 +1064,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1205,14 +1079,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1220,24 +1091,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @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); } @@ -1247,32 +1115,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,8 +1150,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java index 491e4c553..a40b63a20 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java @@ -1,96 +1,64 @@ -/* - * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface VideoAnnotationProgressOrBuilder - extends +public interface VideoAnnotationProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time when the request was received.
    * 
@@ -100,32 +68,24 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java index 44aad0f34..01d64f885 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationResults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -49,15 +31,16 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,138 +60,99 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + shotLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - shotLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + frameLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000004; - } - frameLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + shotAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000008; - } - shotAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), - extensionRegistry)); - break; + explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder - subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); - } - explicitAnnotation_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - case 74: - { - 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(); } - case 98: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - textAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation>(); - mutable_bitField0_ |= 0x00000010; - } - textAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.parser(), - extensionRegistry)); - break; + + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + textAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 114: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation>(); - mutable_bitField0_ |= 0x00000020; - } - objectAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - .parser(), - extensionRegistry)); - break; + textAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.parser(), extensionRegistry)); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + objectAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + objectAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -216,7 +160,8 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -240,34 +185,28 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -276,30 +215,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -308,364 +247,268 @@ public com.google.protobuf.ByteString getInputUriBytes() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - segmentLabelAnnotations_; + private java.util.List segmentLabelAnnotations_; /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { return segmentLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List - shotLabelAnnotations_; + private java.util.List shotLabelAnnotations_; /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - frameLabelAnnotations_; + private java.util.List frameLabelAnnotations_; /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { return frameLabelAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List - shotAnnotations_; + private java.util.List shotAnnotations_; /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -673,227 +516,168 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation() { + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; - private java.util.List - textAnnotations_; + private java.util.List textAnnotations_; /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public java.util.List - getTextAnnotationsList() { + public java.util.List getTextAnnotationsList() { return textAnnotations_; } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> + public java.util.List getTextAnnotationsOrBuilderList() { return textAnnotations_; } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override public int getTextAnnotationsCount() { return textAnnotations_.size(); } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index) { return textAnnotations_.get(index); } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder - getTextAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( + int index) { return textAnnotations_.get(index); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14; - private java.util.List - objectAnnotations_; + private java.util.List objectAnnotations_; /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + public java.util.List getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { return objectAnnotations_.get(index); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { return objectAnnotations_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ @java.lang.Override @@ -901,15 +685,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ @java.lang.Override @@ -917,8 +698,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -932,7 +711,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -944,7 +722,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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -985,34 +764,36 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, segmentLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, frameLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getError());
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, objectAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1022,29 +803,36 @@ 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.videointelligence.v1p2beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other =
-        (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) obj;
-
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
-      return false;
-    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) obj;
+
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList()
+        .equals(other.getSegmentLabelAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList()
+        .equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList()
+        .equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getShotAnnotationsList()
+        .equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation()
+          .equals(other.getExplicitAnnotation())) return false;
     }
-    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
+    if (!getTextAnnotationsList()
+        .equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList()
+        .equals(other.getObjectAnnotationsList())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1097,143 +885,132 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-      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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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;
   }
   /**
-   *
-   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p2beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -1242,7 +1019,6 @@ private void maybeForceBuilderInitialization() { getObjectAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1300,16 +1076,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance(); } @java.lang.Override @@ -1323,14 +1097,12 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults result = - new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1400,51 +1172,46 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults build 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.videointelligence.v1p2beta1.VideoAnnotationResults) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other) { - if (other - == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other) { + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1467,10 +1234,9 @@ public Builder mergeFrom( segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentLabelAnnotationsFieldBuilder() - : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentLabelAnnotationsFieldBuilder() : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1494,10 +1260,9 @@ public Builder mergeFrom( shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotLabelAnnotationsFieldBuilder() - : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotLabelAnnotationsFieldBuilder() : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1521,10 +1286,9 @@ public Builder mergeFrom( frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFrameLabelAnnotationsFieldBuilder() - : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameLabelAnnotationsFieldBuilder() : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1548,10 +1312,9 @@ public Builder mergeFrom( shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotAnnotationsFieldBuilder() - : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotAnnotationsFieldBuilder() : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1578,10 +1341,9 @@ public Builder mergeFrom( textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTextAnnotationsFieldBuilder() - : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTextAnnotationsFieldBuilder() : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -1605,10 +1367,9 @@ public Builder mergeFrom( objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getObjectAnnotationsFieldBuilder() - : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getObjectAnnotationsFieldBuilder() : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -1636,9 +1397,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1647,26 +1406,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -1675,22 +1431,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -1698,101 +1453,83 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private java.util.List - segmentLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList( - segmentLabelAnnotations_); + segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1800,16 +1537,12 @@ private void ensureSegmentLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1819,19 +1552,14 @@ public int getSegmentLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1839,16 +1567,12 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLa } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1865,20 +1589,15 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1889,19 +1608,14 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public Builder addSegmentLabelAnnotations( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1915,16 +1629,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1941,16 +1651,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -1964,20 +1670,15 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1988,23 +1689,19 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -2012,16 +1709,12 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2034,16 +1727,12 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2056,56 +1745,42 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - getSegmentLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( + int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); - } else { + return segmentLabelAnnotations_.get(index); } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2113,70 +1788,48 @@ public Builder removeSegmentLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder(int index) { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( + int index) { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2186,38 +1839,27 @@ public Builder removeSegmentLabelAnnotations(int index) { return segmentLabelAnnotationsBuilder_; } - private java.util.List - shotLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList( - shotLabelAnnotations_); + shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -2225,16 +1867,12 @@ private void ensureShotLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2244,19 +1882,14 @@ public int getShotLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -2264,16 +1897,12 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabel } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2290,20 +1919,15 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -2314,19 +1938,14 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public Builder addShotLabelAnnotations( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2340,16 +1959,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2366,16 +1981,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -2389,20 +2000,15 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -2413,23 +2019,19 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -2437,16 +2039,12 @@ public Builder addAllShotLabelAnnotations( return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2459,16 +2057,12 @@ public Builder clearShotLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -2481,56 +2075,42 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - getShotLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( + int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); - } else { + return shotLabelAnnotations_.get(index); } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2538,70 +2118,48 @@ public Builder removeShotLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder(int index) { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( + int index) { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2611,38 +2169,27 @@ public Builder removeShotLabelAnnotations(int index) { return shotLabelAnnotationsBuilder_; } - private java.util.List - frameLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List frameLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList( - frameLabelAnnotations_); + frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2650,16 +2197,12 @@ private void ensureFrameLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2669,19 +2212,14 @@ public int getFrameLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2689,16 +2227,12 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabe } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2715,20 +2249,15 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2739,19 +2268,14 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public Builder addFrameLabelAnnotations( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2765,16 +2289,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2791,16 +2311,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -2814,20 +2330,15 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2838,23 +2349,19 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2862,16 +2369,12 @@ public Builder addAllFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2884,16 +2387,12 @@ public Builder clearFrameLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2906,56 +2405,42 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - getFrameLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( + int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); - } else { + return frameLabelAnnotations_.get(index); } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2963,70 +2448,48 @@ public Builder removeFrameLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder(int index) { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( + int index) { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -3036,36 +2499,26 @@ public Builder removeFrameLabelAnnotations(int index) { return frameLabelAnnotationsBuilder_; } - private java.util.List - shotAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = - new java.util.ArrayList( - shotAnnotations_); + shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -3073,14 +2526,11 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -3090,14 +2540,11 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -3107,14 +2554,11 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotati } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { @@ -3131,18 +2575,14 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -3153,17 +2593,13 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public Builder addShotAnnotations( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { + public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3177,14 +2613,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { @@ -3201,14 +2634,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { @@ -3222,18 +2652,14 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -3244,21 +2670,18 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder addAllShotAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -3266,14 +2689,11 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -3286,14 +2706,11 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -3306,50 +2723,39 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder - getShotAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getShotAnnotationsBuilder( + int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3357,64 +2763,45 @@ public Builder removeShotAnnotations(int index) { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder - addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder - addShotAnnotationsBuilder(int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addShotAnnotationsBuilder( + int index) { + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3424,66 +2811,43 @@ public Builder removeShotAnnotations(int index) { return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3497,19 +2861,14 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -3520,25 +2879,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -3550,15 +2901,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -3572,105 +2919,75 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List - textAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List textAnnotations_ = + java.util.Collections.emptyList(); private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - textAnnotations_ = - new java.util.ArrayList( - textAnnotations_); + textAnnotations_ = new java.util.ArrayList(textAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> - textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> textAnnotationsBuilder_; /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsList() { + public java.util.List getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -3678,17 +2995,13 @@ private void ensureTextAnnotationsIsMutable() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -3698,20 +3011,15 @@ public int getTextAnnotationsCount() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { return textAnnotations_.get(index); } else { @@ -3719,17 +3027,13 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnota } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { @@ -3746,21 +3050,16 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.set(index, builderForValue.build()); @@ -3771,20 +3070,15 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public Builder addTextAnnotations( - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { + public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3798,17 +3092,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { @@ -3825,17 +3115,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { @@ -3849,21 +3135,16 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.add(index, builderForValue.build()); @@ -3874,24 +3155,20 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder addAllTextAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -3899,17 +3176,13 @@ public Builder addAllTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -3922,17 +3195,13 @@ public Builder clearTextAnnotations() { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -3945,59 +3214,45 @@ public Builder removeTextAnnotations(int index) { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder - getTextAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder getTextAnnotationsBuilder( + int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder - getTextAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( + int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); - } else { + return textAnnotations_.get(index); } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> - getTextAnnotationsOrBuilderList() { + public java.util.List + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4005,73 +3260,51 @@ public Builder removeTextAnnotations(int index) { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder - addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder - addTextAnnotationsBuilder(int index) { - return getTextAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder addTextAnnotationsBuilder( + int index) { + return getTextAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -4081,38 +3314,26 @@ public Builder removeTextAnnotations(int index) { return textAnnotationsBuilder_; } - private java.util.List - objectAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List objectAnnotations_ = + java.util.Collections.emptyList(); private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation>( - objectAnnotations_); + objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> - objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -4120,15 +3341,11 @@ private void ensureObjectAnnotationsIsMutable() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -4138,18 +3355,13 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -4157,15 +3369,11 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { @@ -4182,20 +3390,14 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -4206,18 +3408,13 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4231,15 +3428,11 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { @@ -4256,19 +3449,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -4279,20 +3467,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -4303,23 +3485,18 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addAllObjectAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation> - values) { + java.lang.Iterable values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -4327,15 +3504,11 @@ public Builder addAllObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -4348,15 +3521,11 @@ public Builder clearObjectAnnotations() { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -4369,54 +3538,39 @@ public Builder removeObjectAnnotations(int index) { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - getObjectAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( + int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); - } else { + return objectAnnotations_.get(index); } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> - getObjectAnnotationsOrBuilderList() { + public java.util.List + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4424,70 +3578,45 @@ public Builder removeObjectAnnotations(int index) { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder(int index) { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( + int index) { + return getObjectAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder> - getObjectAnnotationsBuilderList() { + public java.util.List + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -4499,33 +3628,26 @@ public Builder removeObjectAnnotations(int index) { 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_; /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -4536,8 +3658,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4559,8 +3679,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4568,7 +3686,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -4579,8 +3698,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4591,7 +3708,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;
         }
@@ -4603,8 +3721,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4624,8 +3740,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4634,13 +3748,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4652,12 +3764,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -4666,21 +3777,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -4690,32 +3801,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationResults parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationResults(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationResults parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationResults(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4727,8 +3836,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
similarity index 64%
rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
index 3105e9df7..387e0ba67 100644
--- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,528 +1,371 @@
-/*
- * 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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
-public interface VideoAnnotationResultsOrBuilder
-    extends
+public interface VideoAnnotationResultsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ int getSegmentLabelAnnotationsCount(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ int getShotLabelAnnotationsCount(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ int getFrameLabelAnnotationsCount(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - java.util.List + java.util.List getTextAnnotationsList(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ int getTextAnnotationsCount(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ - java.util.List + java.util.List getTextAnnotationsOrBuilderList(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; */ com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( int index); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List + java.util.List getObjectAnnotationsList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ int getObjectAnnotationsCount(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + java.util.List getObjectAnnotationsOrBuilderList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; */ - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
similarity index 63%
rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
index bd203997b..fc4f7eebf 100644
--- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
 /**
- *
- *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoContext} */ -public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoContext) VideoContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,101 +54,74 @@ private VideoContext( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); } - case 18: - { - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder subBuilder = - null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder - subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); - } - shotChangeDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder - subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 66: { + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder subBuilder = null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); } - case 66: - { - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder subBuilder = - null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); - } - textDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = 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) { @@ -173,7 +129,8 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -182,27 +139,22 @@ private VideoContext( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -212,13 +164,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getSegmentsList() {
+  public java.util.List getSegmentsList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -228,14 +177,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -249,8 +195,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -264,8 +208,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -283,16 +225,11 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -300,56 +237,37 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - getLabelDetectionConfig() { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig() { + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -357,57 +275,37 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -415,55 +313,37 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig textDetectionConfig_; /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -471,41 +351,30 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -517,7 +386,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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -543,24 +413,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getShotChangeDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getExplicitContentDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExplicitContentDetectionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTextDetectionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -570,33 +440,34 @@ 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.videointelligence.v1p2beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.VideoContext other = - (com.google.cloud.videointelligence.v1p2beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p2beta1.VideoContext other = (com.google.cloud.videointelligence.v1p2beta1.VideoContext) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) - return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig() + .equals(other.getTextDetectionConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -635,127 +506,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.VideoContext 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; } /** - * - * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoContext} */ - 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.videointelligence.v1p2beta1.VideoContext) com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder() @@ -763,17 +624,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) { getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -811,9 +672,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override @@ -832,8 +693,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoContext result = - new com.google.cloud.videointelligence.v1p2beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p2beta1.VideoContext result = new com.google.cloud.videointelligence.v1p2beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -872,39 +732,38 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoContext) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoContext)other); } else { super.mergeFrom(other); return this; @@ -912,8 +771,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -932,10 +790,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -972,8 +829,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -982,30 +838,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1014,8 +861,7 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsList() {
+    public java.util.List getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1023,8 +869,6 @@ private void ensureSegmentsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1041,8 +885,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1059,8 +901,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1084,8 +924,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1095,8 +933,7 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1107,8 +944,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1131,8 +966,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.VideoSeg
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1156,8 +989,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1178,8 +1009,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1189,8 +1018,7 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1201,8 +1029,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1212,11 +1038,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1224,8 +1050,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1245,8 +1069,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1266,8 +1088,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1281,8 +1101,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1294,14 +1112,11 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1310,9 +1125,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1320,8 +1134,6 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1331,13 +1143,10 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1348,14 +1157,10 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1364,23 +1169,20 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1388,62 +1190,41 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig,
-            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>
-        labelDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1457,15 +1238,11 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1479,25 +1256,17 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder( - labelDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1509,15 +1278,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1531,131 +1296,90 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), getParentForChildren(), isClean()); + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), + getParentForChildren(), + isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> - shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1669,19 +1393,14 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1692,25 +1411,17 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder( - shotChangeDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1722,15 +1433,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1744,133 +1451,90 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), getParentForChildren(), isClean()); + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), + getParentForChildren(), + isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null - || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1884,19 +1548,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1907,25 +1566,17 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .newBuilder(explicitContentDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1937,15 +1588,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1959,68 +1606,48 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder - getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1 - .ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), + getParentForChildren(), + isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -2028,62 +1655,41 @@ public Builder clearExplicitContentDetectionConfig() { private com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> - textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig - getTextDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ - public Builder setTextDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { + public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2097,15 +1703,11 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder builderForValue) { @@ -2119,25 +1721,17 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ - public Builder mergeTextDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder( - textDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); } else { textDetectionConfig_ = value; } @@ -2149,15 +1743,11 @@ public Builder mergeTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -2171,73 +1761,55 @@ public Builder clearTextDetectionConfig() { return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder - getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), getParentForChildren(), isClean()); + textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), + getParentForChildren(), + isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; } - @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); } @@ -2247,12 +1819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p2beta1.VideoContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoContext(); } @@ -2261,16 +1833,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2285,4 +1857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java index 763696f8d..3f50acd71 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface VideoContextOrBuilder - extends +public interface VideoContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -34,10 +16,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -48,8 +29,6 @@ public interface VideoContextOrBuilder
    */
   com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -60,8 +39,6 @@ public interface VideoContextOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -70,11 +47,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -87,169 +62,110 @@ com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; */ - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; */ - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..a8b5a0385 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,475 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p2bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p2beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p2beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p2beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\366\003\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p2beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p2beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p2beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p2beta1.ExplicitContentDetection" + + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + + "google.cloud.videointelligence.v1p2beta1" + + ".TextDetectionConfig\"\234\001\n\024LabelDetectionC" + + "onfig\022Z\n\024label_detection_mode\030\001 \001(\0162<.go" + + "ogle.cloud.videointelligence.v1p2beta1.L" + + "abelDetectionMode\022\031\n\021stationary_camera\030\002" + + " \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotChangeDetecti" + + "onConfig\022\r\n\005model\030\001 \001(\t\"/\n\036ExplicitConte" + + "ntDetectionConfig\022\r\n\005model\030\001 \001(\t\"-\n\023Text" + + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\"" + + "x\n\014VideoSegment\0224\n\021start_time_offset\030\001 \001" + + "(\0132\031.google.protobuf.Duration\0222\n\017end_tim" + + "e_offset\030\002 \001(\0132\031.google.protobuf.Duratio" + + "n\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\01326.goo" + + "gle.cloud.videointelligence.v1p2beta1.Vi" + + "deoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelF" + + "rame\022.\n\013time_offset\030\001 \001(\0132\031.google.proto" + + "buf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Enti" + + "ty\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 \001" + + "(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017LabelAnnot" + + "ation\022@\n\006entity\030\001 \001(\01320.google.cloud.vid" + + "eointelligence.v1p2beta1.Entity\022K\n\021categ" + + "ory_entities\030\002 \003(\01320.google.cloud.videoi" + + "ntelligence.v1p2beta1.Entity\022H\n\010segments" + + "\030\003 \003(\01326.google.cloud.videointelligence." + + "v1p2beta1.LabelSegment\022D\n\006frames\030\004 \003(\01324" + + ".google.cloud.videointelligence.v1p2beta" + + "1.LabelFrame\"\234\001\n\024ExplicitContentFrame\022.\n" + + "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" + + "ation\022T\n\026pornography_likelihood\030\002 \001(\01624." + + "google.cloud.videointelligence.v1p2beta1" + + ".Likelihood\"k\n\031ExplicitContentAnnotation" + + "\022N\n\006frames\030\001 \003(\0132>.google.cloud.videoint" + + "elligence.v1p2beta1.ExplicitContentFrame" + + "\"Q\n\025NormalizedBoundingBox\022\014\n\004left\030\001 \001(\002\022" + + "\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 " + + "\001(\002\"\313\005\n\026VideoAnnotationResults\022\021\n\tinput_" + + "uri\030\001 \001(\t\022\\\n\031segment_label_annotations\030\002" + + " \003(\01329.google.cloud.videointelligence.v1" + + "p2beta1.LabelAnnotation\022Y\n\026shot_label_an" + + "notations\030\003 \003(\01329.google.cloud.videointe" + + "lligence.v1p2beta1.LabelAnnotation\022Z\n\027fr" + + "ame_label_annotations\030\004 \003(\01329.google.clo" + + "ud.videointelligence.v1p2beta1.LabelAnno" + + "tation\022P\n\020shot_annotations\030\006 \003(\01326.googl" + + "e.cloud.videointelligence.v1p2beta1.Vide" + + "oSegment\022`\n\023explicit_annotation\030\007 \001(\0132C." + + "google.cloud.videointelligence.v1p2beta1" + + ".ExplicitContentAnnotation\022R\n\020text_annot" + + "ations\030\014 \003(\01328.google.cloud.videointelli" + + "gence.v1p2beta1.TextAnnotation\022^\n\022object" + + "_annotations\030\016 \003(\0132B.google.cloud.videoi" + + "ntelligence.v1p2beta1.ObjectTrackingAnno" + + "tation\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu" + + "s\"u\n\025AnnotateVideoResponse\022\\\n\022annotation" + + "_results\030\001 \003(\0132@.google.cloud.videointel" + + "ligence.v1p2beta1.VideoAnnotationResults" + + "\"\247\001\n\027VideoAnnotationProgress\022\021\n\tinput_ur" + + "i\030\001 \001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nsta" + + "rt_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\"w\n\025AnnotateVideoProgress\022^\n\023a" + + "nnotation_progress\030\001 \003(\0132A.google.cloud." + + "videointelligence.v1p2beta1.VideoAnnotat" + + "ionProgress\"(\n\020NormalizedVertex\022\t\n\001x\030\001 \001" + + "(\002\022\t\n\001y\030\002 \001(\002\"f\n\026NormalizedBoundingPoly\022" + + "L\n\010vertices\030\001 \003(\0132:.google.cloud.videoin" + + "telligence.v1p2beta1.NormalizedVertex\"\257\001" + + "\n\013TextSegment\022G\n\007segment\030\001 \001(\01326.google." + + "cloud.videointelligence.v1p2beta1.VideoS" + + "egment\022\022\n\nconfidence\030\002 \001(\002\022C\n\006frames\030\003 \003" + + "(\01323.google.cloud.videointelligence.v1p2" + + "beta1.TextFrame\"\233\001\n\tTextFrame\022^\n\024rotated" + + "_bounding_box\030\001 \001(\0132@.google.cloud.video" + + "intelligence.v1p2beta1.NormalizedBoundin" + + "gPoly\022.\n\013time_offset\030\002 \001(\0132\031.google.prot" + + "obuf.Duration\"g\n\016TextAnnotation\022\014\n\004text\030" + + "\001 \001(\t\022G\n\010segments\030\002 \003(\01325.google.cloud.v" + + "ideointelligence.v1p2beta1.TextSegment\"\247" + + "\001\n\023ObjectTrackingFrame\022`\n\027normalized_bou" + + "nding_box\030\001 \001(\0132?.google.cloud.videointe" + + "lligence.v1p2beta1.NormalizedBoundingBox" + + "\022.\n\013time_offset\030\002 \001(\0132\031.google.protobuf." + + "Duration\"\254\002\n\030ObjectTrackingAnnotation\022I\n" + + "\007segment\030\003 \001(\01326.google.cloud.videointel" + + "ligence.v1p2beta1.VideoSegmentH\000\022\022\n\010trac" + + "k_id\030\005 \001(\003H\000\022@\n\006entity\030\001 \001(\01320.google.cl" + + "oud.videointelligence.v1p2beta1.Entity\022\022" + + "\n\nconfidence\030\004 \001(\002\022M\n\006frames\030\002 \003(\0132=.goo" + + "gle.cloud.videointelligence.v1p2beta1.Ob" + + "jectTrackingFrameB\014\n\ntrack_info*\233\001\n\007Feat" + + "ure\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DE" + + "TECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032" + + "EXPLICIT_CONTENT_DETECTION\020\003\022\022\n\016TEXT_DET" + + "ECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t*r\n\022LabelDe" + + "tectionMode\022$\n LABEL_DETECTION_MODE_UNSP" + + "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" + + "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikelihood\022" + + "\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLI" + + "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI" + + "KELY\020\004\022\017\n\013VERY_LIKELY\020\0052\316\002\n\030VideoIntelli" + + "genceService\022\333\001\n\rAnnotateVideo\022>.google." + + "cloud.videointelligence.v1p2beta1.Annota" + + "teVideoRequest\032\035.google.longrunning.Oper" + + "ation\"k\202\323\344\223\002\037\"\032/v1p2beta1/videos:annotat" + + "e:\001*\332A\022input_uri,features\312A.\n\025AnnotateVi" + + "deoResponse\022\025AnnotateVideoProgress\032T\312A v" + + "ideointelligence.googleapis.com\322A.https:" + + "//www.googleapis.com/auth/cloud-platform" + + "B\256\002\n,com.google.cloud.videointelligence." + + "v1p2beta1B\035VideoIntelligenceServiceProto" + + "P\001ZYgoogle.golang.org/genproto/googleapi" + + "s/cloud/videointelligence/v1p2beta1;vide" + + "ointelligence\252\002(Google.Cloud.VideoIntell" + + "igence.V1P2Beta1\312\002(Google\\Cloud\\VideoInt" + + "elligence\\V1p2beta1\352\002+Google::Cloud::Vid" + + "eoIntelligence::V1p2beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor, + new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "TextDetectionConfig", }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor, + new java.lang.String[] { "LanguageHints", }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor, + new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor, + new java.lang.String[] { "TimeOffset", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor, + new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor, + new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { "Frames", }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "ShotAnnotations", "ExplicitAnnotation", "TextAnnotations", "ObjectAnnotations", "Error", }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { "AnnotationResults", }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { "AnnotationProgress", }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor, + new java.lang.String[] { "X", "Y", }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { "Vertices", }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", "Frames", }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor, + new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor, + new java.lang.String[] { "Text", "Segments", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java index ceba9e2ce..2094b5d56 100644 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** - * - * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoSegment} */ -public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoSegment) VideoSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoSegment() {} + private VideoSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private VideoSegment( 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(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 18: - { - 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; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private VideoSegment( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -153,26 +128,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -188,15 +156,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -204,26 +169,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -237,7 +195,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,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());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.videointelligence.v1p2beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p2beta1.VideoSegment other =
-        (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p2beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) obj;
 
     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;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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;
   }
   /**
-   *
-   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoSegment} */ - 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.videointelligence.v1p2beta1.VideoSegment) com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder() @@ -448,15 +399,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(); @@ -476,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override @@ -497,8 +449,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment result = - new com.google.cloud.videointelligence.v1p2beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p2beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -517,39 +468,38 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment)other); } else { super.mergeFrom(other); return this; @@ -557,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -584,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,49 +545,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_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -661,8 +596,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -670,7 +603,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();
@@ -681,8 +615,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,9 +626,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;
         }
@@ -708,8 +638,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -729,8 +657,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -739,13 +665,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -757,14 +681,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -773,17 +694,14 @@ 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_;
@@ -791,49 +709,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_;
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -855,8 +760,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -864,7 +767,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -875,8 +779,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -888,9 +790,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;
         }
@@ -902,8 +802,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -923,8 +821,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -933,13 +829,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -951,14 +845,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -967,24 +858,21 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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> 
         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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -994,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p2beta1.VideoSegment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoSegment();
   }
@@ -1008,16 +896,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoSegment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoSegment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoSegment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoSegment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1032,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
index 957ea4781..673ec4f0c 100644
--- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
-public interface VideoSegmentOrBuilder
-    extends
+public interface VideoSegmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -62,34 +38,26 @@ public interface VideoSegmentOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
similarity index 100%
rename from proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..8dfbb2d43
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,47 @@
+/*
+ * 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.videointelligence.v1p2beta1.stub.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings;
+import java.time.Duration;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceStubSettings.Builder videoIntelligenceServiceSettingsBuilder =
+        VideoIntelligenceServiceStubSettings.newBuilder();
+    videoIntelligenceServiceSettingsBuilder
+        .annotateVideoSettings()
+        .setRetrySettings(
+            videoIntelligenceServiceSettingsBuilder
+                .annotateVideoSettings()
+                .getRetrySettings()
+                .toBuilder()
+                .setTotalTimeout(Duration.ofSeconds(30))
+                .build());
+    VideoIntelligenceServiceStubSettings videoIntelligenceServiceSettings =
+        videoIntelligenceServiceSettingsBuilder.build();
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java
new file mode 100644
index 000000000..3fe41cdfc
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java
@@ -0,0 +1,56 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_async]
+import com.google.api.core.ApiFuture;
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1p2beta1.Feature;
+import com.google.cloud.videointelligence.v1p2beta1.VideoContext;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.longrunning.Operation;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class AsyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    asyncAnnotateVideo();
+  }
+
+  public static void asyncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      ApiFuture future =
+          videoIntelligenceServiceClient.annotateVideoCallable().futureCall(request);
+      // Do something.
+      Operation response = future.get();
+    }
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_async]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java
new file mode 100644
index 000000000..433a7749c
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java
@@ -0,0 +1,57 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async]
+import com.google.api.gax.longrunning.OperationFuture;
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress;
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1p2beta1.Feature;
+import com.google.cloud.videointelligence.v1p2beta1.VideoContext;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class AsyncAnnotateVideoLRO {
+
+  public static void main(String[] args) throws Exception {
+    asyncAnnotateVideoLRO();
+  }
+
+  public static void asyncAnnotateVideoLRO() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      OperationFuture future =
+          videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request);
+      // Do something.
+      AnnotateVideoResponse response = future.get();
+    }
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..981e87b55
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,53 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest;
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1p2beta1.Feature;
+import com.google.cloud.videointelligence.v1p2beta1.VideoContext;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.protobuf.ByteString;
+import java.util.ArrayList;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      AnnotateVideoRequest request =
+          AnnotateVideoRequest.newBuilder()
+              .setInputUri("inputUri470706498")
+              .setInputContent(ByteString.EMPTY)
+              .addAllFeatures(new ArrayList())
+              .setVideoContext(VideoContext.newBuilder().build())
+              .setOutputUri("outputUri-2119300949")
+              .setLocationId("locationId1541836720")
+              .build();
+      AnnotateVideoResponse response =
+          videoIntelligenceServiceClient.annotateVideoAsync(request).get();
+    }
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java
new file mode 100644
index 000000000..88e048758
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java
@@ -0,0 +1,44 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync]
+import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse;
+import com.google.cloud.videointelligence.v1p2beta1.Feature;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import java.util.ArrayList;
+import java.util.List;
+
+public class SyncAnnotateVideoStringListfeature {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideoStringListfeature();
+  }
+
+  public static void syncAnnotateVideoStringListfeature() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    try (VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create()) {
+      String inputUri = "inputUri470706498";
+      List features = new ArrayList<>();
+      AnnotateVideoResponse response =
+          videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get();
+    }
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java
new file mode 100644
index 000000000..d554c1034
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java
@@ -0,0 +1,42 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync]
+import com.google.api.gax.core.FixedCredentialsProvider;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings;
+import com.google.cloud.videointelligence.v1p2beta1.myCredentials;
+
+public class SyncCreateSetCredentialsProvider {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetCredentialsProvider();
+  }
+
+  public static void syncCreateSetCredentialsProvider() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder()
+            .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+            .build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java
new file mode 100644
index 000000000..b99606c79
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java
@@ -0,0 +1,41 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync]
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings;
+
+public class SyncCreateSetCredentialsProvider1 {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetCredentialsProvider1();
+  }
+
+  public static void syncCreateSetCredentialsProvider1() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder()
+            .setTransportChannelProvider(
+                VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+            .build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java
new file mode 100644
index 000000000..1750f1c4b
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java
@@ -0,0 +1,39 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync]
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient;
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings;
+import com.google.cloud.videointelligence.v1p2beta1.myEndpoint;
+
+public class SyncCreateSetEndpoint {
+
+  public static void main(String[] args) throws Exception {
+    syncCreateSetEndpoint();
+  }
+
+  public static void syncCreateSetEndpoint() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        VideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+    VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+        VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync]
diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java
new file mode 100644
index 000000000..656af07ff
--- /dev/null
+++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java
@@ -0,0 +1,47 @@
+/*
+ * 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.videointelligence.v1p2beta1.samples;
+
+// [START videointelligence_v1p2beta1_generated_videointelligenceservicesettings_annotatevideo_sync]
+import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings;
+import java.time.Duration;
+
+public class SyncAnnotateVideo {
+
+  public static void main(String[] args) throws Exception {
+    syncAnnotateVideo();
+  }
+
+  public static void syncAnnotateVideo() throws Exception {
+    // This snippet has been automatically generated for illustrative purposes only.
+    // It may require modifications to work in your environment.
+    VideoIntelligenceServiceSettings.Builder videoIntelligenceServiceSettingsBuilder =
+        VideoIntelligenceServiceSettings.newBuilder();
+    videoIntelligenceServiceSettingsBuilder
+        .annotateVideoSettings()
+        .setRetrySettings(
+            videoIntelligenceServiceSettingsBuilder
+                .annotateVideoSettings()
+                .getRetrySettings()
+                .toBuilder()
+                .setTotalTimeout(Duration.ofSeconds(30))
+                .build());
+    VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+        videoIntelligenceServiceSettingsBuilder.build();
+  }
+}
+// [END videointelligence_v1p2beta1_generated_videointelligenceservicesettings_annotatevideo_sync]
diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
similarity index 88%
rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
index aff3ab87c..225a364ce 100644
--- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
+++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
@@ -55,13 +55,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. *
* @@ -98,6 +98,22 @@ * StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); * }
* + *

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.
+ * StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings =
+ *     StreamingVideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             StreamingVideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder()
+ *                 .build())
+ *         .build();
+ * StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient =
+ *     StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java similarity index 86% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java index 977058938..33ca03cbb 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java @@ -21,10 +21,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.StreamingCallSettings; +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.videointelligence.v1p3beta1.stub.StreamingVideoIntelligenceServiceStubSettings; @@ -39,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -106,11 +108,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return StreamingVideoIntelligenceServiceStubSettings.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 StreamingVideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return StreamingVideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return StreamingVideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -120,11 +129,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return StreamingVideoIntelligenceServiceStubSettings.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); @@ -163,6 +178,11 @@ private static Builder createDefault() { return new Builder(StreamingVideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public StreamingVideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((StreamingVideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java index 26e68645e..8207692ea 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java @@ -18,13 +18,13 @@ import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStub; import com.google.cloud.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; @@ -57,13 +57,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. *
* @@ -100,6 +100,21 @@ * VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); * }
* + *

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.
+ * VideoIntelligenceServiceSettings videoIntelligenceServiceSettings =
+ *     VideoIntelligenceServiceSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * VideoIntelligenceServiceClient videoIntelligenceServiceClient =
+ *     VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -107,7 +122,8 @@ public class VideoIntelligenceServiceClient implements BackgroundResource { private final VideoIntelligenceServiceSettings settings; private final VideoIntelligenceServiceStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of VideoIntelligenceServiceClient with default settings. */ public static final VideoIntelligenceServiceClient create() throws IOException { @@ -141,13 +157,17 @@ protected VideoIntelligenceServiceClient(VideoIntelligenceServiceSettings settin throws IOException { this.settings = settings; this.stub = ((VideoIntelligenceServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected VideoIntelligenceServiceClient(VideoIntelligenceServiceStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final VideoIntelligenceServiceSettings getSettings() { @@ -162,10 +182,18 @@ public VideoIntelligenceServiceStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Performs asynchronous video annotation. Progress and results can be retrieved through the diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java similarity index 87% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java index dcd6c626c..70ffcb49f 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java @@ -21,10 +21,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.OperationCallSettings; +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.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; @@ -40,10 +42,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -111,11 +113,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return VideoIntelligenceServiceStubSettings.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 VideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return VideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return VideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -125,11 +134,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return VideoIntelligenceServiceStubSettings.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); @@ -168,6 +183,11 @@ private static Builder createDefault() { return new Builder(VideoIntelligenceServiceStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(VideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); + } + public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((VideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..b20333714 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.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.videointelligence.v1p3beta1.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 StreamingVideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonStreamingVideoIntelligenceServiceCallableFactory + 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/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..b27378661 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java @@ -0,0 +1,136 @@ +/* + * 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.videointelligence.v1p3beta1.stub; + +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.HttpJsonStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the StreamingVideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonStreamingVideoIntelligenceServiceStub + extends StreamingVideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonStreamingVideoIntelligenceServiceStub create( + StreamingVideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonStreamingVideoIntelligenceServiceStub( + settings, ClientContext.create(settings)); + } + + public static final HttpJsonStreamingVideoIntelligenceServiceStub create( + ClientContext clientContext) throws IOException { + return new HttpJsonStreamingVideoIntelligenceServiceStub( + StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonStreamingVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonStreamingVideoIntelligenceServiceStub( + StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonStreamingVideoIntelligenceServiceStub, 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 HttpJsonStreamingVideoIntelligenceServiceStub( + StreamingVideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonStreamingVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonStreamingVideoIntelligenceServiceStub, 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 HttpJsonStreamingVideoIntelligenceServiceStub( + StreamingVideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + return methodDescriptors; + } + + @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/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java new file mode 100644 index 000000000..c55939040 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.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.videointelligence.v1p3beta1.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 VideoIntelligenceService service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceCallableFactory + 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/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java new file mode 100644 index 000000000..709fa6d17 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -0,0 +1,231 @@ +/* + * 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.videointelligence.v1p3beta1.stub; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; +import com.google.longrunning.Operation; +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 VideoIntelligenceService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(AnnotateVideoResponse.getDescriptor()) + .add(AnnotateVideoProgress.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + annotateVideoMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService/AnnotateVideo") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1p3beta1/videos:annotate", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("*", request.toBuilder().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AnnotateVideoRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable annotateVideoCallable; + private final OperationCallable< + AnnotateVideoRequest, AnnotateVideoResponse, AnnotateVideoProgress> + annotateVideoOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonVideoIntelligenceServiceStub create( + VideoIntelligenceServiceStubSettings settings) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonVideoIntelligenceServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonVideoIntelligenceServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonVideoIntelligenceServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonVideoIntelligenceServiceStub, 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 HttpJsonVideoIntelligenceServiceStub( + VideoIntelligenceServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings annotateVideoTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(annotateVideoMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.annotateVideoCallable = + callableFactory.createUnaryCallable( + annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext); + this.annotateVideoOperationCallable = + callableFactory.createOperationCallable( + annotateVideoTransportSettings, + settings.annotateVideoOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(annotateVideoMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable annotateVideoCallable() { + return annotateVideoCallable; + } + + @Override + public OperationCallable + annotateVideoOperationCallable() { + return annotateVideoOperationCallable; + } + + @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-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java similarity index 100% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java similarity index 81% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java index 69861f135..b4dc2875b 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java @@ -24,6 +24,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.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; @@ -50,10 +53,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -103,6 +106,11 @@ public StreamingVideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcStreamingVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonStreamingVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -135,18 +143,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", @@ -155,11 +170,32 @@ 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(StreamingVideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return StreamingVideoIntelligenceServiceStubSettings + .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); @@ -251,6 +287,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) { return builder; } diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java similarity index 93% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java index 1596d9490..cab498c0e 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java @@ -38,7 +38,11 @@ public abstract class VideoIntelligenceServiceStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 84% rename from google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java index b6089445f..ced1f3647 100644 --- a/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -25,6 +25,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +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.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -55,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 @@ -114,6 +117,11 @@ public VideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcVideoIntelligenceServiceStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonVideoIntelligenceServiceStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -146,18 +154,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(VideoIntelligenceServiceStubSettings.class)) @@ -165,11 +180,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(VideoIntelligenceServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return VideoIntelligenceServiceStubSettings.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); @@ -266,6 +300,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 .annotateVideoSettings() diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..a370b9311 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,70 @@ +/* + * 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.videointelligence.v1p3beta1; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.cloud.videointelligence.v1p3beta1.stub.HttpJsonStreamingVideoIntelligenceServiceStub; +import java.io.IOException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class StreamingVideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static StreamingVideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonStreamingVideoIntelligenceServiceStub.getMethodDescriptors(), + StreamingVideoIntelligenceServiceSettings.getDefaultEndpoint()); + StreamingVideoIntelligenceServiceSettings settings = + StreamingVideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + StreamingVideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = StreamingVideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void streamingAnnotateVideoUnsupportedMethodTest() throws Exception { + // The streamingAnnotateVideo() method is not supported in REST transport. + //This empty test is generated for technical reasons. + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java new file mode 100644 index 000000000..f6529d015 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java @@ -0,0 +1,127 @@ +/* + * 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.videointelligence.v1p3beta1; + +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.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.videointelligence.v1p3beta1.stub.HttpJsonVideoIntelligenceServiceStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +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 VideoIntelligenceServiceClientHttpJsonTest { + private static MockHttpService mockService; + private static VideoIntelligenceServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonVideoIntelligenceServiceStub.getMethodDescriptors(), + VideoIntelligenceServiceSettings.getDefaultEndpoint()); + VideoIntelligenceServiceSettings settings = + VideoIntelligenceServiceSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = VideoIntelligenceServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void annotateVideoTest() throws Exception { + AnnotateVideoResponse expectedResponse = + AnnotateVideoResponse.newBuilder() + .addAllAnnotationResults(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("annotateVideoTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + + AnnotateVideoResponse actualResponse = client.annotateVideoAsync(inputUri, features).get(); + 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 annotateVideoExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + client.annotateVideoAsync(inputUri, features).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java b/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java rename to owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java new file mode 100644 index 000000000..9b2beb0f3 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java @@ -0,0 +1,285 @@ +package com.google.cloud.videointelligence.v1p3beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Service that implements streaming Video Intelligence API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StreamingVideoIntelligenceServiceGrpc { + + private StreamingVideoIntelligenceServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StreamingAnnotateVideo", + requestType = com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, + responseType = com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod() { + io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod; + if ((getStreamingAnnotateVideoMethod = StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) == null) { + synchronized (StreamingVideoIntelligenceServiceGrpc.class) { + if ((getStreamingAnnotateVideoMethod = StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) == null) { + StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod = getStreamingAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingAnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance())) + .setSchemaDescriptor(new StreamingVideoIntelligenceServiceMethodDescriptorSupplier("StreamingAnnotateVideo")) + .build(); + } + } + } + return getStreamingAnnotateVideoMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StreamingVideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static StreamingVideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static abstract class StreamingVideoIntelligenceServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Performs video annotation with bidirectional streaming: emitting results
+     * while sending video/audio bytes.
+     * This method is only available via the gRPC API (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver streamingAnnotateVideo( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getStreamingAnnotateVideoMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getStreamingAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>( + this, METHODID_STREAMING_ANNOTATE_VIDEO))) + .build(); + } + } + + /** + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private StreamingVideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceStub(channel, callOptions); + } + + /** + *
+     * Performs video annotation with bidirectional streaming: emitting results
+     * while sending video/audio bytes.
+     * This method is only available via the gRPC API (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver streamingAnnotateVideo( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getStreamingAnnotateVideoMethod(), getCallOptions()), responseObserver); + } + } + + /** + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private StreamingVideoIntelligenceServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); + } + } + + /** + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private StreamingVideoIntelligenceServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); + } + } + + private static final int METHODID_STREAMING_ANNOTATE_VIDEO = 0; + + 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 StreamingVideoIntelligenceServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(StreamingVideoIntelligenceServiceImplBase 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) { + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_STREAMING_ANNOTATE_VIDEO: + return (io.grpc.stub.StreamObserver) serviceImpl.streamingAnnotateVideo( + (io.grpc.stub.StreamObserver) responseObserver); + default: + throw new AssertionError(); + } + } + } + + private static abstract class StreamingVideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StreamingVideoIntelligenceServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StreamingVideoIntelligenceService"); + } + } + + private static final class StreamingVideoIntelligenceServiceFileDescriptorSupplier + extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier { + StreamingVideoIntelligenceServiceFileDescriptorSupplier() {} + } + + private static final class StreamingVideoIntelligenceServiceMethodDescriptorSupplier + extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StreamingVideoIntelligenceServiceMethodDescriptorSupplier(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 (StreamingVideoIntelligenceServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new StreamingVideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getStreamingAnnotateVideoMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java rename to owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java index b2d2557ff..d872d630c 100644 --- a/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java +++ b/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.videointelligence.v1p3beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Service that implements the Video Intelligence API.
  * 
@@ -32,110 +15,92 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = - "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, - com.google.longrunning.Operation> - getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { + io.grpc.MethodDescriptor getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) - == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = - getAnnotateVideoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static VideoIntelligenceServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -143,36 +108,32 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>( + this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -183,8 +144,6 @@ protected VideoIntelligenceServiceStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -192,25 +151,19 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, + public void annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -223,8 +176,6 @@ protected VideoIntelligenceServiceBlockingStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -232,22 +183,18 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** - * - * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -260,8 +207,6 @@ protected VideoIntelligenceServiceFutureStub build( } /** - * - * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -269,8 +214,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture annotateVideo( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -278,11 +223,11 @@ protected VideoIntelligenceServiceFutureStub build( private static final int METHODID_ANNOTATE_VIDEO = 0; - 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 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -296,8 +241,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo( - (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -316,15 +260,13 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor(); + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor(); } @java.lang.Override @@ -361,12 +303,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java index 33c64f8e8..0c88ae652 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationProgress_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationProgress_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationProgress_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationProgress_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -110,108 +89,80 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class,
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationProgress_;
+  private java.util.List annotationProgress_;
   /**
-   *
-   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> + public java.util.List getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index) { return annotationProgress_.get(index); } /** - * - * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p3beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other = - (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList() + .equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress - 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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; } /** - * - * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p3beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class,
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress result =
-          new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p3beta1.AnnotateVideoProgress) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationProgressFieldBuilder()
-                    : null;
+            annotationProgressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationProgressFieldBuilder() : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationProgress_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationProgress_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress>(
-                annotationProgress_);
+        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress,
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>
-        annotationProgressBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
 
     /**
-     *
-     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List - getAnnotationProgressList() { + public java.util.List getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationProgressIsMutable() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -658,15 +565,11 @@ public int getAnnotationProgressCount() { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { @@ -683,20 +586,14 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder setAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { @@ -757,19 +645,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAnnotationProgress( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder addAllAnnotationProgress( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress> - values) { + java.lang.Iterable values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationProgress( return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationProgress() { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationProgress(int index) { return this; } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - getAnnotationProgressBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( + int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); - } else { + return annotationProgress_.get(index); } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList() { + public java.util.List + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationProgress(int index) { } } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder - addAnnotationProgressBuilder(int index) { - return getAnnotationProgressFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( + int index) { + return getAnnotationProgressFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()); } /** - * - * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder> - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationProgress(int index) { } return annotationProgressBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..38d0d95e5 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface AnnotateVideoProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + */ + int getAnnotationProgressCount(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java index 4f8d81f7c..847370aae 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnnotateVideoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -47,15 +29,16 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,81 +58,72 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { + features_.add(rawValue); + break; + } + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); - break; } - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - features_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 26: { + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); - } - - break; + videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - outputUri_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: - { - inputContent_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputUri_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } + case 50: { + + inputContent_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -157,7 +131,8 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -166,27 +141,22 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -202,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -211,15 +180,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 video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -235,15 +203,16 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; - * * @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 { @@ -254,8 +223,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -263,7 +230,6 @@ public com.google.protobuf.ByteString getInputUriBytes() {
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -274,50 +240,34 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature> - features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature> features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>() { - public com.google.cloud.videointelligence.v1p3beta1.Feature convert( - java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p3beta1.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = - com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(from); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(from); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>(features_, features_converter_); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ @java.lang.Override @@ -325,16 +275,11 @@ public int getFeaturesCount() { return features_.size(); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -343,33 +288,24 @@ public com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return features_; } /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -377,20 +313,16 @@ public java.util.List getFeaturesValueList() { public int getFeaturesValue(int index) { return features_.get(index); } - private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p3beta1.VideoContext videoContext_; /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -398,25 +330,18 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext() { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; } /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -424,16 +349,13 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -445,7 +367,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ @java.lang.Override @@ -454,15 +375,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; } } /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -474,15 +394,16 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -493,8 +414,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -503,7 +422,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ @java.lang.Override @@ -512,15 +430,14 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -529,15 +446,16 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -546,7 +464,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,7 +475,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -597,17 +515,18 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -616,7 +535,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -626,23 +546,27 @@ 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.videointelligence.v1p3beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) obj; - if (!getInputUri().equals(other.getInputUri())) return false; - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputUri() + .equals(other.getInputUri())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext().equals(other.getVideoContext())) return false; + if (!getVideoContext() + .equals(other.getVideoContext())) return false; } - if (!getOutputUri().equals(other.getOutputUri())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getOutputUri() + .equals(other.getOutputUri())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -676,145 +600,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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; } /** - * - * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p3beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.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(); @@ -838,14 +751,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -860,8 +772,7 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest result = - new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -885,50 +796,46 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p3beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -976,9 +883,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -987,13 +892,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1009,13 +911,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; - * * @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; @@ -1024,8 +926,6 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1041,14 +941,15 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; - * * @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 { @@ -1056,8 +957,6 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1073,22 +972,20 @@ public com.google.protobuf.ByteString getInputUriBytes() {
      * 
* * string input_uri = 1; - * * @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 video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1104,18 +1001,15 @@ public Builder setInputUri(java.lang.String value) {
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1131,16 +1025,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; - * * @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; @@ -1148,8 +1042,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1157,7 +1049,6 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return The inputContent. */ @java.lang.Override @@ -1165,8 +1056,6 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1174,22 +1063,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** - * - * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1197,18 +1083,17 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; - * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = java.util.Collections.emptyList(); - + private java.util.List features_ = + java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1216,50 +1101,34 @@ private void ensureFeaturesIsMutable() { } } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>( - features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>(features_, features_converter_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ @@ -1267,16 +1136,11 @@ public com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1292,16 +1156,11 @@ public Builder setFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The features to add. * @return This builder for chaining. */ @@ -1315,16 +1174,11 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p3beta1.Feature return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The features to add. * @return This builder for chaining. */ @@ -1338,16 +1192,11 @@ public Builder addAllFeatures( return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1357,32 +1206,23 @@ public Builder clearFeatures() { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List getFeaturesValueList() { + public java.util.List + getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1390,37 +1230,28 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue(int index, int value) { + public Builder setFeaturesValue( + int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1431,20 +1262,16 @@ public Builder addFeaturesValue(int value) { return this; } /** - * - * *
      * Required. Requested video annotation features.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue(java.lang.Iterable values) { + public Builder addAllFeaturesValue( + java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1455,55 +1282,41 @@ public Builder addAllFeaturesValue(java.lang.Iterable values) private com.google.cloud.videointelligence.v1p3beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> - videoContextBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> videoContextBuilder_; /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public Builder setVideoContext( - com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { + public Builder setVideoContext(com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1517,8 +1330,6 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1537,22 +1348,17 @@ public Builder setVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext( - com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { + public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder(videoContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); } else { videoContext_ = value; } @@ -1564,8 +1370,6 @@ public Builder mergeVideoContext( return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1584,42 +1388,33 @@ public Builder clearVideoContext() { return this; } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder - getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder - getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() - : videoContext_; + return videoContext_ == null ? + com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; } } /** - * - * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1627,17 +1422,14 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder>( - getVideoContext(), getParentForChildren(), isClean()); + videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder>( + getVideoContext(), + getParentForChildren(), + isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1645,8 +1437,6 @@ public Builder clearVideoContext() { private java.lang.Object outputUri_ = ""; /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1658,13 +1448,13 @@ public Builder clearVideoContext() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1673,8 +1463,6 @@ public java.lang.String getOutputUri() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1686,14 +1474,15 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1701,8 +1490,6 @@ public com.google.protobuf.ByteString getOutputUriBytes() { } } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1714,22 +1501,20 @@ public com.google.protobuf.ByteString getOutputUriBytes() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1741,18 +1526,15 @@ public Builder setOutputUri(java.lang.String value) {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** - * - * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1764,16 +1546,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1781,8 +1563,6 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1791,13 +1571,13 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1806,8 +1586,6 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1816,14 +1594,15 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1831,8 +1610,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1841,22 +1618,20 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { + public Builder setLocationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1865,18 +1640,15 @@ public Builder setLocationId(java.lang.String value) {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** - * - * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1885,23 +1657,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1911,32 +1683,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1948,8 +1718,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java index 725f2fd07..c8779ecd3 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface AnnotateVideoRequestOrBuilder - extends +public interface AnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -41,13 +23,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -63,14 +42,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -78,111 +55,78 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 6; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the features. */ java.util.List getFeaturesList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of features. */ int getFeaturesCount(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int index); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for features. */ - java.util.List getFeaturesValueList(); + java.util.List + getFeaturesValueList(); /** - * - * *
    * Required. Requested video annotation features.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; - * * @return The videoContext. */ com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext(); /** - * - * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -192,8 +136,6 @@ public interface AnnotateVideoRequestOrBuilder com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -205,13 +147,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputUri. */ java.lang.String getOutputUri(); /** - * - * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -223,14 +162,12 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString getOutputUriBytes(); + com.google.protobuf.ByteString + getOutputUriBytes(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -239,13 +176,10 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -254,8 +188,8 @@ public interface AnnotateVideoRequestOrBuilder
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java index 95cd30451..01efcd2f0 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotationResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              annotationResults_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotationResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            annotationResults_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -110,108 +89,80 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List
-      annotationResults_;
+  private java.util.List annotationResults_;
   /**
-   *
-   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> + public java.util.List getAnnotationResultsOrBuilderList() { return annotationResults_; } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index) { return annotationResults_.get(index); } /** - * - * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { for (int i = 0; i < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -237,8 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,15 +200,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.videointelligence.v1p3beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList() + .equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse - 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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; } /** - * - * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -385,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p3beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,16 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -457,8 +395,7 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -477,51 +414,46 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p3beta1.AnnotateVideoResponse) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -540,10 +472,9 @@ public Builder mergeFrom(
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAnnotationResultsFieldBuilder()
-                    : null;
+            annotationResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAnnotationResultsFieldBuilder() : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -568,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -579,41 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        annotationResults_ = java.util.Collections.emptyList();
-
+    private java.util.List annotationResults_ =
+      java.util.Collections.emptyList();
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults>(
-                annotationResults_);
+        annotationResults_ = new java.util.ArrayList(annotationResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults,
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List - getAnnotationResultsList() { + public java.util.List getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -621,15 +537,11 @@ private void ensureAnnotationResultsIsMutable() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -639,18 +551,13 @@ public int getAnnotationResultsCount() { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -658,15 +565,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAn } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { @@ -683,20 +586,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder setAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -707,18 +604,13 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -732,15 +624,11 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { @@ -757,19 +645,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -780,20 +663,14 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAnnotationResults( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -804,23 +681,18 @@ public Builder addAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder addAllAnnotationResults( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults> - values) { + java.lang.Iterable values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -828,15 +700,11 @@ public Builder addAllAnnotationResults( return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -849,15 +717,11 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -870,53 +734,39 @@ public Builder removeAnnotationResults(int index) { return this; } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - getAnnotationResultsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( + int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); - } else { + return annotationResults_.get(index); } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList() { + public java.util.List + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -924,70 +774,45 @@ public Builder removeAnnotationResults(int index) { } } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder - addAnnotationResultsBuilder(int index) { - return getAnnotationResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( + int index) { + return getAnnotationResultsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()); } /** - * - * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder> - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -996,9 +821,9 @@ public Builder removeAnnotationResults(int index) { } return annotationResultsBuilder_; } - @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); } @@ -1008,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..da8110b02 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface AnnotateVideoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + */ + int getAnnotationResultsCount(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( + int index); +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java index 43b7f75f3..a54acab68 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Celebrity definition.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Celebrity} */ -public final class Celebrity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Celebrity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Celebrity) CelebrityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Celebrity.newBuilder() to construct. private Celebrity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Celebrity() { name_ = ""; displayName_ = ""; @@ -45,15 +27,16 @@ private Celebrity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Celebrity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Celebrity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Celebrity( 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(); - displayName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Celebrity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -142,7 +118,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -151,15 +126,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 celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -168,15 +142,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 { @@ -187,14 +162,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The celebrity name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -203,29 +175,29 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** - * - * *
    * The celebrity name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -236,15 +208,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -253,30 +222,30 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -285,7 +254,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -333,17 +302,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.videointelligence.v1p3beta1.Celebrity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Celebrity other = - (com.google.cloud.videointelligence.v1p3beta1.Celebrity) obj; + com.google.cloud.videointelligence.v1p3beta1.Celebrity other = (com.google.cloud.videointelligence.v1p3beta1.Celebrity) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,127 +338,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.Celebrity 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; } /** - * - * *
    * Celebrity definition.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Celebrity} */ - 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.videointelligence.v1p3beta1.Celebrity) com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder() @@ -495,15 +456,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(); @@ -517,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override @@ -538,8 +500,7 @@ public com.google.cloud.videointelligence.v1p3beta1.Celebrity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Celebrity buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Celebrity result = - new com.google.cloud.videointelligence.v1p3beta1.Celebrity(this); + com.google.cloud.videointelligence.v1p3beta1.Celebrity result = new com.google.cloud.videointelligence.v1p3beta1.Celebrity(this); result.name_ = name_; result.displayName_ = displayName_; result.description_ = description_; @@ -551,39 +512,38 @@ public com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Celebrity) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Celebrity)other); } else { super.mergeFrom(other); return this; @@ -591,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Celebrity other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -624,8 +583,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.Celebrity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Celebrity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,8 +595,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -647,13 +603,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; @@ -662,8 +618,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -672,14 +626,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 { @@ -687,8 +642,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -697,22 +650,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 celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -721,18 +672,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 celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -741,16 +689,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; @@ -758,20 +706,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The celebrity name.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -780,21 +726,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The celebrity name.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -802,61 +747,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The celebrity name.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The celebrity name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The celebrity name.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -864,21 +802,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -887,22 +823,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -910,71 +845,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -984,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Celebrity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Celebrity) private static final com.google.cloud.videointelligence.v1p3beta1.Celebrity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Celebrity(); } @@ -998,16 +926,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Celebrity getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Celebrity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Celebrity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Celebrity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Celebrity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,4 +950,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Celebrity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java index 2949058b7..ee1a0f2f7 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityOrBuilder - extends +public interface CelebrityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Celebrity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -34,13 +16,10 @@ public interface CelebrityOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -49,60 +28,50 @@ public interface CelebrityOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The celebrity name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The celebrity name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java index 814ba2e0d..e8e0b7bd8 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java @@ -1,58 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Celebrity recognition annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation} */ -public final class CelebrityRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CelebrityRecognitionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) CelebrityRecognitionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CelebrityRecognitionAnnotation.newBuilder() to construct. - private CelebrityRecognitionAnnotation( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CelebrityRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CelebrityRecognitionAnnotation() { celebrityTracks_ = 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 CelebrityRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CelebrityRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,22 @@ private CelebrityRecognitionAnnotation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - celebrityTracks_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack>(); - mutable_bitField0_ |= 0x00000001; - } - celebrityTracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + celebrityTracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + celebrityTracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +77,8 @@ private CelebrityRecognitionAnnotation( } 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)) { celebrityTracks_ = java.util.Collections.unmodifiableList(celebrityTracks_); @@ -109,108 +87,85 @@ private CelebrityRecognitionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder.class); } public static final int CELEBRITY_TRACKS_FIELD_NUMBER = 1; - private java.util.List - celebrityTracks_; + private java.util.List celebrityTracks_; /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ @java.lang.Override - public java.util.List - getCelebrityTracksList() { + public java.util.List getCelebrityTracksList() { return celebrityTracks_; } /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> + public java.util.List getCelebrityTracksOrBuilderList() { return celebrityTracks_; } /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ @java.lang.Override public int getCelebrityTracksCount() { return celebrityTracks_.size(); } /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index) { return celebrityTracks_.get(index); } /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder - getCelebrityTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( + int index) { return celebrityTracks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +177,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 < celebrityTracks_.size(); i++) { output.writeMessage(1, celebrityTracks_.get(i)); } @@ -236,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < celebrityTracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, celebrityTracks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, celebrityTracks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -246,16 +203,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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) obj; - if (!getCelebrityTracksList().equals(other.getCelebrityTracksList())) return false; + if (!getCelebrityTracksList() + .equals(other.getCelebrityTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -276,154 +232,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation 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; } /** - * - * *
    * Celebrity recognition annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation} */ - 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.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) { getCelebrityTracksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +375,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -460,10 +395,8 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotati } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(this); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (celebrityTracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -482,52 +415,46 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotati 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance()) return this; if (celebrityTracksBuilder_ == null) { if (!other.celebrityTracks_.isEmpty()) { if (celebrityTracks_.isEmpty()) { @@ -546,10 +473,9 @@ public Builder mergeFrom( celebrityTracksBuilder_ = null; celebrityTracks_ = other.celebrityTracks_; bitField0_ = (bitField0_ & ~0x00000001); - celebrityTracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCelebrityTracksFieldBuilder() - : null; + celebrityTracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCelebrityTracksFieldBuilder() : null; } else { celebrityTracksBuilder_.addAllMessages(other.celebrityTracks_); } @@ -570,14 +496,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parsedMessage = - null; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -586,40 +509,29 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - celebrityTracks_ = java.util.Collections.emptyList(); - + private java.util.List celebrityTracks_ = + java.util.Collections.emptyList(); private void ensureCelebrityTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - celebrityTracks_ = - new java.util.ArrayList( - celebrityTracks_); + celebrityTracks_ = new java.util.ArrayList(celebrityTracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> - celebrityTracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> celebrityTracksBuilder_; /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public java.util.List - getCelebrityTracksList() { + public java.util.List getCelebrityTracksList() { if (celebrityTracksBuilder_ == null) { return java.util.Collections.unmodifiableList(celebrityTracks_); } else { @@ -627,15 +539,12 @@ private void ensureCelebrityTracksIsMutable() { } } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public int getCelebrityTracksCount() { if (celebrityTracksBuilder_ == null) { @@ -645,18 +554,14 @@ public int getCelebrityTracksCount() { } } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index) { if (celebrityTracksBuilder_ == null) { return celebrityTracks_.get(index); } else { @@ -664,15 +569,12 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityT } } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder setCelebrityTracks( int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { @@ -689,19 +591,15 @@ public Builder setCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder setCelebrityTracks( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); celebrityTracks_.set(index, builderForValue.build()); @@ -712,18 +610,14 @@ public Builder setCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public Builder addCelebrityTracks( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { + public Builder addCelebrityTracks(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { if (celebrityTracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -737,15 +631,12 @@ public Builder addCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder addCelebrityTracks( int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { @@ -762,15 +653,12 @@ public Builder addCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder addCelebrityTracks( com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { @@ -784,19 +672,15 @@ public Builder addCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder addCelebrityTracks( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); celebrityTracks_.add(index, builderForValue.build()); @@ -807,22 +691,19 @@ public Builder addCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder addAllCelebrityTracks( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, celebrityTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, celebrityTracks_); onChanged(); } else { celebrityTracksBuilder_.addAllMessages(values); @@ -830,15 +711,12 @@ public Builder addAllCelebrityTracks( return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder clearCelebrityTracks() { if (celebrityTracksBuilder_ == null) { @@ -851,15 +729,12 @@ public Builder clearCelebrityTracks() { return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ public Builder removeCelebrityTracks(int index) { if (celebrityTracksBuilder_ == null) { @@ -872,53 +747,42 @@ public Builder removeCelebrityTracks(int index) { return this; } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder - getCelebrityTracksBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder getCelebrityTracksBuilder( + int index) { return getCelebrityTracksFieldBuilder().getBuilder(index); } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder - getCelebrityTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( + int index) { if (celebrityTracksBuilder_ == null) { - return celebrityTracks_.get(index); - } else { + return celebrityTracks_.get(index); } else { return celebrityTracksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> - getCelebrityTracksOrBuilderList() { + public java.util.List + getCelebrityTracksOrBuilderList() { if (celebrityTracksBuilder_ != null) { return celebrityTracksBuilder_.getMessageOrBuilderList(); } else { @@ -926,67 +790,48 @@ public Builder removeCelebrityTracks(int index) { } } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder - addCelebrityTracksBuilder() { - return getCelebrityTracksFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder addCelebrityTracksBuilder() { + return getCelebrityTracksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder - addCelebrityTracksBuilder(int index) { - return getCelebrityTracksFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder addCelebrityTracksBuilder( + int index) { + return getCelebrityTracksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); } /** - * - * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - public java.util.List - getCelebrityTracksBuilderList() { + public java.util.List + getCelebrityTracksBuilderList() { return getCelebrityTracksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> getCelebrityTracksFieldBuilder() { if (celebrityTracksBuilder_ == null) { - celebrityTracksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder>( + celebrityTracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder>( celebrityTracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -995,9 +840,9 @@ public Builder removeCelebrityTracks(int index) { } return celebrityTracksBuilder_; } - @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); } @@ -1007,33 +852,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CelebrityRecognitionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CelebrityRecognitionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CelebrityRecognitionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CelebrityRecognitionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +887,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java index f2a0a53fa..5e342c410 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java @@ -1,88 +1,57 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityRecognitionAnnotationOrBuilder - extends +public interface CelebrityRecognitionAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - java.util.List + java.util.List getCelebrityTracksList(); /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index); /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ int getCelebrityTracksCount(); /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ - java.util.List + java.util.List getCelebrityTracksOrBuilderList(); /** - * - * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; */ com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( int index); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java index f5bca4fcc..59b114908 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * The annotation result of a celebrity face track. RecognizedCelebrity field
  * could be empty if the face track does not have any matched celebrities.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack}
  */
-public final class CelebrityTrack extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CelebrityTrack extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityTrack)
     CelebrityTrackOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CelebrityTrack.newBuilder() to construct.
   private CelebrityTrack(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CelebrityTrack() {
     celebrities_ = 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 CelebrityTrack();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CelebrityTrack(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,46 +55,35 @@ private CelebrityTrack(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                celebrities_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
-                            .RecognizedCelebrity>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              celebrities_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
-                          .RecognizedCelebrity.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              celebrities_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.Track.Builder subBuilder = null;
-              if (faceTrack_ != null) {
-                subBuilder = faceTrack_.toBuilder();
-              }
-              faceTrack_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.Track.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(faceTrack_);
-                faceTrack_ = subBuilder.buildPartial();
-              }
-
-              break;
+            celebrities_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            com.google.cloud.videointelligence.v1p3beta1.Track.Builder subBuilder = null;
+            if (faceTrack_ != null) {
+              subBuilder = faceTrack_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            faceTrack_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(faceTrack_);
+              faceTrack_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -119,7 +91,8 @@ private CelebrityTrack(
     } 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)) {
         celebrities_ = java.util.Collections.unmodifiableList(celebrities_);
@@ -128,54 +101,42 @@ private CelebrityTrack(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class,
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
   }
 
-  public interface RecognizedCelebrityOrBuilder
-      extends
+  public interface RecognizedCelebrityOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return Whether the celebrity field is set. */ boolean hasCelebrity(); /** - * - * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return The celebrity. */ com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity(); /** - * - * *
      * The recognized celebrity.
      * 
@@ -185,51 +146,46 @@ public interface RecognizedCelebrityOrBuilder com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebrityOrBuilder(); /** - * - * *
      * Recognition confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); } /** - * - * *
    * The recognized celebrity with confidence score.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} */ - public static final class RecognizedCelebrity extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RecognizedCelebrity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) RecognizedCelebrityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecognizedCelebrity.newBuilder() to construct. private RecognizedCelebrity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RecognizedCelebrity() {} + private RecognizedCelebrity() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecognizedCelebrity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RecognizedCelebrity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -248,35 +204,31 @@ private RecognizedCelebrity( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder subBuilder = null; - if (celebrity_ != null) { - subBuilder = celebrity_.toBuilder(); - } - celebrity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Celebrity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(celebrity_); - celebrity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder subBuilder = null; + if (celebrity_ != null) { + subBuilder = celebrity_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + celebrity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Celebrity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(celebrity_); + celebrity_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -284,40 +236,34 @@ private RecognizedCelebrity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder.class); } public static final int CELEBRITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity_; /** - * - * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return Whether the celebrity field is set. */ @java.lang.Override @@ -325,25 +271,18 @@ public boolean hasCelebrity() { return celebrity_ != null; } /** - * - * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return The celebrity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity() { - return celebrity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() - : celebrity_; + return celebrity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; } /** - * - * *
      * The recognized celebrity.
      * 
@@ -358,14 +297,11 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebr public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
      * Recognition confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -374,7 +310,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +321,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 (celebrity_ != null) { output.writeMessage(1, getCelebrity()); } @@ -403,10 +339,12 @@ public int getSerializedSize() { size = 0; if (celebrity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCelebrity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCelebrity()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -416,22 +354,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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other = - (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) obj; if (hasCelebrity() != other.hasCelebrity()) return false; if (hasCelebrity()) { - if (!getCelebrity().equals(other.getCelebrity())) return false; + if (!getCelebrity() + .equals(other.getCelebrity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,107 +385,95 @@ public int hashCode() { hash = (53 * hash) + getCelebrity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity 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 @@ -558,52 +483,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The recognized celebrity with confidence score.
      * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} */ - 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .class, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.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(); @@ -619,23 +536,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - build() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = - buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity build() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -643,11 +556,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = - new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity( - this); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(this); if (celebrityBuilder_ == null) { result.celebrity_ = celebrity_; } else { @@ -662,56 +572,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()) return this; if (other.hasCelebrity()) { mergeCelebrity(other.getCelebrity()); } @@ -733,14 +633,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,47 +649,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> - celebrityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> celebrityBuilder_; /** - * - * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return Whether the celebrity field is set. */ public boolean hasCelebrity() { return celebrityBuilder_ != null || celebrity_ != null; } /** - * - * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; - * * @return The celebrity. */ public com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity() { if (celebrityBuilder_ == null) { - return celebrity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() - : celebrity_; + return celebrity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; } else { return celebrityBuilder_.getMessage(); } } /** - * - * *
        * The recognized celebrity.
        * 
@@ -813,8 +697,6 @@ public Builder setCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celebri return this; } /** - * - * *
        * The recognized celebrity.
        * 
@@ -833,8 +715,6 @@ public Builder setCelebrity( return this; } /** - * - * *
        * The recognized celebrity.
        * 
@@ -845,9 +725,7 @@ public Builder mergeCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celeb if (celebrityBuilder_ == null) { if (celebrity_ != null) { celebrity_ = - com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder(celebrity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder(celebrity_).mergeFrom(value).buildPartial(); } else { celebrity_ = value; } @@ -859,8 +737,6 @@ public Builder mergeCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celeb return this; } /** - * - * *
        * The recognized celebrity.
        * 
@@ -879,8 +755,6 @@ public Builder clearCelebrity() { return this; } /** - * - * *
        * The recognized celebrity.
        * 
@@ -888,32 +762,26 @@ public Builder clearCelebrity() { * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder getCelebrityBuilder() { - + onChanged(); return getCelebrityFieldBuilder().getBuilder(); } /** - * - * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder - getCelebrityOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebrityOrBuilder() { if (celebrityBuilder_ != null) { return celebrityBuilder_.getMessageOrBuilder(); } else { - return celebrity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() - : celebrity_; + return celebrity_ == null ? + com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; } } /** - * - * *
        * The recognized celebrity.
        * 
@@ -921,32 +789,26 @@ public com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder getCelebri * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> getCelebrityFieldBuilder() { if (celebrityBuilder_ == null) { - celebrityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder>( - getCelebrity(), getParentForChildren(), isClean()); + celebrityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder>( + getCelebrity(), + getParentForChildren(), + isClean()); celebrity_ = null; } return celebrityBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -954,41 +816,34 @@ public float getConfidence() { return confidence_; } /** - * - * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1001,34 +856,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) - private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrity - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecognizedCelebrity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognizedCelebrity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecognizedCelebrity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecognizedCelebrity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,111 +891,80 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CELEBRITIES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> - celebrities_; + private java.util.List celebrities_; /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> - getCelebritiesList() { + public java.util.List getCelebritiesList() { return celebrities_; } /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrityOrBuilder> + public java.util.List getCelebritiesOrBuilderList() { return celebrities_; } /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ @java.lang.Override public int getCelebritiesCount() { return celebrities_.size(); } /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - getCelebrities(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index) { return celebrities_.get(index); } /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder - getCelebritiesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( + int index) { return celebrities_.get(index); } public static final int FACE_TRACK_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p3beta1.Track faceTrack_; /** - * - * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return Whether the faceTrack field is set. */ @java.lang.Override @@ -1152,25 +972,18 @@ public boolean hasFaceTrack() { return faceTrack_ != null; } /** - * - * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return The faceTrack. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack() { - return faceTrack_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() - : faceTrack_; + return faceTrack_ == null ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; } /** - * - * *
    * A track of a person's face.
    * 
@@ -1183,7 +996,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1195,7 +1007,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 < celebrities_.size(); i++) { output.writeMessage(1, celebrities_.get(i)); } @@ -1212,10 +1025,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < celebrities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, celebrities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, celebrities_.get(i)); } if (faceTrack_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFaceTrack()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFaceTrack()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1225,18 +1040,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.videointelligence.v1p3beta1.CelebrityTrack)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other = - (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) obj; - if (!getCelebritiesList().equals(other.getCelebritiesList())) return false; + if (!getCelebritiesList() + .equals(other.getCelebritiesList())) return false; if (hasFaceTrack() != other.hasFaceTrack()) return false; if (hasFaceTrack()) { - if (!getFaceTrack().equals(other.getFaceTrack())) return false; + if (!getFaceTrack() + .equals(other.getFaceTrack())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1263,104 +1079,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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; } /** - * - * *
    * The annotation result of a celebrity face track. RecognizedCelebrity field
    * could be empty if the face track does not have any matched celebrities.
@@ -1368,23 +1176,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack}
    */
-  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.videointelligence.v1p3beta1.CelebrityTrack)
       com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class,
-              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.newBuilder()
@@ -1392,17 +1198,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) {
         getCelebritiesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1422,9 +1228,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
     }
 
     @java.lang.Override
@@ -1443,8 +1249,7 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack result =
-          new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(this);
+      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(this);
       int from_bitField0_ = bitField0_;
       if (celebritiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1468,39 +1273,38 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1508,8 +1312,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()) return this;
       if (celebritiesBuilder_ == null) {
         if (!other.celebrities_.isEmpty()) {
           if (celebrities_.isEmpty()) {
@@ -1528,10 +1331,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityT
             celebritiesBuilder_ = null;
             celebrities_ = other.celebrities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            celebritiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCelebritiesFieldBuilder()
-                    : null;
+            celebritiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCelebritiesFieldBuilder() : null;
           } else {
             celebritiesBuilder_.addAllMessages(other.celebrities_);
           }
@@ -1559,8 +1361,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1569,44 +1370,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List<
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity>
-        celebrities_ = java.util.Collections.emptyList();
-
+    private java.util.List celebrities_ =
+      java.util.Collections.emptyList();
     private void ensureCelebritiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        celebrities_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity>(
-                celebrities_);
+        celebrities_ = new java.util.ArrayList(celebrities_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity,
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
-                .RecognizedCelebrityOrBuilder>
-        celebritiesBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder> celebritiesBuilder_;
 
     /**
-     *
-     *
      * 
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> - getCelebritiesList() { + public java.util.List getCelebritiesList() { if (celebritiesBuilder_ == null) { return java.util.Collections.unmodifiableList(celebrities_); } else { @@ -1614,15 +1399,11 @@ private void ensureCelebritiesIsMutable() { } } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public int getCelebritiesCount() { if (celebritiesBuilder_ == null) { @@ -1632,18 +1413,13 @@ public int getCelebritiesCount() { } } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - getCelebrities(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index) { if (celebritiesBuilder_ == null) { return celebrities_.get(index); } else { @@ -1651,19 +1427,14 @@ public int getCelebritiesCount() { } } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder setCelebrities( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1677,20 +1448,14 @@ public Builder setCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder setCelebrities( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.set(index, builderForValue.build()); @@ -1701,18 +1466,13 @@ public Builder setCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public Builder addCelebrities( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + public Builder addCelebrities(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1726,19 +1486,14 @@ public Builder addCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder addCelebrities( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1752,19 +1507,14 @@ public Builder addCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder addCelebrities( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.add(builderForValue.build()); @@ -1775,20 +1525,14 @@ public Builder addCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder addCelebrities( - int index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.add(index, builderForValue.build()); @@ -1799,24 +1543,18 @@ public Builder addCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder addAllCelebrities( - java.lang.Iterable< - ? extends - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> - values) { + java.lang.Iterable values) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, celebrities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, celebrities_); onChanged(); } else { celebritiesBuilder_.addAllMessages(values); @@ -1824,15 +1562,11 @@ public Builder addAllCelebrities( return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder clearCelebrities() { if (celebritiesBuilder_ == null) { @@ -1845,15 +1579,11 @@ public Builder clearCelebrities() { return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ public Builder removeCelebrities(int index) { if (celebritiesBuilder_ == null) { @@ -1866,55 +1596,39 @@ public Builder removeCelebrities(int index) { return this; } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - getCelebritiesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder getCelebritiesBuilder( + int index) { return getCelebritiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder - getCelebritiesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( + int index) { if (celebritiesBuilder_ == null) { - return celebrities_.get(index); - } else { + return celebrities_.get(index); } else { return celebritiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrityOrBuilder> - getCelebritiesOrBuilderList() { + public java.util.List + getCelebritiesOrBuilderList() { if (celebritiesBuilder_ != null) { return celebritiesBuilder_.getMessageOrBuilderList(); } else { @@ -1922,74 +1636,49 @@ public Builder removeCelebrities(int index) { } } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - addCelebritiesBuilder() { - return getCelebritiesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder() { + return getCelebritiesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()); } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder - addCelebritiesBuilder(int index) { - return getCelebritiesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder( + int index) { + return getCelebritiesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()); } /** - * - * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder> - getCelebritiesBuilderList() { + public java.util.List + getCelebritiesBuilderList() { return getCelebritiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder> getCelebritiesFieldBuilder() { if (celebritiesBuilder_ == null) { - celebritiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity - .Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrityOrBuilder>( - celebrities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + celebritiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder>( + celebrities_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); celebrities_ = null; } return celebritiesBuilder_; @@ -1997,47 +1686,34 @@ public Builder removeCelebrities(int index) { private com.google.cloud.videointelligence.v1p3beta1.Track faceTrack_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> - faceTrackBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> faceTrackBuilder_; /** - * - * *
      * A track of a person's face.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return Whether the faceTrack field is set. */ public boolean hasFaceTrack() { return faceTrackBuilder_ != null || faceTrack_ != null; } /** - * - * *
      * A track of a person's face.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return The faceTrack. */ public com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack() { if (faceTrackBuilder_ == null) { - return faceTrack_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() - : faceTrack_; + return faceTrack_ == null ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; } else { return faceTrackBuilder_.getMessage(); } } /** - * - * *
      * A track of a person's face.
      * 
@@ -2058,8 +1734,6 @@ public Builder setFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track v return this; } /** - * - * *
      * A track of a person's face.
      * 
@@ -2078,8 +1752,6 @@ public Builder setFaceTrack( return this; } /** - * - * *
      * A track of a person's face.
      * 
@@ -2090,9 +1762,7 @@ public Builder mergeFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track if (faceTrackBuilder_ == null) { if (faceTrack_ != null) { faceTrack_ = - com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder(faceTrack_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder(faceTrack_).mergeFrom(value).buildPartial(); } else { faceTrack_ = value; } @@ -2104,8 +1774,6 @@ public Builder mergeFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track return this; } /** - * - * *
      * A track of a person's face.
      * 
@@ -2124,8 +1792,6 @@ public Builder clearFaceTrack() { return this; } /** - * - * *
      * A track of a person's face.
      * 
@@ -2133,13 +1799,11 @@ public Builder clearFaceTrack() { * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getFaceTrackBuilder() { - + onChanged(); return getFaceTrackFieldBuilder().getBuilder(); } /** - * - * *
      * A track of a person's face.
      * 
@@ -2150,14 +1814,11 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO if (faceTrackBuilder_ != null) { return faceTrackBuilder_.getMessageOrBuilder(); } else { - return faceTrack_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() - : faceTrack_; + return faceTrack_ == null ? + com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; } } /** - * - * *
      * A track of a person's face.
      * 
@@ -2165,24 +1826,21 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getFaceTrackFieldBuilder() { if (faceTrackBuilder_ == null) { - faceTrackBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - getFaceTrack(), getParentForChildren(), isClean()); + faceTrackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + getFaceTrack(), + getParentForChildren(), + isClean()); faceTrack_ = null; } return faceTrackBuilder_; } - @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); } @@ -2192,12 +1850,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(); } @@ -2206,16 +1864,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CelebrityTrack parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CelebrityTrack(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CelebrityTrack parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CelebrityTrack(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2230,4 +1888,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java similarity index 52% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java index 4a71b87bf..d785ed80e 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java @@ -1,123 +1,75 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityTrackOrBuilder - extends +public interface CelebrityTrackOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - java.util.List + java.util.List getCelebritiesList(); /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities( - int index); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index); /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ int getCelebritiesCount(); /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack - .RecognizedCelebrityOrBuilder> + java.util.List getCelebritiesOrBuilderList(); /** - * - * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder - getCelebritiesOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( + int index); /** - * - * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return Whether the faceTrack field is set. */ boolean hasFaceTrack(); /** - * - * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; - * * @return The faceTrack. */ com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack(); /** - * - * *
    * A track of a person's face.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java index cb666b81c..be3357b33 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * A generic detected attribute represented by name in string format.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedAttribute} */ -public final class DetectedAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DetectedAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) DetectedAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DetectedAttribute.newBuilder() to construct. private DetectedAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DetectedAttribute() { name_ = ""; value_ = ""; @@ -44,15 +26,16 @@ private DetectedAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DetectedAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DetectedAttribute( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private DetectedAttribute( 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 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 21: { - value_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + confidence_ = input.readFloat(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,40 +85,35 @@ private DetectedAttribute( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -146,30 +122,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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * 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 { @@ -180,14 +156,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -198,15 +171,12 @@ public float getConfidence() { public static final int VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object value_; /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The value. */ @java.lang.Override @@ -215,30 +185,30 @@ public java.lang.String getValue() { 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(); value_ = s; return s; } } /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -247,7 +217,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +228,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_); } @@ -282,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -295,18 +266,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.videointelligence.v1p3beta1.DetectedAttribute)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other = - (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) obj; + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other = (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getValue().equals(other.getValue())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,7 +294,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -330,127 +304,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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; } /** - * - * *
    * A generic detected attribute represented by name in string format.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedAttribute} */ - 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.videointelligence.v1p3beta1.DetectedAttribute) com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.newBuilder() @@ -458,15 +422,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(); @@ -480,14 +445,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance(); } @@ -502,8 +466,7 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute result = - new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(this); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute result = new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(this); result.name_ = name_; result.confidence_ = confidence_; result.value_ = value_; @@ -515,39 +478,38 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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) { + 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.videointelligence.v1p3beta1.DetectedAttribute) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute)other); } else { super.mergeFrom(other); return this; @@ -555,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -588,9 +548,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,21 +560,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; @@ -625,22 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 { @@ -648,79 +603,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -728,36 +673,30 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; @@ -765,21 +704,19 @@ public Builder clearConfidence() { private java.lang.Object value_ = ""; /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; @@ -788,22 +725,21 @@ public java.lang.String getValue() { } } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -811,71 +747,64 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -885,32 +814,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) - private static final com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedAttribute(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedAttribute(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +849,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java index e996cda08..a48084169 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java @@ -1,92 +1,63 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface DetectedAttributeOrBuilder - extends +public interface DetectedAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java index 12688aae7..843e67506 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * A generic detected landmark represented by name in string format and a 2D
  * location.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedLandmark}
  */
-public final class DetectedLandmark extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DetectedLandmark extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.DetectedLandmark)
     DetectedLandmarkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DetectedLandmark.newBuilder() to construct.
   private DetectedLandmark(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DetectedLandmark() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DetectedLandmark();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DetectedLandmark(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,43 +54,37 @@ private DetectedLandmark(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder subBuilder =
-                  null;
-              if (point_ != null) {
-                subBuilder = point_.toBuilder();
-              }
-              point_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(point_);
-                point_ = subBuilder.buildPartial();
-              }
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder subBuilder = null;
+            if (point_ != null) {
+              subBuilder = point_.toBuilder();
             }
-          case 29:
-            {
-              confidence_ = input.readFloat();
-              break;
+            point_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(point_);
+              point_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 29: {
+
+            confidence_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,39 +92,34 @@ private DetectedLandmark(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class,
-            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -156,29 +128,29 @@ 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 name of this landmark, for example, left_hand, right_shoulder.
    * 
* * 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 { @@ -189,15 +161,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int POINT_FIELD_NUMBER = 2; private com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex point_; /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ @java.lang.Override @@ -205,26 +174,19 @@ public boolean hasPoint() { return point_ != null; } /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return The point. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint() { - return point_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() - : point_; + return point_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_; } /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -233,22 +195,18 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint()
    * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder
-      getPointOrBuilder() {
+  public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder() {
     return getPoint();
   }
 
   public static final int CONFIDENCE_FIELD_NUMBER = 3;
   private float confidence_;
   /**
-   *
-   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; - * * @return The confidence. */ @java.lang.Override @@ -257,7 +215,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +226,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_); } @@ -292,10 +250,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (point_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPoint()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -305,21 +265,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.videointelligence.v1p3beta1.DetectedLandmark)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other = - (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) obj; + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other = (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasPoint() != other.hasPoint()) return false; if (hasPoint()) { - if (!getPoint().equals(other.getPoint())) return false; + if (!getPoint() + .equals(other.getPoint())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,111 +300,104 @@ public int hashCode() { hash = (53 * hash) + getPoint().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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; } /** - * - * *
    * A generic detected landmark represented by name in string format and a 2D
    * location.
@@ -450,23 +405,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedLandmark}
    */
-  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.videointelligence.v1p3beta1.DetectedLandmark)
       com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class,
-              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.newBuilder()
@@ -474,15 +427,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();
@@ -500,14 +454,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance();
     }
 
@@ -522,8 +475,7 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark result =
-          new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(this);
+      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark result = new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(this);
       result.name_ = name_;
       if (pointBuilder_ == null) {
         result.point_ = point_;
@@ -539,39 +491,38 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,9 +530,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -611,9 +560,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -625,20 +572,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -647,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 { @@ -669,61 +613,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 name of this landmark, for example, left_hand, right_shoulder.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -731,49 +668,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex point_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> - pointBuilder_; + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> pointBuilder_; /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ public boolean hasPoint() { return pointBuilder_ != null || point_ != null; } /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return The point. */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint() { if (pointBuilder_ == null) { - return point_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() - : point_; + return point_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_; } else { return pointBuilder_.getMessage(); } } /** - * - * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -795,8 +719,6 @@ public Builder setPoint(com.google.cloud.videointelligence.v1p3beta1.NormalizedV
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -816,8 +738,6 @@ public Builder setPoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -829,9 +749,7 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1p3beta1.Normalize
       if (pointBuilder_ == null) {
         if (point_ != null) {
           point_ =
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder(point_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder(point_).mergeFrom(value).buildPartial();
         } else {
           point_ = value;
         }
@@ -843,8 +761,6 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1p3beta1.Normalize
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -864,8 +780,6 @@ public Builder clearPoint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -874,13 +788,11 @@ public Builder clearPoint() {
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder getPointBuilder() {
-
+      
       onChanged();
       return getPointFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -888,19 +800,15 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder get
      *
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder
-        getPointOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder() {
       if (pointBuilder_ != null) {
         return pointBuilder_.getMessageOrBuilder();
       } else {
-        return point_ == null
-            ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()
-            : point_;
+        return point_ == null ?
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_;
       }
     }
     /**
-     *
-     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -909,32 +817,26 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder get
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> 
         getPointFieldBuilder() {
       if (pointBuilder_ == null) {
-        pointBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
-                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>(
-                getPoint(), getParentForChildren(), isClean());
+        pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>(
+                getPoint(),
+                getParentForChildren(),
+                isClean());
         point_ = null;
       }
       return pointBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @return The confidence. */ @java.lang.Override @@ -942,43 +844,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -988,13 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) - private static final com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(); } @@ -1003,16 +898,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedLandmark parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLandmark(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedLandmark parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedLandmark(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java index c290b666e..a9b9907e3 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java @@ -1,82 +1,53 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface DetectedLandmarkOrBuilder - extends +public interface DetectedLandmarkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return Whether the point field is set. */ boolean hasPoint(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; - * * @return The point. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint(); /** - * - * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -87,14 +58,11 @@ public interface DetectedLandmarkOrBuilder
   com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder();
 
   /**
-   *
-   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java index e977164af..dfa97c821 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Entity} */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Entity) EntityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entity() { entityId_ = ""; description_ = ""; @@ -45,15 +27,16 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Entity( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +87,29 @@ private Entity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Entity.class, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Entity.class, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string entity_id = 1; - * * @return The entityId. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -166,15 +140,16 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -185,14 +160,11 @@ public com.google.protobuf.ByteString getEntityIdBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -201,29 +173,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -234,14 +206,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ @java.lang.Override @@ -250,29 +219,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -281,7 +250,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +261,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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -329,17 +298,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.videointelligence.v1p3beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Entity other = - (com.google.cloud.videointelligence.v1p3beta1.Entity) obj; + com.google.cloud.videointelligence.v1p3beta1.Entity other = (com.google.cloud.videointelligence.v1p3beta1.Entity) obj; - if (!getEntityId().equals(other.getEntityId())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getEntityId() + .equals(other.getEntityId())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,126 +334,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Entity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Entity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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; } /** - * - * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Entity} */ - 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.videointelligence.v1p3beta1.Entity) com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Entity.class, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Entity.class, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder() @@ -490,15 +452,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(); @@ -512,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override @@ -533,8 +496,7 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Entity result = - new com.google.cloud.videointelligence.v1p3beta1.Entity(this); + com.google.cloud.videointelligence.v1p3beta1.Entity result = new com.google.cloud.videointelligence.v1p3beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -546,39 +508,38 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Entity) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Entity)other); } else { super.mergeFrom(other); return this; @@ -586,8 +547,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()) return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -619,8 +579,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,8 +591,6 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -641,13 +598,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; - * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -656,8 +613,6 @@ public java.lang.String getEntityId() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -665,14 +620,15 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString getEntityIdBytes() { + public com.google.protobuf.ByteString + getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -680,8 +636,6 @@ public com.google.protobuf.ByteString getEntityIdBytes() { } } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -689,22 +643,20 @@ public com.google.protobuf.ByteString getEntityIdBytes() {
      * 
* * string entity_id = 1; - * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId(java.lang.String value) { + public Builder setEntityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -712,18 +664,15 @@ public Builder setEntityId(java.lang.String value) {
      * 
* * string entity_id = 1; - * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** - * - * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -731,16 +680,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; - * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -748,20 +697,18 @@ public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -770,21 +717,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -792,61 +738,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -854,20 +793,18 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -876,21 +813,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -898,68 +834,61 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -969,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Entity) private static final com.google.cloud.videointelligence.v1p3beta1.Entity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Entity(); } @@ -983,16 +912,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java index 714ef9db4..c46a9eacb 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface EntityOrBuilder - extends +public interface EntityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Entity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -33,13 +15,10 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The entityId. */ java.lang.String getEntityId(); /** - * - * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -47,58 +26,48 @@ public interface EntityOrBuilder
    * 
* * string entity_id = 1; - * * @return The bytes for entityId. */ - com.google.protobuf.ByteString getEntityIdBytes(); + com.google.protobuf.ByteString + getEntityIdBytes(); /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java index 8e5d5eaf6..2be82d1bc 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExplicitContentAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,22 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                frames_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              frames_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              frames_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            frames_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,7 +79,8 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -110,101 +89,80 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class,
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
-   *
-   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List - getFramesList() { + public java.util.List getFramesList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,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 { for (int i = 0; i < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -230,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,15 +200,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.videointelligence.v1p3beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) obj; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,105 +230,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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; } /** - * - * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -377,42 +328,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p3beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class,
-              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,22 +374,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -450,8 +395,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result =
-          new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -470,51 +414,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p3beta1.ExplicitContentAnnotation) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -533,10 +472,9 @@ public Builder mergeFrom(
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFramesFieldBuilder()
-                    : null;
+            framesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFramesFieldBuilder() : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -561,9 +499,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -572,39 +508,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        frames_ = java.util.Collections.emptyList();
-
+    private java.util.List frames_ =
+      java.util.Collections.emptyList();
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ =
-            new java.util.ArrayList<
-                com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame>(frames_);
+        frames_ = new java.util.ArrayList(frames_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame,
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>
-        framesBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
 
     /**
-     *
-     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -612,14 +537,11 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -629,14 +551,11 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -646,14 +565,11 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFram } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { @@ -670,18 +586,14 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -692,17 +604,13 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -716,14 +624,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { @@ -740,14 +645,11 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { @@ -761,18 +663,14 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -783,22 +681,18 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -806,14 +700,11 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -826,14 +717,11 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -846,50 +734,39 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder - getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -897,74 +774,56 @@ public Builder removeFrames(int index) { } } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder - addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -974,32 +833,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,8 +868,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java index 7c7aae411..f349f3ec4 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,83 +1,52 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentAnnotationOrBuilder - extends +public interface ExplicitContentAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ int getFramesCount(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java index 6ed68196f..f5cb76201 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +73,29 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -127,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -136,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -152,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -169,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -205,16 +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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,152 +207,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.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(); @@ -388,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,10 +365,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -424,52 +376,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConf 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -489,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -508,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -517,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -532,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -541,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -556,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -565,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -588,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -607,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -633,33 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +601,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java index 31d6cb99a..7a397a884 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentDetectionConfigOrBuilder - extends +public interface ExplicitContentDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ExplicitContentDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java index 64e8cf977..d3d8d75cf 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplicitContentFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - pornographyLikelihood_ = rawValue; - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + pornographyLikelihood_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private ExplicitContentFrame( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -147,15 +122,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -163,8 +135,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -180,43 +150,31 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Likelihood result = - com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.Likelihood result = com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,13 +186,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -247,12 +204,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ - != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +219,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.videointelligence.v1p3beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other = - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -298,145 +255,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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; } /** - * - * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p3beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.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(); @@ -452,14 +398,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -474,8 +419,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame result = - new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -490,50 +434,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p3beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -559,9 +499,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -573,49 +511,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,8 +562,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -646,7 +569,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -657,8 +581,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,7 +592,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -682,8 +604,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -703,8 +623,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -713,13 +631,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -731,14 +647,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -747,17 +660,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -765,100 +675,80 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override - public int getPornographyLikelihoodValue() { + @java.lang.Override public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Likelihood result = - com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.Likelihood result = com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED : result; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood( - com.google.cloud.videointelligence.v1p3beta1.Likelihood value) { + public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p3beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -868,32 +758,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,8 +793,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java index 8ff386c7a..561407c56 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentFrameOrBuilder - extends +public interface ExplicitContentFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,26 +38,20 @@ public interface ExplicitContentFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** - * - * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; - * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java index a29bc0860..f4e0af2ca 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Face detection annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation} */ -public final class FaceDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceDetectionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) FaceDetectionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceDetectionAnnotation.newBuilder() to construct. private FaceDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); thumbnail_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private FaceDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,27 @@ private FaceDetectionAnnotation( case 0: done = true; break; - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Track.parser(), - extensionRegistry)); - break; - } - case 34: - { - thumbnail_ = input.readBytes(); - break; + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); + break; + } + case 34: { + + thumbnail_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +83,8 @@ private FaceDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -113,27 +93,22 @@ private FaceDetectionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 3; private java.util.List tracks_; /** - * - * *
    * The face tracks with attributes.
    * 
@@ -145,8 +120,6 @@ public java.util.List getTra return tracks_; } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -154,13 +127,11 @@ public java.util.List getTra * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -172,8 +143,6 @@ public int getTracksCount() { return tracks_.size(); } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -185,8 +154,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { return tracks_.get(index); } /** - * - * *
    * The face tracks with attributes.
    * 
@@ -194,21 +161,19 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( + int index) { return tracks_.get(index); } public static final int THUMBNAIL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString thumbnail_; /** - * - * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ @java.lang.Override @@ -217,7 +182,6 @@ public com.google.protobuf.ByteString getThumbnail() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +193,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 < tracks_.size(); i++) { output.writeMessage(3, tracks_.get(i)); } @@ -246,10 +211,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, tracks_.get(i)); } if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, thumbnail_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, thumbnail_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,16 +226,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.videointelligence.v1p3beta1.FaceDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) obj; - if (!getTracksList().equals(other.getTracksList())) return false; - if (!getThumbnail().equals(other.getThumbnail())) return false; + if (!getTracksList() + .equals(other.getTracksList())) return false; + if (!getThumbnail() + .equals(other.getThumbnail())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,147 +260,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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; } /** - * - * *
    * Face detection annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation} */ - 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.videointelligence.v1p3beta1.FaceDetectionAnnotation) com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.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) { getTracksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,16 +404,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance(); } @java.lang.Override @@ -471,8 +425,7 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buil @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -492,51 +445,46 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buil 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.videointelligence.v1p3beta1.FaceDetectionAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -555,10 +503,9 @@ public Builder mergeFrom( tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -586,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,29 +542,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - tracks_ = - new java.util.ArrayList(tracks_); + tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> - tracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_; /** - * - * *
      * The face tracks with attributes.
      * 
@@ -634,8 +571,6 @@ public java.util.List getTra } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -650,8 +585,6 @@ public int getTracksCount() { } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -666,15 +599,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { } } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder setTracks( + int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,8 +620,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1 return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -708,8 +638,6 @@ public Builder setTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -730,15 +658,14 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu return this; } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder addTracks( + int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,8 +679,6 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1 return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -772,8 +697,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -792,8 +715,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -804,7 +725,8 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -812,8 +734,6 @@ public Builder addAllTracks( return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -831,8 +751,6 @@ public Builder clearTracks() { return this; } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -850,20 +768,17 @@ public Builder removeTracks(int index) { return this; } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder( + int index) { return getTracksFieldBuilder().getBuilder(index); } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -873,22 +788,19 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); - } else { + return tracks_.get(index); } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -896,8 +808,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu } } /** - * - * *
      * The face tracks with attributes.
      * 
@@ -905,49 +815,42 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + return getTracksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) { - return getTracksFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder( + int index) { + return getTracksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** - * - * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + tracks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tracks_ = null; } return tracksBuilder_; @@ -955,14 +858,11 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ @java.lang.Override @@ -970,46 +870,40 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** - * - * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; - * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); 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); } @@ -1019,32 +913,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1056,8 +948,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java index 55a1c3df5..0fca90500 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface FaceDetectionAnnotationOrBuilder - extends +public interface FaceDetectionAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - java.util.List getTracksList(); + java.util.List + getTracksList(); /** - * - * *
    * The face tracks with attributes.
    * 
@@ -44,8 +25,6 @@ public interface FaceDetectionAnnotationOrBuilder */ com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index); /** - * - * *
    * The face tracks with attributes.
    * 
@@ -54,36 +33,30 @@ public interface FaceDetectionAnnotationOrBuilder */ int getTracksCount(); /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** - * - * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( + int index); /** - * - * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; - * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java index fe0dee9f5..9c2e07d27 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FaceDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) FaceDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,30 +53,29 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - case 16: - { - includeBoundingBoxes_ = input.readBool(); - break; - } - case 40: - { - includeAttributes_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + case 16: { + + includeBoundingBoxes_ = input.readBool(); + break; + } + case 40: { + + includeAttributes_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,33 +83,29 @@ private FaceDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -135,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -144,15 +121,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -160,15 +136,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -179,14 +156,11 @@ public com.google.protobuf.ByteString getModelBytes() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** - * - * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -197,15 +171,12 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 5; private boolean includeAttributes_; /** - * - * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ @java.lang.Override @@ -214,7 +185,6 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,7 +196,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -249,10 +220,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, includeBoundingBoxes_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, includeAttributes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,17 +235,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.videointelligence.v1p3beta1.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; - if (getIncludeAttributes() != other.getIncludeAttributes()) return false; + if (!getModel() + .equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() + != other.getIncludeBoundingBoxes()) return false; + if (getIncludeAttributes() + != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -287,136 +262,128 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig} */ - 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.videointelligence.v1p3beta1.FaceDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder() @@ -424,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(); @@ -446,14 +414,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance(); } @@ -468,8 +435,7 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includeAttributes_ = includeAttributes_; @@ -481,50 +447,46 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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) { + 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.videointelligence.v1p3beta1.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -554,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -568,8 +528,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -577,13 +535,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -592,8 +550,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -601,14 +557,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -616,8 +573,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -625,22 +580,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -648,18 +601,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -667,31 +617,28 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_; + private boolean includeBoundingBoxes_ ; /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -699,52 +646,43 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** - * - * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; - * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includeAttributes_; + private boolean includeAttributes_ ; /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ @java.lang.Override @@ -752,45 +690,39 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; - * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -800,32 +732,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,8 +767,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java index 4b0c8e321..893766387 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface FaceDetectionConfigOrBuilder - extends +public interface FaceDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,34 +26,28 @@ public interface FaceDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); /** - * - * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; - * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** - * - * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; - * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java index 9630ad266..d2c98edda 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.Feature} */ -public enum Feature implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * Human face detection.
    * 
@@ -79,8 +53,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ FACE_DETECTION(4), /** - * - * *
    * Speech transcription.
    * 
@@ -89,8 +61,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ SPEECH_TRANSCRIPTION(6), /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -99,8 +69,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ TEXT_DETECTION(7), /** - * - * *
    * Object detection and tracking.
    * 
@@ -109,8 +77,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ OBJECT_TRACKING(9), /** - * - * *
    * Logo detection, tracking, and recognition.
    * 
@@ -119,8 +85,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ LOGO_RECOGNITION(12), /** - * - * *
    * Celebrity recognition.
    * 
@@ -129,8 +93,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ CELEBRITY_RECOGNITION(13), /** - * - * *
    * Person detection.
    * 
@@ -142,8 +104,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -152,8 +112,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -162,8 +120,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -172,8 +128,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -182,8 +136,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * Human face detection.
    * 
@@ -192,8 +144,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FACE_DETECTION_VALUE = 4; /** - * - * *
    * Speech transcription.
    * 
@@ -202,8 +152,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; /** - * - * *
    * OCR text detection and tracking.
    * 
@@ -212,8 +160,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_DETECTION_VALUE = 7; /** - * - * *
    * Object detection and tracking.
    * 
@@ -222,8 +168,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OBJECT_TRACKING_VALUE = 9; /** - * - * *
    * Logo detection, tracking, and recognition.
    * 
@@ -232,8 +176,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOGO_RECOGNITION_VALUE = 12; /** - * - * *
    * Celebrity recognition.
    * 
@@ -242,8 +184,6 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CELEBRITY_RECOGNITION_VALUE = 13; /** - * - * *
    * Person detection.
    * 
@@ -252,6 +192,7 @@ public enum Feature implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_DETECTION_VALUE = 14; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -276,68 +217,57 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: - return FEATURE_UNSPECIFIED; - case 1: - return LABEL_DETECTION; - case 2: - return SHOT_CHANGE_DETECTION; - case 3: - return EXPLICIT_CONTENT_DETECTION; - case 4: - return FACE_DETECTION; - case 6: - return SPEECH_TRANSCRIPTION; - case 7: - return TEXT_DETECTION; - case 9: - return OBJECT_TRACKING; - case 12: - return LOGO_RECOGNITION; - case 13: - return CELEBRITY_RECOGNITION; - case 14: - return PERSON_DETECTION; - default: - return null; + case 0: return FEATURE_UNSPECIFIED; + case 1: return LABEL_DETECTION; + case 2: return SHOT_CHANGE_DETECTION; + case 3: return EXPLICIT_CONTENT_DETECTION; + case 4: return FACE_DETECTION; + case 6: return SPEECH_TRANSCRIPTION; + case 7: return TEXT_DETECTION; + case 9: return OBJECT_TRACKING; + case 12: return LOGO_RECOGNITION; + case 13: return CELEBRITY_RECOGNITION; + case 14: return PERSON_DETECTION; + 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< + Feature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(3); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(3); } private static final Feature[] VALUES = values(); - public static Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -353,3 +283,4 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.Feature) } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java index 47f1453b9..44ce8fc1c 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelAnnotation} */ -public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) LabelAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,53 @@ private LabelAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - categoryEntities_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelSegment>(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame>(); - mutable_bitField0_ |= 0x00000004; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.parser(), - extensionRegistry)); - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelSegment.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,7 +110,8 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -160,33 +126,27 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -194,25 +154,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Detected entity.
    * 
@@ -227,8 +180,6 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** - * - * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -239,13 +190,10 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getCategoryEntitiesList() {
+  public java.util.List getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -256,13 +204,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -277,8 +223,6 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -293,8 +237,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -313,8 +255,6 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
@@ -322,13 +262,10 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -336,14 +273,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -355,8 +289,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -368,8 +300,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int return segments_.get(index); } /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -385,8 +315,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -398,8 +326,6 @@ public java.util.List g return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -407,13 +333,11 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -425,8 +349,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -438,8 +360,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -453,7 +373,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,7 +384,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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -488,16 +408,20 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -507,21 +431,24 @@ 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.videointelligence.v1p3beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList() + .equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -555,127 +482,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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; } /** - * - * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelAnnotation} */ - 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.videointelligence.v1p3beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.newBuilder() @@ -683,19 +600,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,14 +644,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance(); } @@ -749,8 +665,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -792,39 +707,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation)other); } else { super.mergeFrom(other); return this; @@ -832,9 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -856,10 +768,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoryEntitiesFieldBuilder() - : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoryEntitiesFieldBuilder() : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -883,10 +794,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -910,10 +820,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -938,8 +847,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -948,52 +856,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Detected entity.
      * 
@@ -1014,8 +908,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1034,8 +926,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1046,9 +936,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1060,8 +948,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1080,8 +966,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Detected entity.
      * 
@@ -1089,13 +973,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Detected entity.
      * 
@@ -1106,14 +988,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Detected entity.
      * 
@@ -1121,43 +1000,32 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = - new java.util.ArrayList( - categoryEntities_); + categoryEntities_ = new java.util.ArrayList(categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> - categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> categoryEntitiesBuilder_; /** - * - * *
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1167,8 +1035,7 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesList() {
+    public java.util.List getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1176,8 +1043,6 @@ private void ensureCategoryEntitiesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1195,8 +1060,6 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1214,8 +1077,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(i
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1240,8 +1101,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1263,8 +1122,6 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1288,8 +1145,6 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p3beta1.
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1314,8 +1169,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1337,8 +1190,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1360,8 +1211,6 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1375,7 +1224,8 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1383,8 +1233,6 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1405,8 +1253,6 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1427,8 +1273,6 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1443,8 +1287,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1454,17 +1296,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder
-        getCategoryEntitiesOrBuilder(int index) {
+    public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
+        int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);
-      } else {
+        return categoryEntities_.get(index);  } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1474,8 +1313,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesOrBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1483,8 +1322,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
       }
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1494,14 +1331,11 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder
-        addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1513,13 +1347,10 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
      */
     public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1529,22 +1360,16 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List
-        getCategoryEntitiesBuilderList() {
+    public java.util.List 
+         getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Entity,
-            com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> 
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.Entity,
-                com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1555,34 +1380,25 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(
-                segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.LabelSegment,
-            com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1590,8 +1406,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1606,8 +1420,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1622,8 +1434,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1645,8 +1455,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1654,8 +1462,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1666,8 +1473,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1688,8 +1493,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.LabelSeg return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1711,8 +1514,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1731,8 +1532,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1740,8 +1539,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1752,8 +1550,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1761,11 +1557,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1773,8 +1569,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1792,8 +1586,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1811,8 +1603,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1824,8 +1614,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1835,23 +1623,19 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1859,8 +1643,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg } } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1868,13 +1650,10 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
@@ -1883,63 +1662,48 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelSegment, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelSegment, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> framesBuilder_; /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1954,8 +1718,6 @@ public java.util.List g } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1970,8 +1732,6 @@ public int getFramesCount() { } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -1986,8 +1746,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int ind } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2009,8 +1767,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2018,8 +1774,7 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -2030,8 +1785,6 @@ public Builder setFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2052,8 +1805,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.LabelFrame return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2075,8 +1826,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2095,8 +1844,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2104,8 +1851,7 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -2116,8 +1862,6 @@ public Builder addFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2125,11 +1869,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -2137,8 +1881,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2156,8 +1898,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2175,8 +1915,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2188,8 +1926,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2199,23 +1935,19 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2223,8 +1955,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame } } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2232,12 +1962,10 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
@@ -2246,43 +1974,37 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); } /** - * - * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -2292,13 +2014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(); } @@ -2307,16 +2028,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2331,4 +2052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java index 508d78ef9..e05aee414 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelAnnotationOrBuilder - extends +public interface LabelAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** - * - * *
    * Detected entity.
    * 
@@ -59,8 +35,6 @@ public interface LabelAnnotationOrBuilder com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -70,10 +44,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
-  java.util.List getCategoryEntitiesList();
+  java.util.List 
+      getCategoryEntitiesList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -85,8 +58,6 @@ public interface LabelAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(int index);
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -98,8 +69,6 @@ public interface LabelAnnotationOrBuilder
    */
   int getCategoryEntitiesCount();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -109,11 +78,9 @@ public interface LabelAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
-  java.util.List
+  java.util.List 
       getCategoryEntitiesOrBuilderList();
   /**
-   *
-   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -127,18 +94,15 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
-   *
-   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -147,8 +111,6 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int index); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -157,19 +119,15 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** - * - * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where a label was detected.
    * 
@@ -180,18 +138,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -200,8 +155,6 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int index); /** - * - * *
    * All video frames where a label was detected.
    * 
@@ -210,24 +163,21 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java index d9f418211..d16b099c0 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -44,15 +26,16 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,42 +54,40 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - labelDetectionMode_ = rawValue; - break; - } - case 16: - { - stationaryCamera_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: { - model_ = s; - break; - } - case 37: - { - frameConfidenceThreshold_ = input.readFloat(); - break; - } - case 45: - { - videoConfidenceThreshold_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stationaryCamera_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + model_ = s; + break; + } + case 37: { + + frameConfidenceThreshold_ = input.readFloat(); + break; + } + case 45: { + + videoConfidenceThreshold_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,78 +95,60 @@ private LabelDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -193,7 +156,6 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelD
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -204,8 +166,6 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -213,7 +173,6 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; - * * @return The model. */ @java.lang.Override @@ -222,15 +181,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -238,15 +196,16 @@ public java.lang.String getModel() {
    * 
* * string model = 3; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -257,8 +216,6 @@ public com.google.protobuf.ByteString getModelBytes() { public static final int FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 4; private float frameConfidenceThreshold_; /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -269,7 +226,6 @@ public com.google.protobuf.ByteString getModelBytes() {
    * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -280,8 +236,6 @@ public float getFrameConfidenceThreshold() { public static final int VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 5; private float videoConfidenceThreshold_; /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -292,7 +246,6 @@ public float getFrameConfidenceThreshold() {
    * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -301,7 +254,6 @@ public float getVideoConfidenceThreshold() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,11 +265,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -341,23 +291,24 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ - != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode - .LABEL_DETECTION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); } if (java.lang.Float.floatToRawIntBits(frameConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, frameConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, frameConfidenceThreshold_); } if (java.lang.Float.floatToRawIntBits(videoConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, videoConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(5, videoConfidenceThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -367,21 +318,24 @@ 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.videointelligence.v1p3beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() != other.getStationaryCamera()) return false; - if (!getModel().equals(other.getModel())) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; + if (!getModel() + .equals(other.getModel())) return false; if (java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()) - != java.lang.Float.floatToIntBits(other.getFrameConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits( + other.getFrameConfidenceThreshold())) return false; if (java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()) - != java.lang.Float.floatToIntBits(other.getVideoConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits( + other.getVideoConfidenceThreshold())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,158 +350,150 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getFrameConfidenceThreshold()); hash = (37 * hash) + VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getVideoConfidenceThreshold()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p3beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.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(); @@ -565,14 +511,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -587,8 +532,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -602,50 +546,46 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p3beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance()) return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -681,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -695,118 +633,90 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override - public int getLabelDetectionModeValue() { + @java.lang.Override public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf( - labelDetectionMode_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED : result; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -814,7 +724,6 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ @java.lang.Override @@ -822,8 +731,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -831,19 +738,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -851,11 +755,10 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -863,8 +766,6 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -872,13 +773,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -887,8 +788,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -896,14 +795,15 @@ public java.lang.String getModel() {
      * 
* * string model = 3; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -911,8 +811,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -920,22 +818,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 3; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -943,18 +839,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 3; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -962,25 +855,23 @@ public Builder clearModel() {
      * 
* * string model = 3; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private float frameConfidenceThreshold_; + private float frameConfidenceThreshold_ ; /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -991,7 +882,6 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
      * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -999,8 +889,6 @@ public float getFrameConfidenceThreshold() { return frameConfidenceThreshold_; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -1011,19 +899,16 @@ public float getFrameConfidenceThreshold() {
      * 
* * float frame_confidence_threshold = 4; - * * @param value The frameConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setFrameConfidenceThreshold(float value) { - + frameConfidenceThreshold_ = value; onChanged(); return this; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -1034,20 +919,17 @@ public Builder setFrameConfidenceThreshold(float value) {
      * 
* * float frame_confidence_threshold = 4; - * * @return This builder for chaining. */ public Builder clearFrameConfidenceThreshold() { - + frameConfidenceThreshold_ = 0F; onChanged(); return this; } - private float videoConfidenceThreshold_; + private float videoConfidenceThreshold_ ; /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1058,7 +940,6 @@ public Builder clearFrameConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -1066,8 +947,6 @@ public float getVideoConfidenceThreshold() { return videoConfidenceThreshold_; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1078,19 +957,16 @@ public float getVideoConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; - * * @param value The videoConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setVideoConfidenceThreshold(float value) { - + videoConfidenceThreshold_ = value; onChanged(); return this; } /** - * - * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -1101,18 +977,17 @@ public Builder setVideoConfidenceThreshold(float value) {
      * 
* * float video_confidence_threshold = 5; - * * @return This builder for chaining. */ public Builder clearVideoConfidenceThreshold() { - + videoConfidenceThreshold_ = 0F; 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); } @@ -1122,32 +997,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1159,8 +1032,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java similarity index 77% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java index fdfee3564..5b725c491 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java @@ -1,62 +1,36 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelDetectionConfigOrBuilder - extends +public interface LabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** - * - * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode(); /** - * - * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -64,14 +38,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 2; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,13 +50,10 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -93,14 +61,12 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * string model = 3; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -111,14 +77,11 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * float frame_confidence_threshold = 4; - * * @return The frameConfidenceThreshold. */ float getFrameConfidenceThreshold(); /** - * - * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -129,7 +92,6 @@ public interface LabelDetectionConfigOrBuilder
    * 
* * float video_confidence_threshold = 5; - * * @return The videoConfidenceThreshold. */ float getVideoConfidenceThreshold(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java index 3f3d0206a..4d92416fc 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionMode} */ -public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** - * - * *
    * Detect shot-level labels.
    * 
@@ -49,8 +29,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ SHOT_MODE(1), /** - * - * *
    * Detect frame-level labels.
    * 
@@ -59,8 +37,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ FRAME_MODE(2), /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -72,8 +48,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unspecified.
    * 
@@ -82,8 +56,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Detect shot-level labels.
    * 
@@ -92,8 +64,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_MODE_VALUE = 1; /** - * - * *
    * Detect frame-level labels.
    * 
@@ -102,8 +72,6 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int FRAME_MODE_VALUE = 2; /** - * - * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -112,6 +80,7 @@ public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnu */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,48 +105,41 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: - return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: - return SHOT_MODE; - case 2: - return FRAME_MODE; - case 3: - return SHOT_AND_FRAME_MODE; - default: - return null; + case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: return SHOT_MODE; + case 2: return FRAME_MODE; + case 3: return SHOT_AND_FRAME_MODE; + 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 - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + LabelDetectionMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); } private static final LabelDetectionMode[] VALUES = values(); @@ -185,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LabelDetectionMode 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; @@ -201,3 +164,4 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionMode) } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java similarity index 70% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java index 878d25c68..af85a8b86 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelFrame} */ -public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelFrame extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelFrame) LabelFrameOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelFrame() {} + private LabelFrame() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,31 @@ private LabelFrame( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,40 +84,35 @@ private LabelFrame( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -143,15 +120,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ @java.lang.Override @@ -159,8 +133,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -176,14 +148,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -192,7 +161,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -221,10 +190,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,20 +205,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.videointelligence.v1p3beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelFrame other = - (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -264,134 +236,125 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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; } /** - * - * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelFrame} */ - 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.videointelligence.v1p3beta1.LabelFrame) com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelFrame.newBuilder() @@ -399,15 +362,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(); @@ -423,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override @@ -444,8 +408,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelFrame result = - new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -460,39 +423,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelFrame) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelFrame)other); } else { super.mergeFrom(other); return this; @@ -500,8 +462,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()) return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -527,8 +488,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,49 +500,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -604,8 +551,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -613,7 +558,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -624,8 +570,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -637,7 +581,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -649,8 +593,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -670,8 +612,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -680,13 +620,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -698,14 +636,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -714,32 +649,26 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_;
+    private float confidence_ ;
     /**
-     *
-     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -747,43 +676,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -793,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p3beta1.LabelFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(); } @@ -807,16 +730,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +754,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java index 5c74cb2cf..896454cff 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelFrameOrBuilder - extends +public interface LabelFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -62,14 +38,11 @@ public interface LabelFrameOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java index c5f6c0d4b..049486070 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelSegment} */ -public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelSegment) LabelSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelSegment() {} + private LabelSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private LabelSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private LabelSegment( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -144,25 +119,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -177,14 +145,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -193,7 +158,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +169,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -222,10 +187,12 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,20 +202,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.videointelligence.v1p3beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelSegment other = - (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -265,134 +233,125 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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; } /** - * - * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelSegment} */ - 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.videointelligence.v1p3beta1.LabelSegment) com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelSegment.newBuilder() @@ -400,15 +359,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(); @@ -424,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override @@ -445,8 +405,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelSegment result = - new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -461,39 +420,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelSegment)other); } else { super.mergeFrom(other); return this; @@ -501,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -528,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -541,47 +497,34 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -602,8 +545,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -622,8 +563,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -634,9 +573,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -648,8 +585,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -668,8 +603,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -677,32 +610,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a label was detected.
      * 
@@ -710,32 +637,26 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -743,43 +664,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -789,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p3beta1.LabelSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(); } @@ -803,16 +718,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +742,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java index 022316fb4..21ed75973 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelSegmentOrBuilder - extends +public interface LabelSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a label was detected.
    * 
@@ -59,14 +35,11 @@ public interface LabelSegmentOrBuilder com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java index 3eee9093b..dbb49ed9a 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.Likelihood} */ -public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified likelihood.
    * 
@@ -39,8 +21,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELIHOOD_UNSPECIFIED(0), /** - * - * *
    * Very unlikely.
    * 
@@ -49,8 +29,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ VERY_UNLIKELY(1), /** - * - * *
    * Unlikely.
    * 
@@ -59,8 +37,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ UNLIKELY(2), /** - * - * *
    * Possible.
    * 
@@ -69,8 +45,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ POSSIBLE(3), /** - * - * *
    * Likely.
    * 
@@ -79,8 +53,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ LIKELY(4), /** - * - * *
    * Very likely.
    * 
@@ -92,8 +64,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified likelihood.
    * 
@@ -102,8 +72,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Very unlikely.
    * 
@@ -112,8 +80,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_UNLIKELY_VALUE = 1; /** - * - * *
    * Unlikely.
    * 
@@ -122,8 +88,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNLIKELY_VALUE = 2; /** - * - * *
    * Possible.
    * 
@@ -132,8 +96,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSSIBLE_VALUE = 3; /** - * - * *
    * Likely.
    * 
@@ -142,8 +104,6 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LIKELY_VALUE = 4; /** - * - * *
    * Very likely.
    * 
@@ -152,6 +112,7 @@ public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERY_LIKELY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,58 +137,52 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: - return LIKELIHOOD_UNSPECIFIED; - case 1: - return VERY_UNLIKELY; - case 2: - return UNLIKELY; - case 3: - return POSSIBLE; - case 4: - return LIKELY; - case 5: - return VERY_LIKELY; - default: - return null; + case 0: return LIKELIHOOD_UNSPECIFIED; + case 1: return VERY_UNLIKELY; + case 2: return UNLIKELY; + case 3: return POSSIBLE; + case 4: return LIKELY; + case 5: return VERY_LIKELY; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Likelihood> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -243,3 +198,4 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.Likelihood) } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java similarity index 75% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java index 66ab7848c..13c172959 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Annotation corresponding to one detected, tracked and recognized logo class.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation} */ -public final class LogoRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LogoRecognitionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) LogoRecognitionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LogoRecognitionAnnotation.newBuilder() to construct. private LogoRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LogoRecognitionAnnotation() { tracks_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private LogoRecognitionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LogoRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LogoRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,57 +55,44 @@ private LogoRecognitionAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Track.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000002; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,7 +100,8 @@ private LogoRecognitionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -142,34 +113,28 @@ private LogoRecognitionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -177,26 +142,19 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -212,8 +170,6 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
   public static final int TRACKS_FIELD_NUMBER = 2;
   private java.util.List tracks_;
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -226,8 +182,6 @@ public java.util.List getTra
     return tracks_;
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -236,13 +190,11 @@ public java.util.List getTra
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTracksOrBuilderList() {
     return tracks_;
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -255,8 +207,6 @@ public int getTracksCount() {
     return tracks_.size();
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -269,8 +219,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
     return tracks_.get(index);
   }
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -279,15 +227,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) {
+  public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
+      int index) {
     return tracks_.get(index);
   }
 
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -296,13 +243,10 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List
-      getSegmentsList() {
+  public java.util.List getSegmentsList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -311,14 +255,11 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -331,8 +272,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -345,8 +284,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -361,7 +298,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -373,7 +309,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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -393,13 +330,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < tracks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tracks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, tracks_.get(i));
     }
     for (int i = 0; i < segments_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, segments_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -409,20 +349,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.videointelligence.v1p3beta1.LogoRecognitionAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other =
-        (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) obj;
+    com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity().equals(other.getEntity())) return false;
+      if (!getEntity()
+          .equals(other.getEntity())) return false;
     }
-    if (!getTracksList().equals(other.getTracksList())) return false;
-    if (!getSegmentsList().equals(other.getSegmentsList())) return false;
+    if (!getTracksList()
+        .equals(other.getTracksList())) return false;
+    if (!getSegmentsList()
+        .equals(other.getSegmentsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -452,148 +394,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
-      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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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;
   }
   /**
-   *
-   *
    * 
    * Annotation corresponding to one detected, tracked and recognized logo class.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation} */ - 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation) com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.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) { getTracksFieldBuilder(); getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,22 +549,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -643,8 +570,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -677,51 +603,46 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation bu 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -743,10 +664,9 @@ public Builder mergeFrom( tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -770,10 +690,9 @@ public Builder mergeFrom( segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -798,9 +717,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -809,54 +726,40 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -878,8 +781,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -899,8 +800,6 @@ public Builder setEntity(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -912,9 +811,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v
       if (entityBuilder_ == null) {
         if (entity_ != null) {
           entity_ =
-              com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
         } else {
           entity_ = value;
         }
@@ -926,8 +823,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -947,8 +842,6 @@ public Builder clearEntity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -957,13 +850,11 @@ public Builder clearEntity() {
      * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
      */
     public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() {
-
+      
       onChanged();
       return getEntityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -975,14 +866,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null
-            ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()
-            : entity_;
+        return entity_ == null ?
+            com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_;
       }
     }
     /**
-     *
-     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -991,42 +879,32 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
      * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Entity,
-            com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> 
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.Entity,
-                com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
-                getEntity(), getParentForChildren(), isClean());
+        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
+                getEntity(),
+                getParentForChildren(),
+                isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
 
     private java.util.List tracks_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTracksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        tracks_ =
-            new java.util.ArrayList(tracks_);
+        tracks_ = new java.util.ArrayList(tracks_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Track,
-            com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>
-        tracksBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_;
 
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1042,8 +920,6 @@ public java.util.List getTra
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1059,8 +935,6 @@ public int getTracksCount() {
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1076,8 +950,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1085,7 +957,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
+    public Builder setTracks(
+        int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1099,8 +972,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1120,8 +991,6 @@ public Builder setTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1143,8 +1012,6 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1152,7 +1019,8 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
+    public Builder addTracks(
+        int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1166,8 +1034,6 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1187,8 +1053,6 @@ public Builder addTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1208,8 +1072,6 @@ public Builder addTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1221,7 +1083,8 @@ public Builder addAllTracks(
         java.lang.Iterable values) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, tracks_);
         onChanged();
       } else {
         tracksBuilder_.addAllMessages(values);
@@ -1229,8 +1092,6 @@ public Builder addAllTracks(
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1249,8 +1110,6 @@ public Builder clearTracks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1269,8 +1128,6 @@ public Builder removeTracks(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1278,12 +1135,11 @@ public Builder removeTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) {
+    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(
+        int index) {
       return getTracksFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1294,14 +1150,11 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild
     public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
         int index) {
       if (tracksBuilder_ == null) {
-        return tracks_.get(index);
-      } else {
+        return tracks_.get(index);  } else {
         return tracksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1309,8 +1162,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public java.util.List
-        getTracksOrBuilderList() {
+    public java.util.List 
+         getTracksOrBuilderList() {
       if (tracksBuilder_ != null) {
         return tracksBuilder_.getMessageOrBuilderList();
       } else {
@@ -1318,8 +1171,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
       }
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1328,12 +1179,10 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
     public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() {
-      return getTracksFieldBuilder()
-          .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
+      return getTracksFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1341,14 +1190,12 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) {
-      return getTracksFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(
+        int index) {
+      return getTracksFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1356,49 +1203,38 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public java.util.List
-        getTracksBuilderList() {
+    public java.util.List 
+         getTracksBuilderList() {
       return getTracksFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Track,
-            com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> 
         getTracksFieldBuilder() {
       if (tracksBuilder_ == null) {
-        tracksBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.Track,
-                com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>(
-                tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>(
+                tracks_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         tracks_ = null;
       }
       return tracksBuilder_;
     }
 
     private java.util.List segments_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ =
-            new java.util.ArrayList(
-                segments_);
+        segments_ = new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
-        segmentsBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentsBuilder_;
 
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1406,8 +1242,7 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List
-        getSegmentsList() {
+    public java.util.List getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1415,8 +1250,6 @@ private void ensureSegmentsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1432,8 +1265,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1449,8 +1280,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1473,8 +1302,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1483,8 +1310,7 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder setSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1495,8 +1321,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1518,8 +1342,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.VideoSeg
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1542,8 +1364,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1563,8 +1383,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1573,8 +1391,7 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder addSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1585,8 +1402,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1595,11 +1410,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder addAllSegments(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1607,8 +1422,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1627,8 +1440,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1647,8 +1458,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1661,8 +1470,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1673,14 +1480,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1688,9 +1492,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1698,8 +1501,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1708,13 +1509,10 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1724,14 +1522,10 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1739,30 +1533,27 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
     }
-
     @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);
     }
 
@@ -1772,32 +1563,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
-  private static final com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public LogoRecognitionAnnotation parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new LogoRecognitionAnnotation(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public LogoRecognitionAnnotation parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new LogoRecognitionAnnotation(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1809,8 +1598,9 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
similarity index 83%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
index cd32e336e..1fee1303e 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface LogoRecognitionAnnotationOrBuilder
-    extends
+public interface LogoRecognitionAnnotationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** - * - * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -62,8 +38,6 @@ public interface LogoRecognitionAnnotationOrBuilder
   com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder();
 
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -71,10 +45,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  java.util.List getTracksList();
+  java.util.List 
+      getTracksList();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -84,8 +57,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index);
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -95,8 +66,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   int getTracksCount();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -104,11 +73,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  java.util.List
+  java.util.List 
       getTracksOrBuilderList();
   /**
-   *
-   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -116,11 +83,10 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index);
+  com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -128,10 +94,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -141,8 +106,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -152,8 +115,6 @@ public interface LogoRecognitionAnnotationOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -161,11 +122,9 @@ public interface LogoRecognitionAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
similarity index 66%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
index 7c526bf65..132605cc6 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
- *
- *
  * 
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingBox extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedBoundingBox() {}
+  private NormalizedBoundingBox() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,33 +54,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              left_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              top_ = input.readFloat();
-              break;
-            }
-          case 29:
-            {
-              right_ = input.readFloat();
-              break;
-            }
-          case 37:
-            {
-              bottom_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            left_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            top_ = input.readFloat();
+            break;
+          }
+          case 29: {
+
+            right_ = input.readFloat();
+            break;
+          }
+          case 37: {
+
+            bottom_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,39 +88,34 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
-   *
-   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -147,14 +126,11 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -165,14 +141,11 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -183,14 +156,11 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -199,7 +169,6 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +180,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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -234,16 +204,20 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -253,22 +227,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.videointelligence.v1p3beta1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other = - (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits(other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) - return false; + != java.lang.Float.floatToIntBits( + other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) + != java.lang.Float.floatToIntBits( + other.getTop())) return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits(other.getRight())) return false; + != java.lang.Float.floatToIntBits( + other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits(other.getBottom())) return false; + != java.lang.Float.floatToIntBits( + other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,118 +258,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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; } /** - * - * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -401,40 +373,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1p3beta1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class,
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.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();
@@ -450,16 +420,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -473,8 +441,7 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox result =
-          new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -487,51 +454,46 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox buildP
     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.videointelligence.v1p3beta1.NormalizedBoundingBox) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -563,9 +525,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -575,16 +535,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_;
+    private float left_ ;
     /**
-     *
-     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; - * * @return The left. */ @java.lang.Override @@ -592,51 +549,42 @@ public float getLeft() { return left_; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** - * - * *
      * Left X coordinate.
      * 
* * float left = 1; - * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_; + private float top_ ; /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return The top. */ @java.lang.Override @@ -644,51 +592,42 @@ public float getTop() { return top_; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** - * - * *
      * Top Y coordinate.
      * 
* * float top = 2; - * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_; + private float right_ ; /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return The right. */ @java.lang.Override @@ -696,51 +635,42 @@ public float getRight() { return right_; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** - * - * *
      * Right X coordinate.
      * 
* * float right = 3; - * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_; + private float bottom_ ; /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return The bottom. */ @java.lang.Override @@ -748,43 +678,37 @@ public float getBottom() { return bottom_; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** - * - * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; - * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -794,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,8 +753,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java index c7afa8a16..7cdd88c09 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java @@ -1,76 +1,48 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface NormalizedBoundingBoxOrBuilder - extends +public interface NormalizedBoundingBoxOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Left X coordinate.
    * 
* * float left = 1; - * * @return The left. */ float getLeft(); /** - * - * *
    * Top Y coordinate.
    * 
* * float top = 2; - * * @return The top. */ float getTop(); /** - * - * *
    * Right X coordinate.
    * 
* * float right = 3; - * * @return The right. */ float getRight(); /** - * - * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; - * * @return The bottom. */ float getBottom(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java index 42b1c1784..2edc32f8f 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -41,31 +24,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedBoundingPoly extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,27 +68,22 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                vertices_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              vertices_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              vertices_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            vertices_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -113,7 +91,8 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -122,27 +101,22 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
-   *
-   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -150,13 +124,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List - getVerticesList() { + public java.util.List getVerticesList() { return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -164,14 +135,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> + public java.util.List getVerticesOrBuilderList() { return vertices_; } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -183,8 +151,6 @@ public int getVerticesCount() { return vertices_.size(); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -196,8 +162,6 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices return vertices_.get(index); } /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -205,13 +169,12 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder - getVerticesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( + int index) { return vertices_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +186,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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -237,7 +201,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -247,15 +212,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.videointelligence.v1p3beta1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other = - (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) obj; - if (!getVerticesList().equals(other.getVerticesList())) return false; + if (!getVerticesList() + .equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,105 +242,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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; } /** - * - * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -396,42 +352,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1p3beta1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class,
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.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) {
         getVerticesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,16 +398,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -468,8 +419,7 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly build
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly result =
-          new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -488,51 +438,46 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly build
     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.videointelligence.v1p3beta1.NormalizedBoundingPoly) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance()) return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -551,10 +496,9 @@ public Builder mergeFrom(
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVerticesFieldBuilder()
-                    : null;
+            verticesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVerticesFieldBuilder() : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -579,9 +523,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -590,39 +532,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        vertices_ = java.util.Collections.emptyList();
-
+    private java.util.List vertices_ =
+      java.util.Collections.emptyList();
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ =
-            new java.util.ArrayList(
-                vertices_);
+        vertices_ = new java.util.ArrayList(vertices_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>
-        verticesBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> verticesBuilder_;
 
     /**
-     *
-     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesList() { + public java.util.List getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -630,14 +561,11 @@ private void ensureVerticesIsMutable() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public int getVerticesCount() { if (verticesBuilder_ == null) { @@ -647,14 +575,11 @@ public int getVerticesCount() { } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices(int index) { if (verticesBuilder_ == null) { @@ -664,14 +589,11 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder setVertices( int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { @@ -688,18 +610,14 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder setVertices( - int index, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.set(index, builderForValue.build()); @@ -710,17 +628,13 @@ public Builder setVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public Builder addVertices( - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { + public Builder addVertices(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -734,14 +648,11 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { @@ -758,14 +669,11 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { @@ -779,18 +687,14 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder addVertices( - int index, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.add(index, builderForValue.build()); @@ -801,21 +705,18 @@ public Builder addVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder addAllVertices( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -823,14 +724,11 @@ public Builder addAllVertices( return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder clearVertices() { if (verticesBuilder_ == null) { @@ -843,14 +741,11 @@ public Builder clearVertices() { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public Builder removeVertices(int index) { if (verticesBuilder_ == null) { @@ -863,50 +758,39 @@ public Builder removeVertices(int index) { return this; } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder getVerticesBuilder( int index) { return getVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder - getVerticesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( + int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); - } else { + return vertices_.get(index); } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> - getVerticesOrBuilderList() { + public java.util.List + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -914,72 +798,56 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder get } } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder - addVerticesBuilder() { - return getVerticesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder addVerticesBuilder() { + return getVerticesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>( - vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>( + vertices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); vertices_ = null; } return verticesBuilder_; } - @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); } @@ -989,32 +857,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,8 +892,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java index 2e3998a6f..dce1851d5 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface NormalizedBoundingPolyOrBuilder - extends +public interface NormalizedBoundingPolyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - java.util.List getVerticesList(); + java.util.List + getVerticesList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -44,8 +25,6 @@ public interface NormalizedBoundingPolyOrBuilder */ com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices(int index); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -54,19 +33,15 @@ public interface NormalizedBoundingPolyOrBuilder */ int getVerticesCount(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** - * - * *
    * Normalized vertices of the bounding polygon.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java index 6c8bcd61d..d435df1ae 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedVertex}
  */
-public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NormalizedVertex extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NormalizedVertex() {}
+  private NormalizedVertex() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,23 +54,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13:
-            {
-              x_ = input.readFloat();
-              break;
-            }
-          case 21:
-            {
-              y_ = input.readFloat();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 13: {
+
+            x_ = input.readFloat();
+            break;
+          }
+          case 21: {
+
+            y_ = input.readFloat();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,39 +78,34 @@ private NormalizedVertex(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
-   *
-   *
    * 
    * X coordinate.
    * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -137,14 +116,11 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** - * - * *
    * Y coordinate.
    * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -153,7 +129,6 @@ public float getY() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +140,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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -182,10 +158,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -195,18 +173,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.videointelligence.v1p3beta1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other = - (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) - return false; - if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) - return false; + if (java.lang.Float.floatToIntBits(getX()) + != java.lang.Float.floatToIntBits( + other.getX())) return false; + if (java.lang.Float.floatToIntBits(getY()) + != java.lang.Float.floatToIntBits( + other.getY())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -219,113 +198,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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; } /** - * - * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -334,23 +307,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedVertex}
    */
-  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.videointelligence.v1p3beta1.NormalizedVertex)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class,
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder()
@@ -358,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();
@@ -378,14 +350,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance();
     }
 
@@ -400,8 +371,7 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex result =
-          new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -412,39 +382,38 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,9 +421,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()) return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -480,9 +447,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -492,16 +457,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_;
+    private float x_ ;
     /**
-     *
-     *
      * 
      * X coordinate.
      * 
* * float x = 1; - * * @return The x. */ @java.lang.Override @@ -509,51 +471,42 @@ public float getX() { return x_; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** - * - * *
      * X coordinate.
      * 
* * float x = 1; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_; + private float y_ ; /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return The y. */ @java.lang.Override @@ -561,43 +514,37 @@ public float getY() { return y_; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** - * - * *
      * Y coordinate.
      * 
* * float y = 2; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -607,13 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(); } @@ -622,16 +568,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..b2c7c11b9 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface NormalizedVertexOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * @return The x. + */ + float getX(); + + /** + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * @return The y. + */ + float getY(); +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java index 11ef147dc..b7d824b79 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ObjectTrackingAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ObjectTrackingAnnotation() { frames_ = 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 ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,75 +54,59 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame>(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.parser(), - extensionRegistry)); - break; + entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = - ((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_) - .toBuilder(); - } - trackInfo_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); - } - trackInfoCase_ = 3; - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 37: - { - confidence_ = input.readFloat(); - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.parser(), extensionRegistry)); + break; + } + case 26: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_).toBuilder(); } - case 40: - { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; + trackInfo_ = + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + trackInfoCase_ = 3; + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + case 40: { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +114,8 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -156,34 +124,28 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public enum TrackInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; - private TrackInfoCase(int value) { this.value = value; } @@ -199,37 +161,31 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: - return SEGMENT; - case 5: - return TRACK_ID; - case 0: - return TRACKINFO_NOT_SET; - default: - return null; + case 3: return SEGMENT; + case 5: return TRACK_ID; + case 0: return TRACKINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -237,27 +193,22 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance(); } /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -268,15 +219,13 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-      return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_;
+       return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -287,7 +236,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ @java.lang.Override @@ -295,8 +243,6 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -307,7 +253,6 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; - * * @return The trackId. */ @java.lang.Override @@ -321,14 +266,11 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -336,25 +278,18 @@ public boolean hasEntity() { return entity_ != null; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -369,14 +304,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -387,8 +319,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -399,13 +329,10 @@ public float getConfidence() {
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getFramesList() {
+  public java.util.List getFramesList() {
     return frames_;
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -416,14 +343,11 @@ public float getConfidence() {
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>
+  public java.util.List 
       getFramesOrBuilderList() {
     return frames_;
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -438,8 +362,6 @@ public int getFramesCount() {
     return frames_.size();
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -454,8 +376,6 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
     return frames_.get(index);
   }
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -466,13 +386,12 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder
-      getFramesOrBuilder(int index) {
+  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
+      int index) {
     return frames_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -484,7 +403,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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -492,14 +412,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, frames_.get(i));
     }
     if (trackInfoCase_ == 3) {
-      output.writeMessage(
-          3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
+      output.writeMessage(3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
     }
     if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
       output.writeFloat(4, confidence_);
     }
     if (trackInfoCase_ == 5) {
-      output.writeInt64(5, (long) ((java.lang.Long) trackInfo_));
+      output.writeInt64(
+          5, (long)((java.lang.Long) trackInfo_));
     }
     unknownFields.writeTo(output);
   }
@@ -511,23 +431,25 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < frames_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, frames_.get(i));
     }
     if (trackInfoCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
     }
     if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeFloatSize(4, confidence_);
     }
     if (trackInfoCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeInt64Size(
-              5, (long) ((java.lang.Long) trackInfo_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(
+            5, (long)((java.lang.Long) trackInfo_));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -537,28 +459,32 @@ 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other =
-        (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) obj;
+    com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity().equals(other.getEntity())) return false;
+      if (!getEntity()
+          .equals(other.getEntity())) return false;
     }
     if (java.lang.Float.floatToIntBits(getConfidence())
-        != java.lang.Float.floatToIntBits(other.getConfidence())) return false;
-    if (!getFramesList().equals(other.getFramesList())) return false;
+        != java.lang.Float.floatToIntBits(
+            other.getConfidence())) return false;
+    if (!getFramesList()
+        .equals(other.getFramesList())) return false;
     if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false;
     switch (trackInfoCase_) {
       case 3:
-        if (!getSegment().equals(other.getSegment())) return false;
+        if (!getSegment()
+            .equals(other.getSegment())) return false;
         break;
       case 5:
-        if (getTrackId() != other.getTrackId()) return false;
+        if (getTrackId()
+            != other.getTrackId()) return false;
         break;
       case 0:
       default:
@@ -579,7 +505,8 @@ public int hashCode() {
       hash = (53 * hash) + getEntity().hashCode();
     }
     hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER;
-    hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence());
+    hash = (53 * hash) + java.lang.Float.floatToIntBits(
+        getConfidence());
     if (getFramesCount() > 0) {
       hash = (37 * hash) + FRAMES_FIELD_NUMBER;
       hash = (53 * hash) + getFramesList().hashCode();
@@ -591,7 +518,8 @@ public int hashCode() {
         break;
       case 5:
         hash = (37 * hash) + TRACK_ID_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+            getTrackId());
         break;
       case 0:
       default:
@@ -602,147 +530,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation
-      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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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;
   }
   /**
-   *
-   *
    * 
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -766,16 +682,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance(); } @java.lang.Override @@ -789,8 +703,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation bui @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -826,51 +739,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation bui 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -895,30 +803,26 @@ public Builder mergeFrom( framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } } } switch (other.getTrackInfoCase()) { - case SEGMENT: - { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: - { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: - { - break; - } + case SEGMENT: { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -939,9 +843,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -950,12 +852,12 @@ public Builder mergeFrom( } return this; } - private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - - public TrackInfoCase getTrackInfoCase() { - return TrackInfoCase.forNumber(trackInfoCase_); + public TrackInfoCase + getTrackInfoCase() { + return TrackInfoCase.forNumber( + trackInfoCase_); } public Builder clearTrackInfo() { @@ -968,20 +870,14 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -989,15 +885,12 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return The segment. */ @java.lang.Override @@ -1015,8 +908,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { } } /** - * - * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1038,8 +929,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1059,8 +948,6 @@ public Builder setSegment(
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1070,14 +957,10 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3
-            && trackInfo_
-                != com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ =
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(
-                      (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trackInfoCase_ == 3 &&
+            trackInfo_ != com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ = com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -1093,8 +976,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1119,8 +1000,6 @@ public Builder clearSegment() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1132,8 +1011,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1142,8 +1019,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder
-        getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
       if ((trackInfoCase_ == 3) && (segmentBuilder_ != null)) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
@@ -1154,8 +1030,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       }
     }
     /**
-     *
-     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1164,34 +1038,25 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
-          trackInfo_ =
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
+          trackInfo_ = com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return segmentBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1202,15 +1067,12 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1221,7 +1083,6 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; - * * @return The trackId. */ public long getTrackId() { @@ -1231,8 +1092,6 @@ public long getTrackId() { return 0L; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1243,7 +1102,6 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; - * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1254,8 +1112,6 @@ public Builder setTrackId(long value) { return this; } /** - * - * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1266,7 +1122,6 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; - * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1280,47 +1135,34 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> - entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1341,8 +1183,6 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1361,8 +1201,6 @@ public Builder setEntity( return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1373,9 +1211,7 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } @@ -1387,8 +1223,6 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1407,8 +1241,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1416,13 +1248,11 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1433,14 +1263,11 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null - ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() - : entity_; + return entity_ == null ? + com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1448,32 +1275,26 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, - com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return The confidence. */ @java.lang.Override @@ -1481,62 +1302,48 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private java.util.List - frames_ = java.util.Collections.emptyList(); - + private java.util.List frames_ = + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame>(frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1544,11 +1351,9 @@ private void ensureFramesIsMutable() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List - getFramesList() { + public java.util.List getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -1556,8 +1361,6 @@ private void ensureFramesIsMutable() { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1565,8 +1368,7 @@ private void ensureFramesIsMutable() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -1576,8 +1378,6 @@ public int getFramesCount() { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1585,8 +1385,7 @@ public int getFramesCount() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -1596,8 +1395,6 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1605,8 +1402,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { @@ -1623,8 +1419,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1632,12 +1426,10 @@ public Builder setFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder setFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1648,8 +1440,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1657,11 +1447,9 @@ public Builder setFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public Builder addFrames( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { + public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1675,8 +1463,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1684,8 +1470,7 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { @@ -1702,8 +1487,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1711,8 +1494,7 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { @@ -1726,8 +1508,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1735,12 +1515,10 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder addFrames( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1751,8 +1529,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1760,16 +1536,14 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder addAllFrames( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame> - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1777,8 +1551,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1786,8 +1558,7 @@ public Builder addAllFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -1800,8 +1571,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1809,8 +1578,7 @@ public Builder clearFrames() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -1823,8 +1591,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1832,16 +1598,13 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder - getFramesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder getFramesBuilder( + int index) { return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1849,20 +1612,16 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder - getFramesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( + int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1870,12 +1629,10 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1883,8 +1640,6 @@ public Builder removeFrames(int index) { } } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1892,19 +1647,13 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder - addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder addFramesBuilder() { + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1912,20 +1661,14 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder - addFramesBuilder(int index) { - return getFramesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder addFramesBuilder( + int index) { + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()); } /** - * - * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1933,33 +1676,29 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1969,32 +1708,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2006,8 +1743,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java index f2e40d9d7..25838828b 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingAnnotationOrBuilder - extends +public interface ObjectTrackingAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -62,8 +38,6 @@ public interface ObjectTrackingAnnotationOrBuilder
   com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
-   *
-   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -74,13 +48,10 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** - * - * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -91,38 +62,29 @@ public interface ObjectTrackingAnnotationOrBuilder
    * 
* * int64 track_id = 5; - * * @return The trackId. */ long getTrackId(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; - * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** - * - * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -132,21 +94,16 @@ public interface ObjectTrackingAnnotationOrBuilder com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -156,10 +113,9 @@ public interface ObjectTrackingAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List getFramesList();
+  java.util.List 
+      getFramesList();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -171,8 +127,6 @@ public interface ObjectTrackingAnnotationOrBuilder
    */
   com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrames(int index);
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -184,8 +138,6 @@ public interface ObjectTrackingAnnotationOrBuilder
    */
   int getFramesCount();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -195,12 +147,9 @@ public interface ObjectTrackingAnnotationOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>
+  java.util.List 
       getFramesOrBuilderList();
   /**
-   *
-   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -213,6 +162,5 @@ public interface ObjectTrackingAnnotationOrBuilder
   com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
       int index);
 
-  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.TrackInfoCase
-      getTrackInfoCase();
+  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase();
 }
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
similarity index 66%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
index a12b1f308..10487d7e6 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
- *
- *
  * 
  * Config for OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig} */ -public final class ObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ObjectTrackingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) ObjectTrackingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ObjectTrackingConfig.newBuilder() to construct. private ObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ObjectTrackingConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ObjectTrackingConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1p3beta1.ObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other = - (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.ObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.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(); @@ -379,14 +345,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance(); } @@ -401,8 +366,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig result = - new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(this); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(this); result.model_ = model_; onBuilt(); return result; @@ -412,50 +376,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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) { + 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.videointelligence.v1p3beta1.ObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -479,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -502,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -517,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -526,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -541,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -550,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -573,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -592,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java index a160c93ea..b34a10a4c 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingConfigOrBuilder - extends +public interface ObjectTrackingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ObjectTrackingConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ObjectTrackingConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java index 8bf811cb3..2d055f709 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ObjectTrackingFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ObjectTrackingFrame() {}
+  private ObjectTrackingFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,46 +53,39 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder
-                  subBuilder = null;
-              if (normalizedBoundingBox_ != null) {
-                subBuilder = normalizedBoundingBox_.toBuilder();
-              }
-              normalizedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedBoundingBox_);
-                normalizedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder subBuilder = null;
+            if (normalizedBoundingBox_ != null) {
+              subBuilder = normalizedBoundingBox_.toBuilder();
+            }
+            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(normalizedBoundingBox_);
+              normalizedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
+            }
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = 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,41 +93,34 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class,
-            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
-   *
-   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -158,53 +128,37 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -212,14 +166,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -227,8 +178,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
@@ -241,7 +190,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +201,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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -270,11 +219,12 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +234,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.videointelligence.v1p3beta1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other = - (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox() + .equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,104 +276,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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; } /** - * - * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -430,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1p3beta1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class,
-              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.newBuilder()
@@ -454,15 +395,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();
@@ -482,14 +424,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance();
     }
 
@@ -504,8 +445,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame result =
-          new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -524,50 +464,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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) {
+        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.videointelligence.v1p3beta1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()) return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -593,9 +529,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -605,66 +539,43 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
-        normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>
-        normalizedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,19 +589,14 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -701,25 +607,17 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder mergeNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder( - normalizedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -731,15 +629,11 @@ public Builder mergeNormalizedBoundingBox( return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -753,67 +647,48 @@ public Builder clearNormalizedBoundingBox() { return this; } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } } /** - * - * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), getParentForChildren(), isClean()); + normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), + getParentForChildren(), + isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -821,47 +696,34 @@ public Builder clearNormalizedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -882,15 +744,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -901,8 +762,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -913,7 +772,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -925,8 +784,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -945,8 +802,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -954,13 +809,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -971,14 +824,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * The timestamp of the frame in microseconds.
      * 
@@ -986,24 +836,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -1013,32 +860,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1050,8 +895,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java similarity index 59% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java index def091f5c..38428797d 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java @@ -1,97 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingFrameOrBuilder - extends +public interface ObjectTrackingFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** - * - * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java index fe09f6cdb..538245305 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Person detection annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation} */ -public final class PersonDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PersonDetectionAnnotation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) PersonDetectionAnnotationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PersonDetectionAnnotation.newBuilder() to construct. private PersonDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PersonDetectionAnnotation() { tracks_ = 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 PersonDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PersonDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private PersonDetectionAnnotation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tracks_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.Track.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tracks_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private PersonDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -107,27 +87,22 @@ private PersonDetectionAnnotation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 1; private java.util.List tracks_; /** - * - * *
    * The detected tracks of a person.
    * 
@@ -139,8 +114,6 @@ public java.util.List getTra return tracks_; } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -148,13 +121,11 @@ public java.util.List getTra * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -166,8 +137,6 @@ public int getTracksCount() { return tracks_.size(); } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -179,8 +148,6 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { return tracks_.get(index); } /** - * - * *
    * The detected tracks of a person.
    * 
@@ -188,12 +155,12 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( + int index) { return tracks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +172,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 < tracks_.size(); i++) { output.writeMessage(1, tracks_.get(i)); } @@ -219,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tracks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,15 +198,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.videointelligence.v1p3beta1.PersonDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) obj; - if (!getTracksList().equals(other.getTracksList())) return false; + if (!getTracksList() + .equals(other.getTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -259,147 +228,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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; } /** - * - * *
    * Person detection annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation} */ - 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.videointelligence.v1p3beta1.PersonDetectionAnnotation) com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.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) { getTracksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,22 +370,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -437,8 +391,7 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = - new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -457,51 +410,46 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation bu 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.videointelligence.v1p3beta1.PersonDetectionAnnotation) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -520,10 +468,9 @@ public Builder mergeFrom( tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTracksFieldBuilder() - : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTracksFieldBuilder() : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -548,9 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,29 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - tracks_ = - new java.util.ArrayList(tracks_); + tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> - tracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_; /** - * - * *
      * The detected tracks of a person.
      * 
@@ -596,8 +533,6 @@ public java.util.List getTra } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -612,8 +547,6 @@ public int getTracksCount() { } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -628,15 +561,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { } } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder setTracks( + int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -650,8 +582,6 @@ public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1 return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -670,8 +600,6 @@ public Builder setTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -692,15 +620,14 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu return this; } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder addTracks( + int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,8 +641,6 @@ public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1 return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -734,8 +659,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -754,8 +677,6 @@ public Builder addTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -766,7 +687,8 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -774,8 +696,6 @@ public Builder addAllTracks( return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -793,8 +713,6 @@ public Builder clearTracks() { return this; } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -812,20 +730,17 @@ public Builder removeTracks(int index) { return this; } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder( + int index) { return getTracksFieldBuilder().getBuilder(index); } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -835,22 +750,19 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); - } else { + return tracks_.get(index); } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -858,8 +770,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu } } /** - * - * *
      * The detected tracks of a person.
      * 
@@ -867,56 +777,49 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + return getTracksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) { - return getTracksFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder( + int index) { + return getTracksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** - * - * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder, - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + tracks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tracks_ = null; } return tracksBuilder_; } - @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); } @@ -926,32 +829,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -963,8 +864,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java index 315ecb9b9..1d8cf4fbe 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface PersonDetectionAnnotationOrBuilder - extends +public interface PersonDetectionAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - java.util.List getTracksList(); + java.util.List + getTracksList(); /** - * - * *
    * The detected tracks of a person.
    * 
@@ -44,8 +25,6 @@ public interface PersonDetectionAnnotationOrBuilder */ com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index); /** - * - * *
    * The detected tracks of a person.
    * 
@@ -54,24 +33,21 @@ public interface PersonDetectionAnnotationOrBuilder */ int getTracksCount(); /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** - * - * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java similarity index 69% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java index fde7554e4..6cb5ec107 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for PERSON_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig} */ -public final class PersonDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PersonDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) PersonDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PersonDetectionConfig.newBuilder() to construct. private PersonDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PersonDetectionConfig() {} + private PersonDetectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PersonDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PersonDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,28 @@ private PersonDetectionConfig( case 0: done = true; break; - case 8: - { - includeBoundingBoxes_ = input.readBool(); - break; - } - case 16: - { - includePoseLandmarks_ = input.readBool(); - break; - } - case 24: - { - includeAttributes_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + includeBoundingBoxes_ = input.readBool(); + break; + } + case 16: { + + includePoseLandmarks_ = input.readBool(); + break; + } + case 24: { + + includeAttributes_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,40 +81,35 @@ private PersonDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); } public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 1; private boolean includeBoundingBoxes_; /** - * - * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -141,15 +120,12 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_POSE_LANDMARKS_FIELD_NUMBER = 2; private boolean includePoseLandmarks_; /** - * - * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ @java.lang.Override @@ -160,8 +136,6 @@ public boolean getIncludePoseLandmarks() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 3; private boolean includeAttributes_; /** - * - * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -170,7 +144,6 @@ public boolean getIncludePoseLandmarks() {
    * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ @java.lang.Override @@ -179,7 +152,6 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +163,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 (includeBoundingBoxes_ != false) { output.writeBool(1, includeBoundingBoxes_); } @@ -211,13 +184,16 @@ public int getSerializedSize() { size = 0; if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, includeBoundingBoxes_); } if (includePoseLandmarks_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includePoseLandmarks_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, includePoseLandmarks_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAttributes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,17 +203,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.videointelligence.v1p3beta1.PersonDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) obj; - if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; - if (getIncludePoseLandmarks() != other.getIncludePoseLandmarks()) return false; - if (getIncludeAttributes() != other.getIncludeAttributes()) return false; + if (getIncludeBoundingBoxes() + != other.getIncludeBoundingBoxes()) return false; + if (getIncludePoseLandmarks() + != other.getIncludePoseLandmarks()) return false; + if (getIncludeAttributes() + != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -250,156 +228,148 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_POSE_LANDMARKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePoseLandmarks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludePoseLandmarks()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig} */ - 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.videointelligence.v1p3beta1.PersonDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.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(); @@ -413,16 +383,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance(); } @java.lang.Override @@ -436,8 +404,7 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig build( @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(this); result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includePoseLandmarks_ = includePoseLandmarks_; result.includeAttributes_ = includeAttributes_; @@ -449,51 +416,46 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig buildP 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.videointelligence.v1p3beta1.PersonDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance()) return this; if (other.getIncludeBoundingBoxes() != false) { setIncludeBoundingBoxes(other.getIncludeBoundingBoxes()); } @@ -522,9 +484,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,17 +494,14 @@ public Builder mergeFrom( return this; } - private boolean includeBoundingBoxes_; + private boolean includeBoundingBoxes_ ; /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -552,54 +509,45 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** - * - * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; - * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includePoseLandmarks_; + private boolean includePoseLandmarks_ ; /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ @java.lang.Override @@ -607,47 +555,39 @@ public boolean getIncludePoseLandmarks() { return includePoseLandmarks_; } /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @param value The includePoseLandmarks to set. * @return This builder for chaining. */ public Builder setIncludePoseLandmarks(boolean value) { - + includePoseLandmarks_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; - * * @return This builder for chaining. */ public Builder clearIncludePoseLandmarks() { - + includePoseLandmarks_ = false; onChanged(); return this; } - private boolean includeAttributes_; + private boolean includeAttributes_ ; /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -656,7 +596,6 @@ public Builder clearIncludePoseLandmarks() {
      * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ @java.lang.Override @@ -664,8 +603,6 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -674,19 +611,16 @@ public boolean getIncludeAttributes() {
      * 
* * bool include_attributes = 3; - * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -695,18 +629,17 @@ public Builder setIncludeAttributes(boolean value) {
      * 
* * bool include_attributes = 3; - * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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,32 +649,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,8 +684,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java index dcf4482a2..0f0319279 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java @@ -1,59 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface PersonDetectionConfigOrBuilder - extends +public interface PersonDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; - * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** - * - * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; - * * @return The includePoseLandmarks. */ boolean getIncludePoseLandmarks(); /** - * - * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -62,7 +38,6 @@ public interface PersonDetectionConfigOrBuilder
    * 
* * bool include_attributes = 3; - * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java index a6b76cfcd..3fea9be82 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model = 1; - * * @return The model. */ @java.lang.Override @@ -134,15 +111,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -150,15 +126,16 @@ public java.lang.String getModel() {
    * 
* * string model = 1; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -203,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.videointelligence.v1p3beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) obj; - if (!getModel().equals(other.getModel())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.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(); @@ -379,22 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +366,7 @@ public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -414,51 +376,46 @@ public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -482,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -505,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -520,8 +473,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -529,14 +480,15 @@ public java.lang.String getModel() {
      * 
* * string model = 1; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -544,8 +496,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -553,22 +503,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 1; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -576,18 +524,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 1; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -595,23 +540,23 @@ public Builder clearModel() {
      * 
* * string model = 1; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -621,32 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +601,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java index a7adee463..a2f616a73 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ShotChangeDetectionConfigOrBuilder - extends +public interface ShotChangeDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -33,13 +15,10 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -47,8 +26,8 @@ public interface ShotChangeDetectionConfigOrBuilder
    * 
* * string model = 1; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java index 6e46b2d52..908d2a024 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechContext}
  */
-public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpeechContext extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechContext)
     SpeechContextOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,23 +55,22 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                phrases_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              phrases_.add(s);
-              break;
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              phrases_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            phrases_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -96,7 +78,8 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -105,27 +88,22 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class,
-            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
-   *
-   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -136,15 +114,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_; } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -155,15 +131,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -174,7 +147,6 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -182,8 +154,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -194,16 +164,15 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +184,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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -244,15 +214,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.videointelligence.v1p3beta1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechContext other = - (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechContext other = (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) obj; - if (!getPhrasesList().equals(other.getPhrasesList())) return false; + if (!getPhrasesList() + .equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -274,104 +244,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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; } /** - * - * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -379,23 +341,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechContext}
    */
-  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.videointelligence.v1p3beta1.SpeechContext)
       com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class,
-              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechContext.newBuilder()
@@ -403,15 +363,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();
@@ -421,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -442,8 +403,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.SpeechContext result =
-          new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1p3beta1.SpeechContext result = new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -458,39 +418,38 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechContext) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechContext)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,8 +457,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()) return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -529,8 +487,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -539,21 +496,16 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -564,15 +516,13 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList getPhrasesList() { + public com.google.protobuf.ProtocolStringList + getPhrasesList() { return phrases_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -583,15 +533,12 @@ public com.google.protobuf.ProtocolStringList getPhrasesList() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -602,7 +549,6 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -610,8 +556,6 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -622,16 +566,14 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString getPhrasesBytes(int index) { + public com.google.protobuf.ByteString + getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -642,23 +584,21 @@ public com.google.protobuf.ByteString getPhrasesBytes(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases(int index, java.lang.String value) { + public Builder setPhrases( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -669,22 +609,20 @@ public Builder setPhrases(int index, java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases(java.lang.String value) { + public Builder addPhrases( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -695,19 +633,18 @@ public Builder addPhrases(java.lang.String value) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases(java.lang.Iterable values) { + public Builder addAllPhrases( + java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, phrases_); onChanged(); return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -718,7 +655,6 @@ public Builder addAllPhrases(java.lang.Iterable values) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -728,8 +664,6 @@ public Builder clearPhrases() { return this; } /** - * - * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -740,23 +674,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -766,12 +700,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechContext) private static final com.google.cloud.videointelligence.v1p3beta1.SpeechContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(); } @@ -780,16 +714,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java index 6377a6ba8..05e3305db 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechContextOrBuilder - extends +public interface SpeechContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -36,13 +18,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the phrases. */ - java.util.List getPhrasesList(); + java.util.List + getPhrasesList(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -53,13 +33,10 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of phrases. */ int getPhrasesCount(); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -70,14 +47,11 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** - * - * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -88,9 +62,9 @@ public interface SpeechContextOrBuilder
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString getPhrasesBytes(int index); + com.google.protobuf.ByteString + getPhrasesBytes(int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java similarity index 67% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java index 35d70f7d3..5fc187549 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechRecognitionAlternative extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,33 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - transcript_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.WordInfo>(); - mutable_bitField0_ |= 0x00000001; - } - words_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.WordInfo.parser(), - extensionRegistry)); - break; + transcript_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + words_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.WordInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,7 +89,8 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -121,34 +99,27 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder.class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ @java.lang.Override @@ -157,29 +128,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getTranscriptBytes() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -213,86 +181,66 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getWordsList() { return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) { return words_.get(index); } /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( @@ -301,7 +249,6 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +260,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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -336,10 +284,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -349,19 +299,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.videointelligence.v1p3beta1.SpeechRecognitionAlternative)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other = - (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) obj; - if (!getTranscript().equals(other.getTranscript())) return false; + if (!getTranscript() + .equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getWordsList().equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getWordsList() + .equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,7 +327,8 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -387,148 +339,135 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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; } /** - * - * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -546,22 +485,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative build() { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -569,10 +505,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = - new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(this); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -593,52 +527,46 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -664,10 +592,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -688,14 +615,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parsedMessage = - null; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,25 +628,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object transcript_ = ""; /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -731,21 +652,20 @@ public java.lang.String getTranscript() { } } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString getTranscriptBytes() { + public com.google.protobuf.ByteString + getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -753,70 +673,61 @@ public com.google.protobuf.ByteString getTranscriptBytes() { } } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript(java.lang.String value) { + public Builder setTranscript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** - * - * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; - * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -827,7 +738,6 @@ public Builder setTranscriptBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -835,8 +745,6 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -847,19 +755,16 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -870,45 +775,35 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList(words_); + words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, - com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> - wordsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> wordsBuilder_; /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getWordsList() { if (wordsBuilder_ == null) { @@ -918,17 +813,13 @@ public java.util.List get } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -938,17 +829,13 @@ public int getWordsCount() { } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) { if (wordsBuilder_ == null) { @@ -958,17 +845,13 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { @@ -985,17 +868,13 @@ public Builder setWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -1009,17 +888,13 @@ public Builder setWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords(com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { if (wordsBuilder_ == null) { @@ -1035,17 +910,13 @@ public Builder addWords(com.google.cloud.videointelligence.v1p3beta1.WordInfo va return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { @@ -1062,17 +933,13 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords( com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -1086,17 +953,13 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -1110,24 +973,20 @@ public Builder addWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllWords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -1135,17 +994,13 @@ public Builder addAllWords( return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -1158,17 +1013,13 @@ public Builder clearWords() { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -1181,58 +1032,45 @@ public Builder removeWords(int index) { return this; } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder getWordsBuilder( int index) { return getWordsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( int index) { if (wordsBuilder_ == null) { - return words_.get(index); - } else { + return words_.get(index); } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1240,78 +1078,62 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOr } } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder addWordsBuilder( int index) { - return getWordsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); } /** - * - * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, - com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, - com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, - com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder>( - words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder>( + words_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; } - @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); } @@ -1321,33 +1143,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1359,8 +1178,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java index e9f89d22a..89070190f 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,56 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechRecognitionAlternativeOrBuilder - extends +public interface SpeechRecognitionAlternativeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The transcript. */ java.lang.String getTranscript(); /** - * - * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; - * * @return The bytes for transcript. */ - com.google.protobuf.ByteString getTranscriptBytes(); + com.google.protobuf.ByteString + getTranscriptBytes(); /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -61,80 +38,61 @@ public interface SpeechRecognitionAlternativeOrBuilder
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getWordsList(); + java.util.List + getWordsList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getWordsCount(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getWordsOrBuilderList(); /** - * - * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java similarity index 66% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java index 4601bbc50..63c0e6269 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscription} */ -public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscription extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) SpeechTranscriptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscription() { alternatives_ = java.util.Collections.emptyList(); languageCode_ = ""; @@ -44,15 +26,16 @@ private SpeechTranscription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,28 @@ private SpeechTranscription( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1 - .SpeechRecognitionAlternative>(); - mutable_bitField0_ |= 0x00000001; - } - alternatives_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + alternatives_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + languageCode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,7 +84,8 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -118,28 +94,22 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List - alternatives_; + private java.util.List alternatives_; /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -147,18 +117,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -166,20 +131,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + public java.util.List getAlternativesOrBuilderList() { return alternatives_; } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -187,17 +146,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override public int getAlternativesCount() { return alternatives_.size(); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -205,18 +160,13 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index) { return alternatives_.get(index); } /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -224,21 +174,17 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { return alternatives_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -246,7 +192,6 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ @java.lang.Override @@ -255,15 +200,14 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -271,15 +215,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -288,7 +233,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +244,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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -317,7 +262,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, alternatives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); @@ -330,16 +276,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.videointelligence.v1p3beta1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other = - (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) obj; - if (!getAlternativesList().equals(other.getAlternativesList())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getAlternativesList() + .equals(other.getAlternativesList())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,127 +310,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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; } /** - * - * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscription} */ - 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.videointelligence.v1p3beta1.SpeechTranscription) com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.newBuilder() @@ -491,17 +428,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) { getAlternativesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -517,14 +454,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance(); } @@ -539,8 +475,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription result = - new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription result = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -560,50 +495,46 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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) { + 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.videointelligence.v1p3beta1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()) return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -622,10 +553,9 @@ public Builder mergeFrom( alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAlternativesFieldBuilder() - : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAlternativesFieldBuilder() : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -654,9 +584,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,32 +593,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative> - alternatives_ = java.util.Collections.emptyList(); - + private java.util.List alternatives_ = + java.util.Collections.emptyList(); private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative>( - alternatives_); + alternatives_ = new java.util.ArrayList(alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> - alternativesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -698,12 +615,9 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List - getAlternativesList() { + public java.util.List getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -711,8 +625,6 @@ private void ensureAlternativesIsMutable() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -720,9 +632,7 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -732,8 +642,6 @@ public int getAlternativesCount() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -741,12 +649,9 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -754,8 +659,6 @@ public int getAlternativesCount() { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -763,13 +666,10 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,8 +683,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -792,14 +690,10 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder setAlternatives( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -810,8 +704,6 @@ public Builder setAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -819,12 +711,9 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public Builder addAlternatives( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + public Builder addAlternatives(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -838,8 +727,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -847,13 +734,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -867,8 +751,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -876,13 +758,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -893,8 +772,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -902,14 +779,10 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAlternatives( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -920,8 +793,6 @@ public Builder addAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -929,17 +800,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder addAllAlternatives( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative> - values) { + java.lang.Iterable values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -947,8 +815,6 @@ public Builder addAllAlternatives( return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -956,9 +822,7 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -971,8 +835,6 @@ public Builder clearAlternatives() { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -980,9 +842,7 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -995,8 +855,6 @@ public Builder removeAlternatives(int index) { return this; } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1004,17 +862,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - getAlternativesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( + int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1022,21 +876,16 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); - } else { + return alternatives_.get(index); } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1044,14 +893,10 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> - getAlternativesOrBuilderList() { + public java.util.List + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -1059,8 +904,6 @@ public Builder removeAlternatives(int index) { } } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1068,20 +911,13 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder() { - return getAlternativesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { + return getAlternativesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1089,21 +925,14 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder - addAlternativesBuilder(int index) { - return getAlternativesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( + int index) { + return getAlternativesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()); } /** - * - * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -1111,28 +940,22 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder> - getAlternativesBuilderList() { + public java.util.List + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); alternatives_ = null; } return alternativesBuilder_; @@ -1140,8 +963,6 @@ public Builder removeAlternatives(int index) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1149,13 +970,13 @@ public Builder removeAlternatives(int index) {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -1164,8 +985,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1173,14 +992,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1188,8 +1008,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1197,22 +1015,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1220,18 +1036,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1239,23 +1052,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1265,32 +1078,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1302,8 +1113,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java index dad85f7cb..7e22648f3 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpeechTranscriptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,87 +56,79 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: - { - maxAlternatives_ = input.readInt32(); - break; - } - case 24: - { - filterProfanity_ = input.readBool(); - break; + languageCode_ = s; + break; + } + case 16: { + + maxAlternatives_ = input.readInt32(); + break; + } + case 24: { + + filterProfanity_ = input.readBool(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext>(); - mutable_bitField0_ |= 0x00000001; - } - speechContexts_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.parser(), - extensionRegistry)); - break; + speechContexts_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechContext.parser(), extensionRegistry)); + break; + } + case 40: { + + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { - enableAutomaticPunctuation_ = input.readBool(); - break; + audioTracks_.addInt(input.readInt32()); + break; + } + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; } - case 48: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } + while (input.getBytesUntilLimit() > 0) { audioTracks_.addInt(input.readInt32()); - break; - } - case 50: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; - } - while (input.getBytesUntilLimit() > 0) { - audioTracks_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } - case 56: - { - enableSpeakerDiarization_ = input.readBool(); - break; - } - case 64: - { - diarizationSpeakerCount_ = input.readInt32(); - break; } - case 72: - { - enableWordConfidence_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + case 56: { + + enableSpeakerDiarization_ = input.readBool(); + break; + } + case 64: { + + diarizationSpeakerCount_ = input.readInt32(); + break; + } + case 72: { + + enableWordConfidence_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -161,7 +136,8 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -173,27 +149,22 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -203,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ @java.lang.Override @@ -212,15 +182,14 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -230,15 +199,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -249,8 +219,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -260,7 +228,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -271,8 +238,6 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -281,7 +246,6 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -290,93 +254,68 @@ public boolean getFilterProfanity() { } public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; - private java.util.List - speechContexts_; + private java.util.List speechContexts_; /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> + public java.util.List getSpeechContextsOrBuilderList() { return speechContexts_; } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder - getSpeechContextsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( + int index) { return speechContexts_.get(index); } public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -387,7 +326,6 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechConte
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -398,60 +336,49 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List getAudioTracksList() { + public java.util.List + getAudioTracksList() { return audioTracks_; } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } - private int audioTracksMemoizedSerializedSize = -1; public static final int ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER = 7; private boolean enableSpeakerDiarization_; /** - * - * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -463,7 +390,6 @@ public int getAudioTracks(int index) {
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -474,8 +400,6 @@ public boolean getEnableSpeakerDiarization() { public static final int DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER = 8; private int diarizationSpeakerCount_; /** - * - * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -483,7 +407,6 @@ public boolean getEnableSpeakerDiarization() {
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -494,8 +417,6 @@ public int getDiarizationSpeakerCount() { public static final int ENABLE_WORD_CONFIDENCE_FIELD_NUMBER = 9; private boolean enableWordConfidence_; /** - * - * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -503,7 +424,6 @@ public int getDiarizationSpeakerCount() {
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ @java.lang.Override @@ -512,7 +432,6 @@ public boolean getEnableWordConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -524,7 +443,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -570,38 +490,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } if (enableSpeakerDiarization_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSpeakerDiarization_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, enableSpeakerDiarization_); } if (diarizationSpeakerCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diarizationSpeakerCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, diarizationSpeakerCount_); } if (enableWordConfidence_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enableWordConfidence_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, enableWordConfidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -611,23 +539,31 @@ 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() != other.getMaxAlternatives()) return false; - if (getFilterProfanity() != other.getFilterProfanity()) return false; - if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; - if (getEnableSpeakerDiarization() != other.getEnableSpeakerDiarization()) return false; - if (getDiarizationSpeakerCount() != other.getDiarizationSpeakerCount()) return false; - if (getEnableWordConfidence() != other.getEnableWordConfidence()) return false; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() + != other.getMaxAlternatives()) return false; + if (getFilterProfanity() + != other.getFilterProfanity()) return false; + if (!getSpeechContextsList() + .equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() + != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList() + .equals(other.getAudioTracksList())) return false; + if (getEnableSpeakerDiarization() + != other.getEnableSpeakerDiarization()) return false; + if (getDiarizationSpeakerCount() + != other.getDiarizationSpeakerCount()) return false; + if (getEnableWordConfidence() + != other.getEnableWordConfidence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -644,170 +580,162 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); } hash = (37 * hash) + ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpeakerDiarization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableSpeakerDiarization()); hash = (37 * hash) + DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiarizationSpeakerCount(); hash = (37 * hash) + ENABLE_WORD_CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWordConfidence()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableWordConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.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) { getSpeechContextsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -837,22 +765,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -861,8 +786,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -893,51 +817,46 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig bu 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance()) return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -966,10 +885,9 @@ public Builder mergeFrom( speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechContextsFieldBuilder() - : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechContextsFieldBuilder() : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -1016,9 +934,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1027,13 +943,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object languageCode_ = ""; /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1043,13 +956,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -1058,8 +971,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1069,14 +980,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1084,8 +996,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1095,22 +1005,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1120,18 +1028,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1141,25 +1046,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_; + private int maxAlternatives_ ; /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1169,7 +1072,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ @java.lang.Override @@ -1177,8 +1079,6 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1188,19 +1088,16 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1210,20 +1107,17 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_; + private boolean filterProfanity_ ; /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1232,7 +1126,6 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ @java.lang.Override @@ -1240,8 +1133,6 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1250,19 +1141,16 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1271,47 +1159,35 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } - private java.util.List - speechContexts_ = java.util.Collections.emptyList(); - + private java.util.List speechContexts_ = + java.util.Collections.emptyList(); private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = - new java.util.ArrayList( - speechContexts_); + speechContexts_ = new java.util.ArrayList(speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> - speechContextsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> speechContextsBuilder_; /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsList() { + public java.util.List getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1319,15 +1195,11 @@ private void ensureSpeechContextsIsMutable() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1337,15 +1209,11 @@ public int getSpeechContextsCount() { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1355,15 +1223,11 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechConte } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { @@ -1380,19 +1244,14 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSpeechContexts( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.set(index, builderForValue.build()); @@ -1403,18 +1262,13 @@ public Builder setSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addSpeechContexts( - com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { + public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { if (speechContextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1428,15 +1282,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { @@ -1453,15 +1303,11 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { @@ -1475,19 +1321,14 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addSpeechContexts( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.add(index, builderForValue.build()); @@ -1498,22 +1339,18 @@ public Builder addSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllSpeechContexts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1521,15 +1358,11 @@ public Builder addAllSpeechContexts( return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1542,15 +1375,11 @@ public Builder clearSpeechContexts() { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1563,53 +1392,39 @@ public Builder removeSpeechContexts(int index) { return this; } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder - getSpeechContextsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder getSpeechContextsBuilder( + int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder - getSpeechContextsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( + int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); - } else { + return speechContexts_.get(index); } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> - getSpeechContextsOrBuilderList() { + public java.util.List + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1617,67 +1432,45 @@ public Builder removeSpeechContexts(int index) { } } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder - addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpeechContextsBuilder() { + return getSpeechContextsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder - addSpeechContextsBuilder(int index) { - return getSpeechContextsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpeechContextsBuilder( + int index) { + return getSpeechContextsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); } /** - * - * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder>( + speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1687,10 +1480,8 @@ public Builder removeSpeechContexts(int index) { return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_; + private boolean enableAutomaticPunctuation_ ; /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1701,7 +1492,6 @@ public Builder removeSpeechContexts(int index) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1709,8 +1499,6 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1721,19 +1509,16 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1744,66 +1529,55 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); - private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ - public java.util.List getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(audioTracks_) - : audioTracks_; + public java.util.List + getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1811,35 +1585,30 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks(int index, int value) { + public Builder setAudioTracks( + int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1850,34 +1619,30 @@ public Builder addAudioTracks(int value) { return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks(java.lang.Iterable values) { + public Builder addAllAudioTracks( + java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, audioTracks_); onChanged(); return this; } /** - * - * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1887,10 +1652,8 @@ public Builder clearAudioTracks() { return this; } - private boolean enableSpeakerDiarization_; + private boolean enableSpeakerDiarization_ ; /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1902,7 +1665,6 @@ public Builder clearAudioTracks() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -1910,8 +1672,6 @@ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; } /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1923,19 +1683,16 @@ public boolean getEnableSpeakerDiarization() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableSpeakerDiarization to set. * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { - + enableSpeakerDiarization_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1947,20 +1704,17 @@ public Builder setEnableSpeakerDiarization(boolean value) {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { - + enableSpeakerDiarization_ = false; onChanged(); return this; } - private int diarizationSpeakerCount_; + private int diarizationSpeakerCount_ ; /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1968,7 +1722,6 @@ public Builder clearEnableSpeakerDiarization() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -1976,8 +1729,6 @@ public int getDiarizationSpeakerCount() { return diarizationSpeakerCount_; } /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1985,19 +1736,16 @@ public int getDiarizationSpeakerCount() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The diarizationSpeakerCount to set. * @return This builder for chaining. */ public Builder setDiarizationSpeakerCount(int value) { - + diarizationSpeakerCount_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -2005,20 +1753,17 @@ public Builder setDiarizationSpeakerCount(int value) {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDiarizationSpeakerCount() { - + diarizationSpeakerCount_ = 0; onChanged(); return this; } - private boolean enableWordConfidence_; + private boolean enableWordConfidence_ ; /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2026,7 +1771,6 @@ public Builder clearDiarizationSpeakerCount() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ @java.lang.Override @@ -2034,8 +1778,6 @@ public boolean getEnableWordConfidence() { return enableWordConfidence_; } /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2043,19 +1785,16 @@ public boolean getEnableWordConfidence() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The enableWordConfidence to set. * @return This builder for chaining. */ public Builder setEnableWordConfidence(boolean value) { - + enableWordConfidence_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -2063,18 +1802,17 @@ public Builder setEnableWordConfidence(boolean value) {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEnableWordConfidence() { - + enableWordConfidence_ = 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); } @@ -2084,32 +1822,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2121,8 +1857,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java similarity index 78% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java index 23bf8e4d3..9dcc97fe6 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechTranscriptionConfigOrBuilder - extends +public interface SpeechTranscriptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -35,13 +17,10 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -51,14 +30,12 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -68,14 +45,11 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxAlternatives. */ int getMaxAlternatives(); /** - * - * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -84,78 +58,55 @@ public interface SpeechTranscriptionConfigOrBuilder
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filterProfanity. */ boolean getFilterProfanity(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSpeechContextsList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getSpeechContextsCount(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** - * - * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** - * - * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -166,55 +117,43 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of audioTracks. */ int getAudioTracksCount(); /** - * - * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The audioTracks at the given index. */ int getAudioTracks(int index); /** - * - * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -226,14 +165,11 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); /** - * - * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -241,14 +177,11 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The diarizationSpeakerCount. */ int getDiarizationSpeakerCount(); /** - * - * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -256,7 +189,6 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The enableWordConfidence. */ boolean getEnableWordConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java index 203f66b0a..0c3dfdf78 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechTranscriptionOrBuilder - extends +public interface SpeechTranscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -33,15 +15,11 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List + java.util.List getAlternativesList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,15 +27,10 @@ public interface SpeechTranscriptionOrBuilder
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives( - int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -65,14 +38,10 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ int getAlternativesCount(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -80,17 +49,11 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + java.util.List getAlternativesOrBuilderList(); /** - * - * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -98,16 +61,12 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; */ - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder - getAlternativesOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( + int index); /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -115,13 +74,10 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlt
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -129,8 +85,8 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlt
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java index fdff05874..5f575506f 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * The top-level message sent by the client for the `StreamingAnnotateVideo`
  * method. Multiple `StreamingAnnotateVideoRequest` messages are sent.
@@ -30,29 +13,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest}
  */
-public final class StreamingAnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamingAnnotateVideoRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
     StreamingAnnotateVideoRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamingAnnotateVideoRequest.newBuilder() to construct.
   private StreamingAnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StreamingAnnotateVideoRequest() {}
+  private StreamingAnnotateVideoRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamingAnnotateVideoRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StreamingAnnotateVideoRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,42 +55,32 @@ private StreamingAnnotateVideoRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder subBuilder =
-                  null;
-              if (streamingRequestCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-                            streamingRequest_)
-                        .toBuilder();
-              }
-              streamingRequest_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-                        streamingRequest_);
-                streamingRequest_ = subBuilder.buildPartial();
-              }
-              streamingRequestCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder subBuilder = null;
+            if (streamingRequestCase_ == 1) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_).toBuilder();
             }
-          case 18:
-            {
-              streamingRequest_ = input.readBytes();
-              streamingRequestCase_ = 2;
-              break;
+            streamingRequest_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_);
+              streamingRequest_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            streamingRequestCase_ = 1;
+            break;
+          }
+          case 18: {
+            streamingRequest_ = input.readBytes();
+            streamingRequestCase_ = 2;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,41 +88,35 @@ private StreamingAnnotateVideoRequest(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder
-                .class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder.class);
   }
 
   private int streamingRequestCase_ = 0;
   private java.lang.Object streamingRequest_;
-
   public enum StreamingRequestCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VIDEO_CONFIG(1),
     INPUT_CONTENT(2),
     STREAMINGREQUEST_NOT_SET(0);
     private final int value;
-
     private StreamingRequestCase(int value) {
       this.value = value;
     }
@@ -164,30 +132,25 @@ public static StreamingRequestCase valueOf(int value) {
 
     public static StreamingRequestCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return VIDEO_CONFIG;
-        case 2:
-          return INPUT_CONTENT;
-        case 0:
-          return STREAMINGREQUEST_NOT_SET;
-        default:
-          return null;
+        case 1: return VIDEO_CONFIG;
+        case 2: return INPUT_CONTENT;
+        case 0: return STREAMINGREQUEST_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamingRequestCase getStreamingRequestCase() {
-    return StreamingRequestCase.forNumber(streamingRequestCase_);
+  public StreamingRequestCase
+  getStreamingRequestCase() {
+    return StreamingRequestCase.forNumber(
+        streamingRequestCase_);
   }
 
   public static final int VIDEO_CONFIG_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -195,7 +158,6 @@ public StreamingRequestCase getStreamingRequestCase() {
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return Whether the videoConfig field is set. */ @java.lang.Override @@ -203,8 +165,6 @@ public boolean hasVideoConfig() { return streamingRequestCase_ == 1; } /** - * - * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -212,19 +172,16 @@ public boolean hasVideoConfig() {
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return The videoConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig() { if (streamingRequestCase_ == 1) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; } return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); } /** - * - * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -234,18 +191,15 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
    * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
-      getVideoConfigOrBuilder() {
+  public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder() {
     if (streamingRequestCase_ == 1) {
-      return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
+       return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
     }
     return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
   }
 
   public static final int INPUT_CONTENT_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -257,7 +211,6 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
    * 
* * bytes input_content = 2; - * * @return Whether the inputContent field is set. */ @java.lang.Override @@ -265,8 +218,6 @@ public boolean hasInputContent() { return streamingRequestCase_ == 2; } /** - * - * *
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -278,7 +229,6 @@ public boolean hasInputContent() {
    * 
* * bytes input_content = 2; - * * @return The inputContent. */ @java.lang.Override @@ -290,7 +240,6 @@ public com.google.protobuf.ByteString getInputContent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,13 +251,14 @@ 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 (streamingRequestCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); + output.writeMessage(1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); } if (streamingRequestCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) streamingRequest_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) streamingRequest_); } unknownFields.writeTo(output); } @@ -320,16 +270,13 @@ public int getSerializedSize() { size = 0; if (streamingRequestCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) - streamingRequest_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); } if (streamingRequestCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) streamingRequest_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) streamingRequest_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -339,22 +286,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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) obj; if (!getStreamingRequestCase().equals(other.getStreamingRequestCase())) return false; switch (streamingRequestCase_) { case 1: - if (!getVideoConfig().equals(other.getVideoConfig())) return false; + if (!getVideoConfig() + .equals(other.getVideoConfig())) return false; break; case 2: - if (!getInputContent().equals(other.getInputContent())) return false; + if (!getInputContent() + .equals(other.getInputContent())) return false; break; case 0: default: @@ -387,111 +334,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest 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; } /** - * - * *
    * The top-level message sent by the client for the `StreamingAnnotateVideo`
    * method. Multiple `StreamingAnnotateVideoRequest` messages are sent.
@@ -501,41 +434,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest}
    */
-  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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
       com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class,
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder
-                  .class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.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();
@@ -545,22 +475,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -568,10 +495,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoReques
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
-        buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result =
-          new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(this);
       if (streamingRequestCase_ == 1) {
         if (videoConfigBuilder_ == null) {
           result.streamingRequest_ = streamingRequest_;
@@ -591,67 +516,58 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoReques
     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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) other);
+      if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) {
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance()) return this;
       switch (other.getStreamingRequestCase()) {
-        case VIDEO_CONFIG:
-          {
-            mergeVideoConfig(other.getVideoConfig());
-            break;
-          }
-        case INPUT_CONTENT:
-          {
-            setInputContent(other.getInputContent());
-            break;
-          }
-        case STREAMINGREQUEST_NOT_SET:
-          {
-            break;
-          }
+        case VIDEO_CONFIG: {
+          mergeVideoConfig(other.getVideoConfig());
+          break;
+        }
+        case INPUT_CONTENT: {
+          setInputContent(other.getInputContent());
+          break;
+        }
+        case STREAMINGREQUEST_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -668,14 +584,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parsedMessage =
-          null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -684,12 +597,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int streamingRequestCase_ = 0;
     private java.lang.Object streamingRequest_;
-
-    public StreamingRequestCase getStreamingRequestCase() {
-      return StreamingRequestCase.forNumber(streamingRequestCase_);
+    public StreamingRequestCase
+        getStreamingRequestCase() {
+      return StreamingRequestCase.forNumber(
+          streamingRequestCase_);
     }
 
     public Builder clearStreamingRequest() {
@@ -699,14 +612,10 @@ public Builder clearStreamingRequest() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>
-        videoConfigBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder> videoConfigBuilder_;
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -714,7 +623,6 @@ public Builder clearStreamingRequest() {
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return Whether the videoConfig field is set. */ @java.lang.Override @@ -722,8 +630,6 @@ public boolean hasVideoConfig() { return streamingRequestCase_ == 1; } /** - * - * *
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -731,29 +637,23 @@ public boolean hasVideoConfig() {
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return The videoConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig() { if (videoConfigBuilder_ == null) { if (streamingRequestCase_ == 1) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) - streamingRequest_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); } else { if (streamingRequestCase_ == 1) { return videoConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); } } /** - * - * *
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -762,8 +662,7 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public Builder setVideoConfig(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
+    public Builder setVideoConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
       if (videoConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -777,8 +676,6 @@ public Builder setVideoConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -799,8 +696,6 @@ public Builder setVideoConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -809,19 +704,12 @@ public Builder setVideoConfig(
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public Builder mergeVideoConfig(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
+    public Builder mergeVideoConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
       if (videoConfigBuilder_ == null) {
-        if (streamingRequestCase_ == 1
-            && streamingRequest_
-                != com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
-                    .getDefaultInstance()) {
-          streamingRequest_ =
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder(
-                      (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-                          streamingRequest_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (streamingRequestCase_ == 1 &&
+            streamingRequest_ != com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance()) {
+          streamingRequest_ = com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_)
+              .mergeFrom(value).buildPartial();
         } else {
           streamingRequest_ = value;
         }
@@ -837,8 +725,6 @@ public Builder mergeVideoConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -864,8 +750,6 @@ public Builder clearVideoConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -874,13 +758,10 @@ public Builder clearVideoConfig() {
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder
-        getVideoConfigBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder getVideoConfigBuilder() {
       return getVideoConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -890,22 +771,17 @@ public Builder clearVideoConfig() {
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
-        getVideoConfigOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder() {
       if ((streamingRequestCase_ == 1) && (videoConfigBuilder_ != null)) {
         return videoConfigBuilder_.getMessageOrBuilder();
       } else {
         if (streamingRequestCase_ == 1) {
-          return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-              streamingRequest_;
+          return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
         }
-        return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
-            .getDefaultInstance();
+        return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
       }
     }
     /**
-     *
-     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -915,36 +791,25 @@ public Builder clearVideoConfig() {
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder> 
         getVideoConfigFieldBuilder() {
       if (videoConfigBuilder_ == null) {
         if (!(streamingRequestCase_ == 1)) {
-          streamingRequest_ =
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
-                  .getDefaultInstance();
+          streamingRequest_ = com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
         }
-        videoConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
-                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>(
-                (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-                    streamingRequest_,
+        videoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>(
+                (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_,
                 getParentForChildren(),
                 isClean());
         streamingRequest_ = null;
       }
       streamingRequestCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return videoConfigBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -956,15 +821,12 @@ public Builder clearVideoConfig() {
      * 
* * bytes input_content = 2; - * * @return Whether the inputContent field is set. */ public boolean hasInputContent() { return streamingRequestCase_ == 2; } /** - * - * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -976,7 +838,6 @@ public boolean hasInputContent() {
      * 
* * bytes input_content = 2; - * * @return The inputContent. */ public com.google.protobuf.ByteString getInputContent() { @@ -986,8 +847,6 @@ public com.google.protobuf.ByteString getInputContent() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -999,22 +858,19 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 2; - * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - streamingRequestCase_ = 2; + throw new NullPointerException(); + } + streamingRequestCase_ = 2; streamingRequest_ = value; onChanged(); return this; } /** - * - * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -1026,7 +882,6 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 2; - * * @return This builder for chaining. */ public Builder clearInputContent() { @@ -1037,9 +892,9 @@ public Builder clearInputContent() { } 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); } @@ -1049,33 +904,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,8 +939,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java index b1398edba..4f4782ce7 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAnnotateVideoRequestOrBuilder - extends +public interface StreamingAnnotateVideoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -33,13 +15,10 @@ public interface StreamingAnnotateVideoRequestOrBuilder
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return Whether the videoConfig field is set. */ boolean hasVideoConfig(); /** - * - * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -47,13 +26,10 @@ public interface StreamingAnnotateVideoRequestOrBuilder
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; - * * @return The videoConfig. */ com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig(); /** - * - * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -62,12 +38,9 @@ public interface StreamingAnnotateVideoRequestOrBuilder
    *
    * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
    */
-  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
-      getVideoConfigOrBuilder();
+  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -79,13 +52,10 @@ public interface StreamingAnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 2; - * * @return Whether the inputContent field is set. */ boolean hasInputContent(); /** - * - * *
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -97,12 +67,9 @@ public interface StreamingAnnotateVideoRequestOrBuilder
    * 
* * bytes input_content = 2; - * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest - .StreamingRequestCase - getStreamingRequestCase(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java similarity index 62% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java index cbe9c5cb4..a1283c5c4 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * `StreamingAnnotateVideoResponse` is the only message returned to the client
  * by `StreamingAnnotateVideo`. A series of zero or more
@@ -29,32 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse}
  */
-public final class StreamingAnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamingAnnotateVideoResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
     StreamingAnnotateVideoResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamingAnnotateVideoResponse.newBuilder() to construct.
-  private StreamingAnnotateVideoResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private StreamingAnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamingAnnotateVideoResponse() {
     annotationResultsUri_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamingAnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StreamingAnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,53 +55,45 @@ private StreamingAnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              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;
+          case 10: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
-                  subBuilder = null;
-              if (annotationResults_ != null) {
-                subBuilder = annotationResults_.toBuilder();
-              }
-              annotationResults_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(annotationResults_);
-                annotationResults_ = subBuilder.buildPartial();
-              }
-
-              break;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              annotationResultsUri_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder subBuilder = null;
+            if (annotationResults_ != null) {
+              subBuilder = annotationResults_.toBuilder();
+            }
+            annotationResults_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(annotationResults_);
+              annotationResults_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            annotationResultsUri_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -127,41 +101,35 @@ private StreamingAnnotateVideoResponse(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder
-                .class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder.class);
   }
 
   public static final int ERROR_FIELD_NUMBER = 1;
   private com.google.rpc.Status error_;
   /**
-   *
-   *
    * 
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; - * * @return Whether the error field is set. */ @java.lang.Override @@ -169,15 +137,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; - * * @return The error. */ @java.lang.Override @@ -185,8 +150,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
@@ -200,19 +163,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 2;
-  private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-      annotationResults_;
+  private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotationResults_;
   /**
-   *
-   *
    * 
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return Whether the annotationResults field is set. */ @java.lang.Override @@ -220,48 +177,32 @@ public boolean hasAnnotationResults() { return annotationResults_ != null; } /** - * - * *
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return The annotationResults. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - getAnnotationResults() { - return annotationResults_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - .getDefaultInstance() - : annotationResults_; + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults() { + return annotationResults_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; } /** - * - * *
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder() { return getAnnotationResults(); } public static final int ANNOTATION_RESULTS_URI_FIELD_NUMBER = 3; private volatile java.lang.Object annotationResultsUri_; /** - * - * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -270,7 +211,6 @@ public boolean hasAnnotationResults() {
    * 
* * string annotation_results_uri = 3; - * * @return The annotationResultsUri. */ @java.lang.Override @@ -279,15 +219,14 @@ public java.lang.String getAnnotationResultsUri() { 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(); annotationResultsUri_ = s; return s; } } /** - * - * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -296,15 +235,16 @@ public java.lang.String getAnnotationResultsUri() {
    * 
* * string annotation_results_uri = 3; - * * @return The bytes for annotationResultsUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { + public com.google.protobuf.ByteString + getAnnotationResultsUriBytes() { java.lang.Object ref = annotationResultsUri_; 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); annotationResultsUri_ = b; return b; } else { @@ -313,7 +253,6 @@ public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +264,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 (error_ != null) { output.writeMessage(1, getError()); } @@ -345,10 +285,12 @@ public int getSerializedSize() { size = 0; if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getError()); } if (annotationResults_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnnotationResults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnnotationResults()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultsUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, annotationResultsUri_); @@ -361,24 +303,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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (hasAnnotationResults() != other.hasAnnotationResults()) return false; if (hasAnnotationResults()) { - if (!getAnnotationResults().equals(other.getAnnotationResults())) return false; + if (!getAnnotationResults() + .equals(other.getAnnotationResults())) return false; } - if (!getAnnotationResultsUri().equals(other.getAnnotationResultsUri())) return false; + if (!getAnnotationResultsUri() + .equals(other.getAnnotationResultsUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,111 +348,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse 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; } /** - * - * *
    * `StreamingAnnotateVideoResponse` is the only message returned to the client
    * by `StreamingAnnotateVideo`. A series of zero or more
@@ -518,41 +447,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse}
    */
-  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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class,
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder
-                  .class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.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();
@@ -574,22 +500,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -597,10 +520,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRespon
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-        buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result =
-          new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(this);
       if (errorBuilder_ == null) {
         result.error_ = error_;
       } else {
@@ -620,52 +541,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRespon
     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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) other);
+      if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) {
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance()) return this;
       if (other.hasError()) {
         mergeError(other.getError());
       }
@@ -691,14 +606,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parsedMessage =
-          null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -710,33 +622,26 @@ public Builder mergeFrom(
 
     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_;
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
      * 
* * .google.rpc.Status error = 1; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
      * 
* * .google.rpc.Status error = 1; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -747,8 +652,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -770,8 +673,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -779,7 +680,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 1;
      */
-    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();
@@ -790,8 +692,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -802,7 +702,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;
         }
@@ -814,8 +715,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -835,8 +734,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -845,13 +742,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 1;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -863,12 +758,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -877,79 +771,56 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 1;
      */
     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_;
     }
 
-    private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-        annotationResults_;
+    private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotationResults_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder>
-        annotationResultsBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
     /**
-     *
-     *
      * 
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return Whether the annotationResults field is set. */ public boolean hasAnnotationResults() { return annotationResultsBuilder_ != null || annotationResults_ != null; } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return The annotationResults. */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - getAnnotationResults() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults() { if (annotationResultsBuilder_ == null) { - return annotationResults_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - .getDefaultInstance() - : annotationResults_; + return annotationResults_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; } else { return annotationResultsBuilder_.getMessage(); } } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ - public Builder setAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { + public Builder setAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -963,19 +834,14 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ public Builder setAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { annotationResults_ = builderForValue.build(); onChanged(); @@ -986,25 +852,17 @@ public Builder setAnnotationResults( return this; } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ - public Builder mergeAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { + public Builder mergeAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (annotationResults_ != null) { annotationResults_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - .newBuilder(annotationResults_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.newBuilder(annotationResults_).mergeFrom(value).buildPartial(); } else { annotationResults_ = value; } @@ -1016,15 +874,11 @@ public Builder mergeAnnotationResults( return this; } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -1038,69 +892,48 @@ public Builder clearAnnotationResults() { return this; } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder - getAnnotationResultsBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder getAnnotationResultsBuilder() { + onChanged(); return getAnnotationResultsFieldBuilder().getBuilder(); } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilder(); } else { - return annotationResults_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - .getDefaultInstance() - : annotationResults_; + return annotationResults_ == null ? + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; } } /** - * - * *
      * Streaming annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingVideoAnnotationResultsOrBuilder>( - getAnnotationResults(), getParentForChildren(), isClean()); + annotationResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder>( + getAnnotationResults(), + getParentForChildren(), + isClean()); annotationResults_ = null; } return annotationResultsBuilder_; @@ -1108,8 +941,6 @@ public Builder clearAnnotationResults() { private java.lang.Object annotationResultsUri_ = ""; /** - * - * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1118,13 +949,13 @@ public Builder clearAnnotationResults() {
      * 
* * string annotation_results_uri = 3; - * * @return The annotationResultsUri. */ public java.lang.String getAnnotationResultsUri() { java.lang.Object ref = annotationResultsUri_; 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(); annotationResultsUri_ = s; return s; @@ -1133,8 +964,6 @@ public java.lang.String getAnnotationResultsUri() { } } /** - * - * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1143,14 +972,15 @@ public java.lang.String getAnnotationResultsUri() {
      * 
* * string annotation_results_uri = 3; - * * @return The bytes for annotationResultsUri. */ - public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { + public com.google.protobuf.ByteString + getAnnotationResultsUriBytes() { java.lang.Object ref = annotationResultsUri_; 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); annotationResultsUri_ = b; return b; } else { @@ -1158,8 +988,6 @@ public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { } } /** - * - * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1168,22 +996,20 @@ public com.google.protobuf.ByteString getAnnotationResultsUriBytes() {
      * 
* * string annotation_results_uri = 3; - * * @param value The annotationResultsUri to set. * @return This builder for chaining. */ - public Builder setAnnotationResultsUri(java.lang.String value) { + public Builder setAnnotationResultsUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationResultsUri_ = value; onChanged(); return this; } /** - * - * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1192,18 +1018,15 @@ public Builder setAnnotationResultsUri(java.lang.String value) {
      * 
* * string annotation_results_uri = 3; - * * @return This builder for chaining. */ public Builder clearAnnotationResultsUri() { - + annotationResultsUri_ = getDefaultInstance().getAnnotationResultsUri(); onChanged(); return this; } /** - * - * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1212,23 +1035,23 @@ public Builder clearAnnotationResultsUri() {
      * 
* * string annotation_results_uri = 3; - * * @param value The bytes for annotationResultsUri to set. * @return This builder for chaining. */ - public Builder setAnnotationResultsUriBytes(com.google.protobuf.ByteString value) { + public Builder setAnnotationResultsUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationResultsUri_ = 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); } @@ -1238,33 +1061,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1276,8 +1096,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java index f1b2677bc..f65afb336 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAnnotateVideoResponseOrBuilder - extends +public interface StreamingAnnotateVideoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
@@ -62,51 +38,33 @@ public interface StreamingAnnotateVideoResponseOrBuilder
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
-   *
-   *
    * 
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return Whether the annotationResults field is set. */ boolean hasAnnotationResults(); /** - * - * *
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; * @return The annotationResults. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - getAnnotationResults(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults(); /** - * - * *
    * Streaming annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(); /** - * - * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -115,13 +73,10 @@ public interface StreamingAnnotateVideoResponseOrBuilder
    * 
* * string annotation_results_uri = 3; - * * @return The annotationResultsUri. */ java.lang.String getAnnotationResultsUri(); /** - * - * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -130,8 +85,8 @@ public interface StreamingAnnotateVideoResponseOrBuilder
    * 
* * string annotation_results_uri = 3; - * * @return The bytes for annotationResultsUri. */ - com.google.protobuf.ByteString getAnnotationResultsUriBytes(); + com.google.protobuf.ByteString + getAnnotationResultsUriBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java index 6088d3d2a..497cfe0bb 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java @@ -1,60 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
  * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} */ -public final class StreamingAutomlActionRecognitionConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingAutomlActionRecognitionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) StreamingAutomlActionRecognitionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingAutomlActionRecognitionConfig.newBuilder() to construct. - private StreamingAutomlActionRecognitionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlActionRecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingAutomlActionRecognitionConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingAutomlActionRecognitionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingAutomlActionRecognitionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,20 +53,19 @@ private StreamingAutomlActionRecognitionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + modelName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,42 +73,35 @@ private StreamingAutomlActionRecognitionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder.class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The modelName. */ @java.lang.Override @@ -138,30 +110,30 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getModelNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -206,17 +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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) obj; - if (!getModelName().equals(other.getModelName())) return false; + if (!getModelName() + .equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,155 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig 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; } /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.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(); @@ -393,23 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = - buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -417,11 +363,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig( - this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(this); result.modelName_ = modelName_; onBuilt(); return result; @@ -431,54 +374,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -498,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -540,22 +470,21 @@ public java.lang.String getModelName() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -563,71 +492,64 @@ public com.google.protobuf.ByteString getModelNameBytes() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName(java.lang.String value) { + public Builder setModelName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes(com.google.protobuf.ByteString value) { + public Builder setModelNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -637,34 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlActionRecognitionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlActionRecognitionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlActionRecognitionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlActionRecognitionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,8 +594,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java index 56f53d3b3..68e16301e 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java @@ -1,52 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlActionRecognitionConfigOrBuilder - extends +public interface StreamingAutomlActionRecognitionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The modelName. */ java.lang.String getModelName(); /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - com.google.protobuf.ByteString getModelNameBytes(); + com.google.protobuf.ByteString + getModelNameBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java index f394eec64..8c536c636 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java @@ -1,60 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_AUTOML_CLASSIFICATION.
  * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} */ -public final class StreamingAutomlClassificationConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingAutomlClassificationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) StreamingAutomlClassificationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingAutomlClassificationConfig.newBuilder() to construct. - private StreamingAutomlClassificationConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlClassificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingAutomlClassificationConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingAutomlClassificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingAutomlClassificationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,20 +53,19 @@ private StreamingAutomlClassificationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + modelName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,34 +73,29 @@ private StreamingAutomlClassificationConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder.class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** - * - * *
    * Resource name of AutoML model.
    * Format:
@@ -129,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string model_name = 1; - * * @return The modelName. */ @java.lang.Override @@ -138,15 +111,14 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** - * - * *
    * Resource name of AutoML model.
    * Format:
@@ -154,15 +126,16 @@ public java.lang.String getModelName() {
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getModelNameBytes() { } 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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -207,17 +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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) obj; - if (!getModelName().equals(other.getModelName())) return false; + if (!getModelName() + .equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,154 +207,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig 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; } /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.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(); @@ -393,23 +345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = - buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -417,11 +365,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig( - this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(this); result.modelName_ = modelName_; onBuilt(); return result; @@ -431,54 +376,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -498,14 +435,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** - * - * *
      * Resource name of AutoML model.
      * Format:
@@ -526,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string model_name = 1; - * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -541,8 +473,6 @@ public java.lang.String getModelName() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format:
@@ -550,14 +480,15 @@ public java.lang.String getModelName() {
      * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -565,8 +496,6 @@ public com.google.protobuf.ByteString getModelNameBytes() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format:
@@ -574,22 +503,20 @@ public com.google.protobuf.ByteString getModelNameBytes() {
      * 
* * string model_name = 1; - * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName(java.lang.String value) { + public Builder setModelName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format:
@@ -597,18 +524,15 @@ public Builder setModelName(java.lang.String value) {
      * 
* * string model_name = 1; - * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format:
@@ -616,23 +540,23 @@ public Builder clearModelName() {
      * 
* * string model_name = 1; - * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes(com.google.protobuf.ByteString value) { + public Builder setModelNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -642,34 +566,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - private static final com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlClassificationConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlClassificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlClassificationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlClassificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlClassificationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -681,8 +601,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java index 017b12a71..4b4b596f4 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlClassificationConfigOrBuilder - extends +public interface StreamingAutomlClassificationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of AutoML model.
    * Format:
@@ -33,13 +15,10 @@ public interface StreamingAutomlClassificationConfigOrBuilder
    * 
* * string model_name = 1; - * * @return The modelName. */ java.lang.String getModelName(); /** - * - * *
    * Resource name of AutoML model.
    * Format:
@@ -47,8 +26,8 @@ public interface StreamingAutomlClassificationConfigOrBuilder
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - com.google.protobuf.ByteString getModelNameBytes(); + com.google.protobuf.ByteString + getModelNameBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java index 26f2905d5..5f3fc2fec 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java @@ -1,60 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_AUTOML_OBJECT_TRACKING.
  * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} */ -public final class StreamingAutomlObjectTrackingConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingAutomlObjectTrackingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) StreamingAutomlObjectTrackingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingAutomlObjectTrackingConfig.newBuilder() to construct. - private StreamingAutomlObjectTrackingConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingAutomlObjectTrackingConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingAutomlObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingAutomlObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,20 +53,19 @@ private StreamingAutomlObjectTrackingConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + modelName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,41 +73,35 @@ private StreamingAutomlObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder.class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The modelName. */ @java.lang.Override @@ -137,30 +110,30 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getModelNameBytes() { } 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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -205,17 +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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) obj; - if (!getModelName().equals(other.getModelName())) return false; + if (!getModelName() + .equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,154 +205,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig 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; } /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.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(); @@ -391,23 +343,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = - buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,11 +363,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig( - this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(this); result.modelName_ = modelName_; onBuilt(); return result; @@ -429,54 +374,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -496,14 +433,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -515,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -538,22 +470,21 @@ public java.lang.String getModelName() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -561,71 +492,64 @@ public com.google.protobuf.ByteString getModelNameBytes() { } } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName(java.lang.String value) { + public Builder setModelName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** - * - * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; - * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes(com.google.protobuf.ByteString value) { + public Builder setModelNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -635,34 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlObjectTrackingConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -674,8 +594,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java index 2fa169512..09fe80836 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java @@ -1,52 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlObjectTrackingConfigOrBuilder - extends +public interface StreamingAutomlObjectTrackingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The modelName. */ java.lang.String getModelName(); /** - * - * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - com.google.protobuf.ByteString getModelNameBytes(); + com.google.protobuf.ByteString + getModelNameBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java similarity index 50% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java index c6f326dc1..bec8c39c6 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java @@ -1,58 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
  * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} */ -public final class StreamingExplicitContentDetectionConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingExplicitContentDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) StreamingExplicitContentDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingExplicitContentDetectionConfig.newBuilder() to construct. - private StreamingExplicitContentDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamingExplicitContentDetectionConfig() {} + private StreamingExplicitContentDetectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,13 +52,13 @@ private StreamingExplicitContentDetectionConfig( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,32 +66,27 @@ private StreamingExplicitContentDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,7 +98,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 { unknownFields.writeTo(output); } @@ -140,15 +117,12 @@ 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -166,156 +140,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig 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; } /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .class, - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.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(); @@ -323,23 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = - buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,11 +296,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig( - this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(this); onBuilt(); return result; } @@ -360,55 +306,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -424,14 +361,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -440,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -452,34 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,8 +421,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java new file mode 100644 index 000000000..435b3bb86 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingExplicitContentDetectionConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java index dd7bd8035..9059d1774 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java @@ -1,36 +1,18 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Streaming video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.StreamingFeature} */ -public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum { +public enum StreamingFeature + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_FEATURE_UNSPECIFIED(0), /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -49,8 +29,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_LABEL_DETECTION(1), /** - * - * *
    * Shot change detection.
    * 
@@ -59,8 +37,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_SHOT_CHANGE_DETECTION(2), /** - * - * *
    * Explicit content detection.
    * 
@@ -69,8 +45,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_EXPLICIT_CONTENT_DETECTION(3), /** - * - * *
    * Object detection and tracking.
    * 
@@ -79,8 +53,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_OBJECT_TRACKING(4), /** - * - * *
    * Action recognition based on AutoML model.
    * 
@@ -89,8 +61,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_AUTOML_ACTION_RECOGNITION(23), /** - * - * *
    * Video classification based on AutoML model.
    * 
@@ -99,8 +69,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ STREAMING_AUTOML_CLASSIFICATION(21), /** - * - * *
    * Object detection and tracking based on AutoML model.
    * 
@@ -112,8 +80,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Unspecified.
    * 
@@ -122,8 +88,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_FEATURE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -132,8 +96,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_LABEL_DETECTION_VALUE = 1; /** - * - * *
    * Shot change detection.
    * 
@@ -142,8 +104,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_SHOT_CHANGE_DETECTION_VALUE = 2; /** - * - * *
    * Explicit content detection.
    * 
@@ -152,8 +112,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** - * - * *
    * Object detection and tracking.
    * 
@@ -162,8 +120,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_OBJECT_TRACKING_VALUE = 4; /** - * - * *
    * Action recognition based on AutoML model.
    * 
@@ -172,8 +128,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_AUTOML_ACTION_RECOGNITION_VALUE = 23; /** - * - * *
    * Video classification based on AutoML model.
    * 
@@ -182,8 +136,6 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_AUTOML_CLASSIFICATION_VALUE = 21; /** - * - * *
    * Object detection and tracking based on AutoML model.
    * 
@@ -192,6 +144,7 @@ public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAMING_AUTOML_OBJECT_TRACKING_VALUE = 22; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,62 +169,54 @@ public static StreamingFeature valueOf(int value) { */ public static StreamingFeature forNumber(int value) { switch (value) { - case 0: - return STREAMING_FEATURE_UNSPECIFIED; - case 1: - return STREAMING_LABEL_DETECTION; - case 2: - return STREAMING_SHOT_CHANGE_DETECTION; - case 3: - return STREAMING_EXPLICIT_CONTENT_DETECTION; - case 4: - return STREAMING_OBJECT_TRACKING; - case 23: - return STREAMING_AUTOML_ACTION_RECOGNITION; - case 21: - return STREAMING_AUTOML_CLASSIFICATION; - case 22: - return STREAMING_AUTOML_OBJECT_TRACKING; - default: - return null; + case 0: return STREAMING_FEATURE_UNSPECIFIED; + case 1: return STREAMING_LABEL_DETECTION; + case 2: return STREAMING_SHOT_CHANGE_DETECTION; + case 3: return STREAMING_EXPLICIT_CONTENT_DETECTION; + case 4: return STREAMING_OBJECT_TRACKING; + case 23: return STREAMING_AUTOML_ACTION_RECOGNITION; + case 21: return STREAMING_AUTOML_CLASSIFICATION; + case 22: return STREAMING_AUTOML_OBJECT_TRACKING; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StreamingFeature findValueByNumber(int number) { - return StreamingFeature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + StreamingFeature> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StreamingFeature findValueByNumber(int number) { + return StreamingFeature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); } private static final StreamingFeature[] VALUES = values(); - public static StreamingFeature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StreamingFeature 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; @@ -287,3 +232,4 @@ private StreamingFeature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.StreamingFeature) } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java index cfbaeb567..f848276d2 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig} */ -public final class StreamingLabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingLabelDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) StreamingLabelDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingLabelDetectionConfig.newBuilder() to construct. private StreamingLabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamingLabelDetectionConfig() {} + private StreamingLabelDetectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingLabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingLabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,18 +52,18 @@ private StreamingLabelDetectionConfig( case 0: done = true; break; - case 8: - { - stationaryCamera_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + stationaryCamera_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +71,29 @@ private StreamingLabelDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder.class); } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 1; private boolean stationaryCamera_; /** - * - * *
    * Whether the video has been captured from a stationary (i.e. non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -122,7 +101,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool stationary_camera = 1; - * * @return The stationaryCamera. */ @java.lang.Override @@ -131,7 +109,6 @@ public boolean getStationaryCamera() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +120,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 (stationaryCamera_ != false) { output.writeBool(1, stationaryCamera_); } @@ -157,7 +135,8 @@ public int getSerializedSize() { size = 0; if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, stationaryCamera_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -167,16 +146,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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) obj; - if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (getStationaryCamera() + != other.getStationaryCamera()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -189,158 +167,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStationaryCamera()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig 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; } /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.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(); @@ -350,22 +312,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -373,10 +332,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfi } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(this); result.stationaryCamera_ = stationaryCamera_; onBuilt(); return result; @@ -386,52 +343,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfi 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance()) return this; if (other.getStationaryCamera() != false) { setStationaryCamera(other.getStationaryCamera()); } @@ -450,14 +401,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -467,10 +415,8 @@ public Builder mergeFrom( return this; } - private boolean stationaryCamera_; + private boolean stationaryCamera_ ; /** - * - * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -478,7 +424,6 @@ public Builder mergeFrom(
      * 
* * bool stationary_camera = 1; - * * @return The stationaryCamera. */ @java.lang.Override @@ -486,8 +431,6 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** - * - * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -495,19 +438,16 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 1; - * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** - * - * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -515,18 +455,17 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 1; - * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = 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); } @@ -536,33 +475,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingLabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingLabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingLabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingLabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -574,8 +510,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java similarity index 50% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java index b3dcd9e9c..b2f16d83d 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingLabelDetectionConfigOrBuilder - extends +public interface StreamingLabelDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether the video has been captured from a stationary (i.e. non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -33,7 +15,6 @@ public interface StreamingLabelDetectionConfigOrBuilder
    * 
* * bool stationary_camera = 1; - * * @return The stationaryCamera. */ boolean getStationaryCamera(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java similarity index 53% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java index 4772be86f..c28994906 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig} */ -public final class StreamingObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingObjectTrackingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) StreamingObjectTrackingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingObjectTrackingConfig.newBuilder() to construct. private StreamingObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamingObjectTrackingConfig() {} + private StreamingObjectTrackingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private StreamingObjectTrackingConfig( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,31 +66,27 @@ private StreamingObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,7 +98,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 { unknownFields.writeTo(output); } @@ -136,14 +117,12 @@ 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -161,152 +140,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig 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; } /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.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(); @@ -314,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -337,10 +296,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfi } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(this); onBuilt(); return result; } @@ -349,52 +306,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfi 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -410,14 +361,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parsedMessage = - null; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -426,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -438,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -476,8 +421,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java new file mode 100644 index 000000000..828b142f0 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingObjectTrackingConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java similarity index 52% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java index 4d8bc8642..a00dac3f9 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java @@ -1,56 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for STREAMING_SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} */ -public final class StreamingShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingShotChangeDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) StreamingShotChangeDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingShotChangeDetectionConfig.newBuilder() to construct. - private StreamingShotChangeDetectionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamingShotChangeDetectionConfig() {} + private StreamingShotChangeDetectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,13 +52,13 @@ private StreamingShotChangeDetectionConfig( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,31 +66,27 @@ private StreamingShotChangeDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder - .class); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,7 +98,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 { unknownFields.writeTo(output); } @@ -137,15 +117,12 @@ 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -163,153 +140,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig 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; } /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * Protobuf type {@code - * google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} + * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.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(); @@ -317,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = - buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -340,10 +296,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetection } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(this); onBuilt(); return result; } @@ -352,54 +306,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetection 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - other); + if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) { + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -415,14 +361,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -431,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -443,34 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1 - .StreamingShotChangeDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -482,8 +421,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java new file mode 100644 index 000000000..9ce7e3f84 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingShotChangeDetectionConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java index 07013f761..e5dab8fce 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for streaming storage option.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig} */ -public final class StreamingStorageConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamingStorageConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) StreamingStorageConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamingStorageConfig.newBuilder() to construct. private StreamingStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingStorageConfig() { annotationResultStorageDirectory_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamingStorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamingStorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private StreamingStorageConfig( case 0: done = true; break; - case 8: - { - enableStorageAnnotationResult_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - annotationResultStorageDirectory_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + enableStorageAnnotationResult_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + annotationResultStorageDirectory_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private StreamingStorageConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); } public static final int ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER = 1; private boolean enableStorageAnnotationResult_; /** - * - * *
    * Enable streaming storage. Default: false.
    * 
* * bool enable_storage_annotation_result = 1; - * * @return The enableStorageAnnotationResult. */ @java.lang.Override @@ -139,8 +116,6 @@ public boolean getEnableStorageAnnotationResult() { public static final int ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER = 3; private volatile java.lang.Object annotationResultStorageDirectory_; /** - * - * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -155,7 +130,6 @@ public boolean getEnableStorageAnnotationResult() {
    * 
* * string annotation_result_storage_directory = 3; - * * @return The annotationResultStorageDirectory. */ @java.lang.Override @@ -164,15 +138,14 @@ public java.lang.String getAnnotationResultStorageDirectory() { 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(); annotationResultStorageDirectory_ = s; return s; } } /** - * - * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -187,15 +160,16 @@ public java.lang.String getAnnotationResultStorageDirectory() {
    * 
* * string annotation_result_storage_directory = 3; - * * @return The bytes for annotationResultStorageDirectory. */ @java.lang.Override - public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() { + public com.google.protobuf.ByteString + getAnnotationResultStorageDirectoryBytes() { java.lang.Object ref = annotationResultStorageDirectory_; 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); annotationResultStorageDirectory_ = b; return b; } else { @@ -204,7 +178,6 @@ public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,13 +189,13 @@ 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 (enableStorageAnnotationResult_ != false) { output.writeBool(1, enableStorageAnnotationResult_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultStorageDirectory_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, annotationResultStorageDirectory_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, annotationResultStorageDirectory_); } unknownFields.writeTo(output); } @@ -234,13 +207,11 @@ public int getSerializedSize() { size = 0; if (enableStorageAnnotationResult_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableStorageAnnotationResult_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableStorageAnnotationResult_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultStorageDirectory_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 3, annotationResultStorageDirectory_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, annotationResultStorageDirectory_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -250,18 +221,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.videointelligence.v1p3beta1.StreamingStorageConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) obj; - if (getEnableStorageAnnotationResult() != other.getEnableStorageAnnotationResult()) - return false; - if (!getAnnotationResultStorageDirectory().equals(other.getAnnotationResultStorageDirectory())) - return false; + if (getEnableStorageAnnotationResult() + != other.getEnableStorageAnnotationResult()) return false; + if (!getAnnotationResultStorageDirectory() + .equals(other.getAnnotationResultStorageDirectory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -274,8 +244,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStorageAnnotationResult()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableStorageAnnotationResult()); hash = (37 * hash) + ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER; hash = (53 * hash) + getAnnotationResultStorageDirectory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -284,145 +254,134 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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; } /** - * - * *
    * Config for streaming storage option.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig} */ - 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.videointelligence.v1p3beta1.StreamingStorageConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.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(); @@ -434,16 +393,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance(); } @java.lang.Override @@ -457,8 +414,7 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig build @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig result = - new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(this); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(this); result.enableStorageAnnotationResult_ = enableStorageAnnotationResult_; result.annotationResultStorageDirectory_ = annotationResultStorageDirectory_; onBuilt(); @@ -469,51 +425,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig build 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.videointelligence.v1p3beta1.StreamingStorageConfig) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance()) return this; if (other.getEnableStorageAnnotationResult() != false) { setEnableStorageAnnotationResult(other.getEnableStorageAnnotationResult()); } @@ -540,9 +491,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -552,16 +501,13 @@ public Builder mergeFrom( return this; } - private boolean enableStorageAnnotationResult_; + private boolean enableStorageAnnotationResult_ ; /** - * - * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; - * * @return The enableStorageAnnotationResult. */ @java.lang.Override @@ -569,36 +515,30 @@ public boolean getEnableStorageAnnotationResult() { return enableStorageAnnotationResult_; } /** - * - * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; - * * @param value The enableStorageAnnotationResult to set. * @return This builder for chaining. */ public Builder setEnableStorageAnnotationResult(boolean value) { - + enableStorageAnnotationResult_ = value; onChanged(); return this; } /** - * - * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; - * * @return This builder for chaining. */ public Builder clearEnableStorageAnnotationResult() { - + enableStorageAnnotationResult_ = false; onChanged(); return this; @@ -606,8 +546,6 @@ public Builder clearEnableStorageAnnotationResult() { private java.lang.Object annotationResultStorageDirectory_ = ""; /** - * - * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -622,13 +560,13 @@ public Builder clearEnableStorageAnnotationResult() {
      * 
* * string annotation_result_storage_directory = 3; - * * @return The annotationResultStorageDirectory. */ public java.lang.String getAnnotationResultStorageDirectory() { java.lang.Object ref = annotationResultStorageDirectory_; 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(); annotationResultStorageDirectory_ = s; return s; @@ -637,8 +575,6 @@ public java.lang.String getAnnotationResultStorageDirectory() { } } /** - * - * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -653,14 +589,15 @@ public java.lang.String getAnnotationResultStorageDirectory() {
      * 
* * string annotation_result_storage_directory = 3; - * * @return The bytes for annotationResultStorageDirectory. */ - public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() { + public com.google.protobuf.ByteString + getAnnotationResultStorageDirectoryBytes() { java.lang.Object ref = annotationResultStorageDirectory_; 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); annotationResultStorageDirectory_ = b; return b; } else { @@ -668,8 +605,6 @@ public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() } } /** - * - * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -684,22 +619,20 @@ public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes()
      * 
* * string annotation_result_storage_directory = 3; - * * @param value The annotationResultStorageDirectory to set. * @return This builder for chaining. */ - public Builder setAnnotationResultStorageDirectory(java.lang.String value) { + public Builder setAnnotationResultStorageDirectory( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationResultStorageDirectory_ = value; onChanged(); return this; } /** - * - * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -714,19 +647,15 @@ public Builder setAnnotationResultStorageDirectory(java.lang.String value) {
      * 
* * string annotation_result_storage_directory = 3; - * * @return This builder for chaining. */ public Builder clearAnnotationResultStorageDirectory() { - - annotationResultStorageDirectory_ = - getDefaultInstance().getAnnotationResultStorageDirectory(); + + annotationResultStorageDirectory_ = getDefaultInstance().getAnnotationResultStorageDirectory(); onChanged(); return this; } /** - * - * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -741,23 +670,23 @@ public Builder clearAnnotationResultStorageDirectory() {
      * 
* * string annotation_result_storage_directory = 3; - * * @param value The bytes for annotationResultStorageDirectory to set. * @return This builder for chaining. */ - public Builder setAnnotationResultStorageDirectoryBytes(com.google.protobuf.ByteString value) { + public Builder setAnnotationResultStorageDirectoryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationResultStorageDirectory_ = 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); } @@ -767,32 +696,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingStorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingStorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,8 +731,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java index 8d6e62d4f..5e4788d00 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java @@ -1,44 +1,23 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingStorageConfigOrBuilder - extends +public interface StreamingStorageConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enable streaming storage. Default: false.
    * 
* * bool enable_storage_annotation_result = 1; - * * @return The enableStorageAnnotationResult. */ boolean getEnableStorageAnnotationResult(); /** - * - * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -53,13 +32,10 @@ public interface StreamingStorageConfigOrBuilder
    * 
* * string annotation_result_storage_directory = 3; - * * @return The annotationResultStorageDirectory. */ java.lang.String getAnnotationResultStorageDirectory(); /** - * - * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -74,8 +50,8 @@ public interface StreamingStorageConfigOrBuilder
    * 
* * string annotation_result_storage_directory = 3; - * * @return The bytes for annotationResultStorageDirectory. */ - com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes(); + com.google.protobuf.ByteString + getAnnotationResultStorageDirectoryBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java similarity index 60% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java index d4e6a5302..8b3d37fee 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Streaming annotation results corresponding to a portion of the video
  * that is currently being processed.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults}
  */
-public final class StreamingVideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamingVideoAnnotationResults extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
     StreamingVideoAnnotationResultsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamingVideoAnnotationResults.newBuilder() to construct.
-  private StreamingVideoAnnotationResults(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private StreamingVideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamingVideoAnnotationResults() {
     shotAnnotations_ = java.util.Collections.emptyList();
     labelAnnotations_ = java.util.Collections.emptyList();
@@ -47,15 +28,16 @@ private StreamingVideoAnnotationResults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamingVideoAnnotationResults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StreamingVideoAnnotationResults(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,75 +57,53 @@ private StreamingVideoAnnotationResults(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                shotAnnotations_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.VideoSegment>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              shotAnnotations_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              shotAnnotations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labelAnnotations_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              labelAnnotations_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(),
-                      extensionRegistry));
-              break;
+            shotAnnotations_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labelAnnotations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 26:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder
-                  subBuilder = null;
-              if (explicitAnnotation_ != null) {
-                subBuilder = explicitAnnotation_.toBuilder();
-              }
-              explicitAnnotation_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(explicitAnnotation_);
-                explicitAnnotation_ = subBuilder.buildPartial();
-              }
-
-              break;
+            labelAnnotations_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder subBuilder = null;
+            if (explicitAnnotation_ != null) {
+              subBuilder = explicitAnnotation_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                objectAnnotations_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              objectAnnotations_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation
-                          .parser(),
-                      extensionRegistry));
-              break;
+            explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(explicitAnnotation_);
+              explicitAnnotation_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              objectAnnotations_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            objectAnnotations_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -151,7 +111,8 @@ private StreamingVideoAnnotationResults(
     } 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)) {
         shotAnnotations_ = java.util.Collections.unmodifiableList(shotAnnotations_);
@@ -166,194 +127,147 @@ private StreamingVideoAnnotationResults(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
-                .class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder.class);
   }
 
   public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 1;
-  private java.util.List
-      shotAnnotations_;
+  private java.util.List shotAnnotations_;
   /**
-   *
-   *
    * 
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { return shotAnnotations_.get(index); } public static final int LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - labelAnnotations_; + private java.util.List labelAnnotations_; /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ @java.lang.Override - public java.util.List - getLabelAnnotationsList() { + public java.util.List getLabelAnnotationsList() { return labelAnnotations_; } /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getLabelAnnotationsOrBuilderList() { return labelAnnotations_; } /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ @java.lang.Override public int getLabelAnnotationsCount() { return labelAnnotations_.size(); } /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index) { return labelAnnotations_.get(index); } /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( + int index) { return labelAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -361,129 +275,90 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - objectAnnotations_; + private java.util.List objectAnnotations_; /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ @java.lang.Override - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { return objectAnnotations_; } /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + public java.util.List getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { return objectAnnotations_.get(index); } /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { return objectAnnotations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -495,7 +370,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 < shotAnnotations_.size(); i++) { output.writeMessage(1, shotAnnotations_.get(i)); } @@ -518,17 +394,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < shotAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, shotAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, shotAnnotations_.get(i)); } for (int i = 0; i < labelAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labelAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, labelAnnotations_.get(i)); } if (explicitAnnotation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExplicitAnnotation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExplicitAnnotation()); } for (int i = 0; i < objectAnnotations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, objectAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, objectAnnotations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -538,22 +417,24 @@ 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)) { + if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) obj; - if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false; - if (!getLabelAnnotationsList().equals(other.getLabelAnnotationsList())) return false; + if (!getShotAnnotationsList() + .equals(other.getShotAnnotationsList())) return false; + if (!getLabelAnnotationsList() + .equals(other.getLabelAnnotationsList())) return false; if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false; if (hasExplicitAnnotation()) { - if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false; + if (!getExplicitAnnotation() + .equals(other.getExplicitAnnotation())) return false; } - if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false; + if (!getObjectAnnotationsList() + .equals(other.getObjectAnnotationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -586,111 +467,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults 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; } /** - * - * *
    * Streaming annotation results corresponding to a portion of the video
    * that is currently being processed.
@@ -698,45 +565,41 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults}
    */
-  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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
       com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class,
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
-                  .class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.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) {
         getShotAnnotationsFieldBuilder();
         getLabelAnnotationsFieldBuilder();
         getObjectAnnotationsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -768,22 +631,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-        getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-          .getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result =
-          buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -791,10 +651,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-        buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result =
-          new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(this);
       int from_bitField0_ = bitField0_;
       if (shotAnnotationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -836,52 +694,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
     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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) {
-        return mergeFrom(
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) other);
+      if (other instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) {
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance()) return this;
       if (shotAnnotationsBuilder_ == null) {
         if (!other.shotAnnotations_.isEmpty()) {
           if (shotAnnotations_.isEmpty()) {
@@ -900,10 +752,9 @@ public Builder mergeFrom(
             shotAnnotationsBuilder_ = null;
             shotAnnotations_ = other.shotAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            shotAnnotationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getShotAnnotationsFieldBuilder()
-                    : null;
+            shotAnnotationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getShotAnnotationsFieldBuilder() : null;
           } else {
             shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_);
           }
@@ -927,10 +778,9 @@ public Builder mergeFrom(
             labelAnnotationsBuilder_ = null;
             labelAnnotations_ = other.labelAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            labelAnnotationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLabelAnnotationsFieldBuilder()
-                    : null;
+            labelAnnotationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLabelAnnotationsFieldBuilder() : null;
           } else {
             labelAnnotationsBuilder_.addAllMessages(other.labelAnnotations_);
           }
@@ -957,10 +807,9 @@ public Builder mergeFrom(
             objectAnnotationsBuilder_ = null;
             objectAnnotations_ = other.objectAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            objectAnnotationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getObjectAnnotationsFieldBuilder()
-                    : null;
+            objectAnnotationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getObjectAnnotationsFieldBuilder() : null;
           } else {
             objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_);
           }
@@ -981,14 +830,11 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parsedMessage =
-          null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parsedMessage = null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -997,39 +843,28 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        shotAnnotations_ = java.util.Collections.emptyList();
-
+    private java.util.List shotAnnotations_ =
+      java.util.Collections.emptyList();
     private void ensureShotAnnotationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        shotAnnotations_ =
-            new java.util.ArrayList(
-                shotAnnotations_);
+        shotAnnotations_ = new java.util.ArrayList(shotAnnotations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
-        shotAnnotationsBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -1037,14 +872,11 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -1054,14 +886,11 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -1071,14 +900,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotati } } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -1095,18 +921,14 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder setShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -1117,17 +939,13 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public Builder addShotAnnotations( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { + public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1141,14 +959,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -1165,14 +980,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { @@ -1186,18 +998,14 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder addShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -1208,21 +1016,18 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder addAllShotAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -1230,14 +1035,11 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -1250,14 +1052,11 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -1270,50 +1069,39 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - getShotAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getShotAnnotationsBuilder( + int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1321,64 +1109,45 @@ public Builder removeShotAnnotations(int index) { } } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - addShotAnnotationsBuilder(int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder( + int index) { + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1388,37 +1157,26 @@ public Builder removeShotAnnotations(int index) { return shotAnnotationsBuilder_; } - private java.util.List - labelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List labelAnnotations_ = + java.util.Collections.emptyList(); private void ensureLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - labelAnnotations_ = - new java.util.ArrayList( - labelAnnotations_); + labelAnnotations_ = new java.util.ArrayList(labelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - labelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> labelAnnotationsBuilder_; /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public java.util.List - getLabelAnnotationsList() { + public java.util.List getLabelAnnotationsList() { if (labelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(labelAnnotations_); } else { @@ -1426,15 +1184,11 @@ private void ensureLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public int getLabelAnnotationsCount() { if (labelAnnotationsBuilder_ == null) { @@ -1444,18 +1198,13 @@ public int getLabelAnnotationsCount() { } } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index) { if (labelAnnotationsBuilder_ == null) { return labelAnnotations_.get(index); } else { @@ -1463,15 +1212,11 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnno } } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder setLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -1488,19 +1233,14 @@ public Builder setLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder setLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); labelAnnotations_.set(index, builderForValue.build()); @@ -1511,18 +1251,13 @@ public Builder setLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public Builder addLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (labelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1536,15 +1271,11 @@ public Builder addLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder addLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -1561,15 +1292,11 @@ public Builder addLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder addLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -1583,19 +1310,14 @@ public Builder addLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder addLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); labelAnnotations_.add(index, builderForValue.build()); @@ -1606,22 +1328,18 @@ public Builder addLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder addAllLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labelAnnotations_); onChanged(); } else { labelAnnotationsBuilder_.addAllMessages(values); @@ -1629,15 +1347,11 @@ public Builder addAllLabelAnnotations( return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder clearLabelAnnotations() { if (labelAnnotationsBuilder_ == null) { @@ -1650,15 +1364,11 @@ public Builder clearLabelAnnotations() { return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ public Builder removeLabelAnnotations(int index) { if (labelAnnotationsBuilder_ == null) { @@ -1671,53 +1381,39 @@ public Builder removeLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getLabelAnnotationsBuilder( + int index) { return getLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( + int index) { if (labelAnnotationsBuilder_ == null) { - return labelAnnotations_.get(index); - } else { + return labelAnnotations_.get(index); } else { return labelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getLabelAnnotationsOrBuilderList() { + public java.util.List + getLabelAnnotationsOrBuilderList() { if (labelAnnotationsBuilder_ != null) { return labelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1725,67 +1421,45 @@ public Builder removeLabelAnnotations(int index) { } } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addLabelAnnotationsBuilder() { - return getLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addLabelAnnotationsBuilder() { + return getLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addLabelAnnotationsBuilder(int index) { - return getLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addLabelAnnotationsBuilder( + int index) { + return getLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotation results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - public java.util.List - getLabelAnnotationsBuilderList() { + public java.util.List + getLabelAnnotationsBuilderList() { return getLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getLabelAnnotationsFieldBuilder() { if (labelAnnotationsBuilder_ == null) { - labelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + labelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( labelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1795,66 +1469,43 @@ public Builder removeLabelAnnotations(int index) { return labelAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1868,19 +1519,14 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -1891,25 +1537,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -1921,15 +1559,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -1943,104 +1577,73 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation results.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List - objectAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List objectAnnotations_ = + java.util.Collections.emptyList(); private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>( - objectAnnotations_); + objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> - objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -2048,15 +1651,11 @@ private void ensureObjectAnnotationsIsMutable() { } } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -2066,18 +1665,13 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -2085,15 +1679,11 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -2110,20 +1700,14 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder setObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -2134,18 +1718,13 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2159,15 +1738,11 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -2184,19 +1759,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -2207,20 +1777,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder addObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -2231,23 +1795,18 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder addAllObjectAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation> - values) { + java.lang.Iterable values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -2255,15 +1814,11 @@ public Builder addAllObjectAnnotations( return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -2276,15 +1831,11 @@ public Builder clearObjectAnnotations() { return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -2297,54 +1848,39 @@ public Builder removeObjectAnnotations(int index) { return this; } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - getObjectAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( + int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); - } else { + return objectAnnotations_.get(index); } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> - getObjectAnnotationsOrBuilderList() { + public java.util.List + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2352,70 +1888,45 @@ public Builder removeObjectAnnotations(int index) { } } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder(int index) { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( + int index) { + return getObjectAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Object tracking results.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder> - getObjectAnnotationsBuilderList() { + public java.util.List + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2424,9 +1935,9 @@ public Builder removeObjectAnnotations(int index) { } return objectAnnotationsBuilder_; } - @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); } @@ -2436,33 +1947,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(); + DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingVideoAnnotationResults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingVideoAnnotationResults(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingVideoAnnotationResults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingVideoAnnotationResults(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2474,8 +1982,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java similarity index 58% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java index cb11513f9..0e2bf31ee 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java @@ -1,251 +1,168 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingVideoAnnotationResultsOrBuilder - extends +public interface StreamingVideoAnnotationResultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - java.util.List + java.util.List getShotAnnotationsList(); /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; */ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - java.util.List + java.util.List getLabelAnnotationsList(); /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index); /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ int getLabelAnnotationsCount(); /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - java.util.List + java.util.List getLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation results.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - java.util.List + java.util.List getObjectAnnotationsList(); /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ int getObjectAnnotationsCount(); /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + java.util.List getObjectAnnotationsOrBuilderList(); /** - * - * *
    * Object tracking results.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java similarity index 51% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java index e5722d80f..44c9d10c3 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Provides information to the annotator that specifies how to process the
  * request.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig}
  */
-public final class StreamingVideoConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamingVideoConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
     StreamingVideoConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamingVideoConfig.newBuilder() to construct.
   private StreamingVideoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamingVideoConfig() {
     feature_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamingVideoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StreamingVideoConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,221 +54,130 @@ private StreamingVideoConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              feature_ = rawValue;
-              break;
+            feature_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 2) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_).toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig
-                      .Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1
-                                .StreamingShotChangeDetectionConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1
-                          .StreamingShotChangeDetectionConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1
-                            .StreamingShotChangeDetectionConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 2;
-              break;
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
+            }
+            streamingConfigCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 3) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_).toBuilder();
+            }
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
+            }
+            streamingConfigCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 4) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_).toBuilder();
+            }
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
+            }
+            streamingConfigCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 5) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_).toBuilder();
+            }
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
+            }
+            streamingConfigCase_ = 5;
+            break;
+          }
+          case 170: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 21) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 3;
-              break;
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig
-                      .Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 4) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1
-                                .StreamingExplicitContentDetectionConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1
-                          .StreamingExplicitContentDetectionConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1
-                            .StreamingExplicitContentDetectionConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 4;
-              break;
+            streamingConfigCase_ = 21;
+            break;
+          }
+          case 178: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 22) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_).toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 5;
-              break;
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
             }
-          case 170:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig
-                      .Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 21) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1
-                                .StreamingAutomlClassificationConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1
-                          .StreamingAutomlClassificationConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1
-                            .StreamingAutomlClassificationConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 21;
-              break;
+            streamingConfigCase_ = 22;
+            break;
+          }
+          case 186: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder subBuilder = null;
+            if (streamingConfigCase_ == 23) {
+              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_).toBuilder();
             }
-          case 178:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig
-                      .Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 22) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1
-                                .StreamingAutomlObjectTrackingConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1
-                          .StreamingAutomlObjectTrackingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1
-                            .StreamingAutomlObjectTrackingConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 22;
-              break;
+            streamingConfig_ =
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_);
+              streamingConfig_ = subBuilder.buildPartial();
             }
-          case 186:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig
-                      .Builder
-                  subBuilder = null;
-              if (streamingConfigCase_ == 23) {
-                subBuilder =
-                    ((com.google.cloud.videointelligence.v1p3beta1
-                                .StreamingAutomlActionRecognitionConfig)
-                            streamingConfig_)
-                        .toBuilder();
-              }
-              streamingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1
-                          .StreamingAutomlActionRecognitionConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.videointelligence.v1p3beta1
-                            .StreamingAutomlActionRecognitionConfig)
-                        streamingConfig_);
-                streamingConfig_ = subBuilder.buildPartial();
-              }
-              streamingConfigCase_ = 23;
-              break;
+            streamingConfigCase_ = 23;
+            break;
+          }
+          case 242: {
+            com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder subBuilder = null;
+            if (storageConfig_ != null) {
+              subBuilder = storageConfig_.toBuilder();
             }
-          case 242:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder
-                  subBuilder = null;
-              if (storageConfig_ != null) {
-                subBuilder = storageConfig_.toBuilder();
-              }
-              storageConfig_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(storageConfig_);
-                storageConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            storageConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(storageConfig_);
+              storageConfig_ = 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) {
@@ -293,34 +185,30 @@ private StreamingVideoConfig(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
   }
 
   private int streamingConfigCase_ = 0;
   private java.lang.Object streamingConfig_;
-
   public enum StreamingConfigCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SHOT_CHANGE_DETECTION_CONFIG(2),
     LABEL_DETECTION_CONFIG(3),
@@ -331,7 +219,6 @@ public enum StreamingConfigCase
     AUTOML_OBJECT_TRACKING_CONFIG(22),
     STREAMINGCONFIG_NOT_SET(0);
     private final int value;
-
     private StreamingConfigCase(int value) {
       this.value = value;
     }
@@ -347,48 +234,35 @@ public static StreamingConfigCase valueOf(int value) {
 
     public static StreamingConfigCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return SHOT_CHANGE_DETECTION_CONFIG;
-        case 3:
-          return LABEL_DETECTION_CONFIG;
-        case 4:
-          return EXPLICIT_CONTENT_DETECTION_CONFIG;
-        case 5:
-          return OBJECT_TRACKING_CONFIG;
-        case 23:
-          return AUTOML_ACTION_RECOGNITION_CONFIG;
-        case 21:
-          return AUTOML_CLASSIFICATION_CONFIG;
-        case 22:
-          return AUTOML_OBJECT_TRACKING_CONFIG;
-        case 0:
-          return STREAMINGCONFIG_NOT_SET;
-        default:
-          return null;
+        case 2: return SHOT_CHANGE_DETECTION_CONFIG;
+        case 3: return LABEL_DETECTION_CONFIG;
+        case 4: return EXPLICIT_CONTENT_DETECTION_CONFIG;
+        case 5: return OBJECT_TRACKING_CONFIG;
+        case 23: return AUTOML_ACTION_RECOGNITION_CONFIG;
+        case 21: return AUTOML_CLASSIFICATION_CONFIG;
+        case 22: return AUTOML_OBJECT_TRACKING_CONFIG;
+        case 0: return STREAMINGCONFIG_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamingConfigCase getStreamingConfigCase() {
-    return StreamingConfigCase.forNumber(streamingConfigCase_);
+  public StreamingConfigCase
+  getStreamingConfigCase() {
+    return StreamingConfigCase.forNumber(
+        streamingConfigCase_);
   }
 
   public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -396,62 +270,42 @@ public boolean hasShotChangeDetectionConfig() { return streamingConfigCase_ == 2; } /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig() { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 3; /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -459,62 +313,42 @@ public boolean hasLabelDetectionConfig() { return streamingConfigCase_ == 3; } /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig() { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -522,63 +356,42 @@ public boolean hasExplicitContentDetectionConfig() { return streamingConfigCase_ == 4; } /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 5; /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -586,62 +399,42 @@ public boolean hasObjectTrackingConfig() { return streamingConfigCase_ == 5; } /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig() { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } public static final int AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER = 23; /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return Whether the automlActionRecognitionConfig field is set. */ @java.lang.Override @@ -649,63 +442,42 @@ public boolean hasAutomlActionRecognitionConfig() { return streamingConfigCase_ == 23; } /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return The automlActionRecognitionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getAutomlActionRecognitionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig() { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfigOrBuilder - getAutomlActionRecognitionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder() { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER = 21; /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return Whether the automlClassificationConfig field is set. */ @java.lang.Override @@ -713,62 +485,42 @@ public boolean hasAutomlClassificationConfig() { return streamingConfigCase_ == 21; } /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return The automlClassificationConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getAutomlClassificationConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig() { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder - getAutomlClassificationConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder() { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 22; /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return Whether the automlObjectTrackingConfig field is set. */ @java.lang.Override @@ -776,100 +528,70 @@ public boolean hasAutomlObjectTrackingConfig() { return streamingConfigCase_ == 22; } /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return The automlObjectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getAutomlObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig() { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder - getAutomlObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder() { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } public static final int FEATURE_FIELD_NUMBER = 1; private int feature_; /** - * - * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The feature. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { + @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED : result; } public static final int STORAGE_CONFIG_FIELD_NUMBER = 30; private com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storageConfig_; /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return Whether the storageConfig field is set. */ @java.lang.Override @@ -877,41 +599,30 @@ public boolean hasStorageConfig() { return storageConfig_ != null; } /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return The storageConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig() { - return storageConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; } /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder - getStorageConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder() { return getStorageConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -923,54 +634,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (feature_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature - .STREAMING_FEATURE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (feature_ != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.STREAMING_FEATURE_UNSPECIFIED.getNumber()) { output.writeEnum(1, feature_); } if (streamingConfigCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_); + output.writeMessage(2, (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_); + output.writeMessage(3, (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - streamingConfig_); + output.writeMessage(4, (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_); + output.writeMessage(5, (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_); } if (streamingConfigCase_ == 21) { - output.writeMessage( - 21, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_); + output.writeMessage(21, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_); } if (streamingConfigCase_ == 22) { - output.writeMessage( - 22, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_); + output.writeMessage(22, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_); } if (streamingConfigCase_ == 23) { - output.writeMessage( - 23, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - streamingConfig_); + output.writeMessage(23, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_); } if (storageConfig_ != null) { output.writeMessage(30, getStorageConfig()); @@ -984,63 +672,41 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (feature_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature - .STREAMING_FEATURE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, feature_); + if (feature_ != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.STREAMING_FEATURE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, feature_); } if (streamingConfigCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_); } if (streamingConfigCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_); } if (streamingConfigCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_); } if (streamingConfigCase_ == 22) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_); } if (streamingConfigCase_ == 23) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 23, - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - streamingConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_); } if (storageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getStorageConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getStorageConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1050,46 +716,48 @@ 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.videointelligence.v1p3beta1.StreamingVideoConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other = - (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) obj; if (feature_ != other.feature_) return false; if (hasStorageConfig() != other.hasStorageConfig()) return false; if (hasStorageConfig()) { - if (!getStorageConfig().equals(other.getStorageConfig())) return false; + if (!getStorageConfig() + .equals(other.getStorageConfig())) return false; } if (!getStreamingConfigCase().equals(other.getStreamingConfigCase())) return false; switch (streamingConfigCase_) { case 2: - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; break; case 3: - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; break; case 4: - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; break; case 5: - if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig() + .equals(other.getObjectTrackingConfig())) return false; break; case 23: - if (!getAutomlActionRecognitionConfig().equals(other.getAutomlActionRecognitionConfig())) - return false; + if (!getAutomlActionRecognitionConfig() + .equals(other.getAutomlActionRecognitionConfig())) return false; break; case 21: - if (!getAutomlClassificationConfig().equals(other.getAutomlClassificationConfig())) - return false; + if (!getAutomlClassificationConfig() + .equals(other.getAutomlClassificationConfig())) return false; break; case 22: - if (!getAutomlObjectTrackingConfig().equals(other.getAutomlObjectTrackingConfig())) - return false; + if (!getAutomlObjectTrackingConfig() + .equals(other.getAutomlObjectTrackingConfig())) return false; break; case 0: default: @@ -1149,105 +817,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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; } /** - * - * *
    * Provides information to the annotator that specifies how to process the
    * request.
@@ -1255,40 +914,38 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig}
    */
-  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.videointelligence.v1p3beta1.StreamingVideoConfig)
       com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class,
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder()
+    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.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();
@@ -1306,14 +963,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
     }
 
@@ -1328,8 +984,7 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig result =
-          new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(this);
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(this);
       if (streamingConfigCase_ == 2) {
         if (shotChangeDetectionConfigBuilder_ == null) {
           result.streamingConfig_ = streamingConfig_;
@@ -1394,50 +1049,46 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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) {
+        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.videointelligence.v1p3beta1.StreamingVideoConfig) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other) {
+      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance()) return this;
       if (other.feature_ != 0) {
         setFeatureValue(other.getFeatureValue());
       }
@@ -1445,45 +1096,37 @@ public Builder mergeFrom(
         mergeStorageConfig(other.getStorageConfig());
       }
       switch (other.getStreamingConfigCase()) {
-        case SHOT_CHANGE_DETECTION_CONFIG:
-          {
-            mergeShotChangeDetectionConfig(other.getShotChangeDetectionConfig());
-            break;
-          }
-        case LABEL_DETECTION_CONFIG:
-          {
-            mergeLabelDetectionConfig(other.getLabelDetectionConfig());
-            break;
-          }
-        case EXPLICIT_CONTENT_DETECTION_CONFIG:
-          {
-            mergeExplicitContentDetectionConfig(other.getExplicitContentDetectionConfig());
-            break;
-          }
-        case OBJECT_TRACKING_CONFIG:
-          {
-            mergeObjectTrackingConfig(other.getObjectTrackingConfig());
-            break;
-          }
-        case AUTOML_ACTION_RECOGNITION_CONFIG:
-          {
-            mergeAutomlActionRecognitionConfig(other.getAutomlActionRecognitionConfig());
-            break;
-          }
-        case AUTOML_CLASSIFICATION_CONFIG:
-          {
-            mergeAutomlClassificationConfig(other.getAutomlClassificationConfig());
-            break;
-          }
-        case AUTOML_OBJECT_TRACKING_CONFIG:
-          {
-            mergeAutomlObjectTrackingConfig(other.getAutomlObjectTrackingConfig());
-            break;
-          }
-        case STREAMINGCONFIG_NOT_SET:
-          {
-            break;
-          }
+        case SHOT_CHANGE_DETECTION_CONFIG: {
+          mergeShotChangeDetectionConfig(other.getShotChangeDetectionConfig());
+          break;
+        }
+        case LABEL_DETECTION_CONFIG: {
+          mergeLabelDetectionConfig(other.getLabelDetectionConfig());
+          break;
+        }
+        case EXPLICIT_CONTENT_DETECTION_CONFIG: {
+          mergeExplicitContentDetectionConfig(other.getExplicitContentDetectionConfig());
+          break;
+        }
+        case OBJECT_TRACKING_CONFIG: {
+          mergeObjectTrackingConfig(other.getObjectTrackingConfig());
+          break;
+        }
+        case AUTOML_ACTION_RECOGNITION_CONFIG: {
+          mergeAutomlActionRecognitionConfig(other.getAutomlActionRecognitionConfig());
+          break;
+        }
+        case AUTOML_CLASSIFICATION_CONFIG: {
+          mergeAutomlClassificationConfig(other.getAutomlClassificationConfig());
+          break;
+        }
+        case AUTOML_OBJECT_TRACKING_CONFIG: {
+          mergeAutomlObjectTrackingConfig(other.getAutomlObjectTrackingConfig());
+          break;
+        }
+        case STREAMINGCONFIG_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1504,9 +1147,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1515,12 +1156,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int streamingConfigCase_ = 0;
     private java.lang.Object streamingConfig_;
-
-    public StreamingConfigCase getStreamingConfigCase() {
-      return StreamingConfigCase.forNumber(streamingConfigCase_);
+    public StreamingConfigCase
+        getStreamingConfigCase() {
+      return StreamingConfigCase.forNumber(
+          streamingConfigCase_);
     }
 
     public Builder clearStreamingConfig() {
@@ -1530,23 +1171,15 @@ public Builder clearStreamingConfig() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig,
-            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1p3beta1
-                .StreamingShotChangeDetectionConfigOrBuilder>
-        shotChangeDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -1554,49 +1187,35 @@ public boolean hasShotChangeDetectionConfig() { return streamingConfigCase_ == 2; } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 2) { return shotChangeDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1610,19 +1229,14 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1633,31 +1247,18 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 2 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .newBuilder( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingShotChangeDetectionConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 2 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -1673,15 +1274,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1700,103 +1297,67 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 2) && (shotChangeDetectionConfigBuilder_ != null)) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 2)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .getDefaultInstance(); - } - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingShotChangeDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + } + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 2; - onChanged(); - ; + onChanged();; return shotChangeDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> - labelDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_; /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -1804,49 +1365,35 @@ public boolean hasLabelDetectionConfig() { return streamingConfigCase_ == 3; } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 3) { return labelDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1860,19 +1407,14 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder builderForValue) { if (labelDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1883,29 +1425,18 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 3 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder( - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 3 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -1921,15 +1452,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1948,103 +1475,67 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 3) && (labelDetectionConfigBuilder_ != null)) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 3)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - .getDefaultInstance(); - } - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingLabelDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + } + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 3; - onChanged(); - ; + onChanged();; return labelDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -2052,51 +1543,35 @@ public boolean hasExplicitContentDetectionConfig() { return streamingConfigCase_ == 4; } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 4) { return explicitContentDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2110,19 +1585,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2133,32 +1603,18 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 4 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig.getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .newBuilder( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 4 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -2174,15 +1630,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -2201,109 +1653,67 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder - getExplicitContentDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 4) && (explicitContentDetectionConfigBuilder_ != null)) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 4)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .getDefaultInstance(); - } - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingExplicitContentDetectionConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + } + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 4; - onChanged(); - ; + onChanged();; return explicitContentDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> - objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -2311,49 +1721,35 @@ public boolean hasObjectTrackingConfig() { return streamingConfigCase_ == 5; } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 5) { return objectTrackingConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ - public Builder setObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { + public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2367,19 +1763,14 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ public Builder setObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder builderForValue) { if (objectTrackingConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2390,29 +1781,18 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ - public Builder mergeObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { - if (streamingConfigCase_ == 5 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder( - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 5 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -2428,15 +1808,11 @@ public Builder mergeObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -2455,103 +1831,67 @@ public Builder clearObjectTrackingConfig() { return this; } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder - getObjectTrackingConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { if ((streamingConfigCase_ == 5) && (objectTrackingConfigBuilder_ != null)) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { if (!(streamingConfigCase_ == 5)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - .getDefaultInstance(); - } - objectTrackingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingObjectTrackingConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + } + objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 5; - onChanged(); - ; + onChanged();; return objectTrackingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfigOrBuilder> - automlActionRecognitionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder> automlActionRecognitionConfigBuilder_; /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return Whether the automlActionRecognitionConfig field is set. */ @java.lang.Override @@ -2559,50 +1899,35 @@ public boolean hasAutomlActionRecognitionConfig() { return streamingConfigCase_ == 23; } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return The automlActionRecognitionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getAutomlActionRecognitionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig() { if (automlActionRecognitionConfigBuilder_ == null) { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 23) { return automlActionRecognitionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ - public Builder setAutomlActionRecognitionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { + public Builder setAutomlActionRecognitionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { if (automlActionRecognitionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2616,19 +1941,14 @@ public Builder setAutomlActionRecognitionConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ public Builder setAutomlActionRecognitionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder builderForValue) { if (automlActionRecognitionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2639,31 +1959,18 @@ public Builder setAutomlActionRecognitionConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ - public Builder mergeAutomlActionRecognitionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { + public Builder mergeAutomlActionRecognitionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { if (automlActionRecognitionConfigBuilder_ == null) { - if (streamingConfigCase_ == 23 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig.getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .newBuilder( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 23 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -2679,15 +1986,11 @@ public Builder mergeAutomlActionRecognitionConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ public Builder clearAutomlActionRecognitionConfig() { if (automlActionRecognitionConfigBuilder_ == null) { @@ -2706,110 +2009,67 @@ public Builder clearAutomlActionRecognitionConfig() { return this; } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder - getAutomlActionRecognitionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder getAutomlActionRecognitionConfigBuilder() { return getAutomlActionRecognitionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfigOrBuilder - getAutomlActionRecognitionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder() { if ((streamingConfigCase_ == 23) && (automlActionRecognitionConfigBuilder_ != null)) { return automlActionRecognitionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder> getAutomlActionRecognitionConfigFieldBuilder() { if (automlActionRecognitionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 23)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .getDefaultInstance(); - } - automlActionRecognitionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlActionRecognitionConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + } + automlActionRecognitionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 23; - onChanged(); - ; + onChanged();; return automlActionRecognitionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlClassificationConfigOrBuilder> - automlClassificationConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder> automlClassificationConfigBuilder_; /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return Whether the automlClassificationConfig field is set. */ @java.lang.Override @@ -2817,49 +2077,35 @@ public boolean hasAutomlClassificationConfig() { return streamingConfigCase_ == 21; } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return The automlClassificationConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getAutomlClassificationConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig() { if (automlClassificationConfigBuilder_ == null) { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 21) { return automlClassificationConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ - public Builder setAutomlClassificationConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { + public Builder setAutomlClassificationConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { if (automlClassificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2873,19 +2119,14 @@ public Builder setAutomlClassificationConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ public Builder setAutomlClassificationConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder builderForValue) { if (automlClassificationConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2896,31 +2137,18 @@ public Builder setAutomlClassificationConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ - public Builder mergeAutomlClassificationConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { + public Builder mergeAutomlClassificationConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { if (automlClassificationConfigBuilder_ == null) { - if (streamingConfigCase_ == 21 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .newBuilder( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlClassificationConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 21 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -2936,15 +2164,11 @@ public Builder mergeAutomlClassificationConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ public Builder clearAutomlClassificationConfig() { if (automlClassificationConfigBuilder_ == null) { @@ -2963,106 +2187,67 @@ public Builder clearAutomlClassificationConfig() { return this; } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder - getAutomlClassificationConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder getAutomlClassificationConfigBuilder() { return getAutomlClassificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder - getAutomlClassificationConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder() { if ((streamingConfigCase_ == 21) && (automlClassificationConfigBuilder_ != null)) { return automlClassificationConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlClassificationConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder> getAutomlClassificationConfigFieldBuilder() { if (automlClassificationConfigBuilder_ == null) { if (!(streamingConfigCase_ == 21)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .getDefaultInstance(); - } - automlClassificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlClassificationConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + } + automlClassificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 21; - onChanged(); - ; + onChanged();; return automlClassificationConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlObjectTrackingConfigOrBuilder> - automlObjectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder> automlObjectTrackingConfigBuilder_; /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return Whether the automlObjectTrackingConfig field is set. */ @java.lang.Override @@ -3070,49 +2255,35 @@ public boolean hasAutomlObjectTrackingConfig() { return streamingConfigCase_ == 22; } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return The automlObjectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getAutomlObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig() { if (automlObjectTrackingConfigBuilder_ == null) { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } else { if (streamingConfigCase_ == 22) { return automlObjectTrackingConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ - public Builder setAutomlObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { + public Builder setAutomlObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { if (automlObjectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3126,19 +2297,14 @@ public Builder setAutomlObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ public Builder setAutomlObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder builderForValue) { if (automlObjectTrackingConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -3149,31 +2315,18 @@ public Builder setAutomlObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ - public Builder mergeAutomlObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { + public Builder mergeAutomlObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { if (automlObjectTrackingConfigBuilder_ == null) { - if (streamingConfigCase_ == 22 - && streamingConfig_ - != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance()) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .newBuilder( - (com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlObjectTrackingConfig) - streamingConfig_) - .mergeFrom(value) - .buildPartial(); + if (streamingConfigCase_ == 22 && + streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance()) { + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_) + .mergeFrom(value).buildPartial(); } else { streamingConfig_ = value; } @@ -3189,15 +2342,11 @@ public Builder mergeAutomlObjectTrackingConfig( return this; } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ public Builder clearAutomlObjectTrackingConfig() { if (automlObjectTrackingConfigBuilder_ == null) { @@ -3216,151 +2365,106 @@ public Builder clearAutomlObjectTrackingConfig() { return this; } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder - getAutomlObjectTrackingConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder getAutomlObjectTrackingConfigBuilder() { return getAutomlObjectTrackingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder - getAutomlObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder() { if ((streamingConfigCase_ == 22) && (automlObjectTrackingConfigBuilder_ != null)) { return automlObjectTrackingConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); } } /** - * - * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder> getAutomlObjectTrackingConfigFieldBuilder() { if (automlObjectTrackingConfigBuilder_ == null) { if (!(streamingConfigCase_ == 22)) { - streamingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .getDefaultInstance(); - } - automlObjectTrackingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - .Builder, - com.google.cloud.videointelligence.v1p3beta1 - .StreamingAutomlObjectTrackingConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - streamingConfig_, + streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + } + automlObjectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 22; - onChanged(); - ; + onChanged();; return automlObjectTrackingConfigBuilder_; } private int feature_ = 0; /** - * - * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** - * - * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED : result; } /** - * - * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @param value The feature to set. * @return This builder for chaining. */ @@ -3368,24 +2472,21 @@ public Builder setFeature(com.google.cloud.videointelligence.v1p3beta1.Streaming if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -3393,59 +2494,41 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> - storageConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> storageConfigBuilder_; /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return Whether the storageConfig field is set. */ public boolean hasStorageConfig() { return storageConfigBuilder_ != null || storageConfig_ != null; } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return The storageConfig. */ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig() { if (storageConfigBuilder_ == null) { - return storageConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - .getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; } else { return storageConfigBuilder_.getMessage(); } } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ - public Builder setStorageConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { + public Builder setStorageConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { if (storageConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3459,18 +2542,14 @@ public Builder setStorageConfig( return this; } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ public Builder setStorageConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder builderForValue) { if (storageConfigBuilder_ == null) { storageConfig_ = builderForValue.build(); onChanged(); @@ -3481,24 +2560,17 @@ public Builder setStorageConfig( return this; } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ - public Builder mergeStorageConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { + public Builder mergeStorageConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { if (storageConfigBuilder_ == null) { if (storageConfig_ != null) { storageConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder( - storageConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder(storageConfig_).mergeFrom(value).buildPartial(); } else { storageConfig_ = value; } @@ -3510,14 +2582,11 @@ public Builder mergeStorageConfig( return this; } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ public Builder clearStorageConfig() { if (storageConfigBuilder_ == null) { @@ -3531,71 +2600,55 @@ public Builder clearStorageConfig() { return this; } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder - getStorageConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder getStorageConfigBuilder() { + onChanged(); return getStorageConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder - getStorageConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder() { if (storageConfigBuilder_ != null) { return storageConfigBuilder_.getMessageOrBuilder(); } else { - return storageConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig - .getDefaultInstance() - : storageConfig_; + return storageConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; } } /** - * - * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> getStorageConfigFieldBuilder() { if (storageConfigBuilder_ == null) { - storageConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder>( - getStorageConfig(), getParentForChildren(), isClean()); + storageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder>( + getStorageConfig(), + getParentForChildren(), + isClean()); storageConfig_ = null; } return storageConfigBuilder_; } - @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); } @@ -3605,32 +2658,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingVideoConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingVideoConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingVideoConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingVideoConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3642,8 +2693,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java similarity index 51% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java index dba06a0c2..f54fb27cd 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java @@ -1,393 +1,246 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingVideoConfigOrBuilder - extends +public interface StreamingVideoConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig - getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; * @return The labelDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig - getLabelDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; * @return The objectTrackingConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig - getObjectTrackingConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig(); /** - * - * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return Whether the automlActionRecognitionConfig field is set. */ boolean hasAutomlActionRecognitionConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; * @return The automlActionRecognitionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig - getAutomlActionRecognitionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder - getAutomlActionRecognitionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return Whether the automlClassificationConfig field is set. */ boolean hasAutomlClassificationConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; * @return The automlClassificationConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig - getAutomlClassificationConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder - getAutomlClassificationConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder(); /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return Whether the automlObjectTrackingConfig field is set. */ boolean hasAutomlObjectTrackingConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; * @return The automlObjectTrackingConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig - getAutomlObjectTrackingConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig(); /** - * - * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder - getAutomlObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder(); /** - * - * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** - * - * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; - * * @return The feature. */ com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature(); /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return Whether the storageConfig field is set. */ boolean hasStorageConfig(); /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; * @return The storageConfig. */ com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig(); /** - * - * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; - * + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; */ - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder - getStorageConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder(); - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.StreamingConfigCase - getStreamingConfigCase(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.StreamingConfigCase getStreamingConfigCase(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java similarity index 73% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java index 2d1293dbe..fb6023234 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextAnnotation}
  */
-public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextAnnotation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextAnnotation)
     TextAnnotationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              text_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                segments_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.TextSegment>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              segments_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.TextSegment.parser(),
-                      extensionRegistry));
-              break;
+            text_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              segments_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            segments_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextSegment.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -118,33 +96,27 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class,
-            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
-   *
-   *
    * 
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -153,29 +125,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -186,8 +158,6 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -195,13 +165,10 @@ public com.google.protobuf.ByteString getTextBytes() { * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -209,13 +176,11 @@ public com.google.protobuf.ByteString getTextBytes() { * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -227,8 +192,6 @@ public int getSegmentsCount() { return segments_.size(); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -240,8 +203,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int return segments_.get(index); } /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -255,7 +216,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -287,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, segments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,16 +259,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.videointelligence.v1p3beta1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other = - (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) obj; - if (!getText().equals(other.getText())) return false; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getText() + .equals(other.getText())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,104 +293,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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; } /** - * - * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -436,23 +391,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextAnnotation}
    */
-  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.videointelligence.v1p3beta1.TextAnnotation)
       com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class,
-              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.newBuilder()
@@ -460,17 +413,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) {
         getSegmentsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,9 +439,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -507,8 +460,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TextAnnotation result =
-          new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1p3beta1.TextAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -528,39 +480,38 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextAnnotation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()) return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -592,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextAnnota
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSegmentsFieldBuilder()
-                    : null;
+            segmentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSegmentsFieldBuilder() : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -620,8 +569,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -630,25 +578,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
-     *
-     *
      * 
      * The detected text.
      * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -657,21 +602,20 @@ public java.lang.String getText() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -679,95 +623,79 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** - * - * *
      * The detected text.
      * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsList() { + public java.util.List getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -775,8 +703,6 @@ private void ensureSegmentsIsMutable() { } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -791,8 +717,6 @@ public int getSegmentsCount() { } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -807,8 +731,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -830,8 +752,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -839,8 +759,7 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder setSegments( - int index, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -851,8 +770,6 @@ public Builder setSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -873,8 +790,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.TextSegm return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -896,8 +811,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -916,8 +829,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -925,8 +836,7 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder addSegments( - int index, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -937,8 +847,6 @@ public Builder addSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -946,11 +854,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -958,8 +866,6 @@ public Builder addAllSegments( return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -977,8 +883,6 @@ public Builder clearSegments() { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -996,8 +900,6 @@ public Builder removeSegments(int index) { return this; } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1009,8 +911,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder getSegme return getSegmentsFieldBuilder().getBuilder(index); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1020,23 +920,19 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder getSegme public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); - } else { + return segments_.get(index); } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1044,8 +940,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm } } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1053,13 +947,10 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
@@ -1068,43 +959,37 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegme */ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); } /** - * - * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder>( - segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder>( + segments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); segments_ = null; } return segmentsBuilder_; } - @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); } @@ -1114,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextAnnotation) private static final com.google.cloud.videointelligence.v1p3beta1.TextAnnotation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(); } @@ -1128,16 +1013,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java similarity index 68% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java index 47b1eea00..29a8d5274 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java @@ -1,66 +1,42 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextAnnotationOrBuilder - extends +public interface TextAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
    * The detected text.
    * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - java.util.List getSegmentsList(); + java.util.List + getSegmentsList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -69,8 +45,6 @@ public interface TextAnnotationOrBuilder */ com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int index); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
@@ -79,24 +53,21 @@ public interface TextAnnotationOrBuilder */ int getSegmentsCount(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** - * - * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java similarity index 72% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java index c7502700e..58e43caa6 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextDetectionConfig} */ -public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextDetectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) TextDetectionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; model_ = ""; @@ -44,15 +26,16 @@ private TextDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - languageHints_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + languageHints_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + model_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -112,27 +94,22 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -141,15 +118,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_; } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -158,15 +133,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -175,7 +147,6 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -183,8 +154,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -193,19 +162,17 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } public static final int MODEL_FIELD_NUMBER = 2; private volatile java.lang.Object model_; /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -213,7 +180,6 @@ public com.google.protobuf.ByteString getLanguageHintsBytes(int index) {
    * 
* * string model = 2; - * * @return The model. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -238,15 +203,16 @@ public java.lang.String getModel() {
    * 
* * string model = 2; - * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -255,7 +221,6 @@ public com.google.protobuf.ByteString getModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +232,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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -302,16 +268,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.videointelligence.v1p3beta1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other = - (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) obj; - if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; - if (!getModel().equals(other.getModel())) return false; + if (!getLanguageHintsList() + .equals(other.getLanguageHintsList())) return false; + if (!getModel() + .equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,127 +302,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextDetectionConfig} */ - 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.videointelligence.v1p3beta1.TextDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder() @@ -463,15 +420,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(); @@ -483,14 +441,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance(); } @@ -505,8 +462,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig result = - new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -522,50 +478,46 @@ public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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) { + 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.videointelligence.v1p3beta1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance()) return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -599,9 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,21 +560,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -633,15 +578,13 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList + getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -650,15 +593,12 @@ public com.google.protobuf.ProtocolStringList getLanguageHintsList() {
      * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -667,7 +607,6 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -675,8 +614,6 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -685,16 +622,14 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString + getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -703,23 +638,21 @@ public com.google.protobuf.ByteString getLanguageHintsBytes(int index) {
      * 
* * repeated string language_hints = 1; - * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints(int index, java.lang.String value) { + public Builder setLanguageHints( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -728,22 +661,20 @@ public Builder setLanguageHints(int index, java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints(java.lang.String value) { + public Builder addLanguageHints( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -752,19 +683,18 @@ public Builder addLanguageHints(java.lang.String value) {
      * 
* * repeated string language_hints = 1; - * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints(java.lang.Iterable values) { + public Builder addAllLanguageHints( + java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageHints_); onChanged(); return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -773,7 +703,6 @@ public Builder addAllLanguageHints(java.lang.Iterable values)
      * 
* * repeated string language_hints = 1; - * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -783,8 +712,6 @@ public Builder clearLanguageHints() { return this; } /** - * - * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -793,15 +720,15 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; - * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); @@ -810,8 +737,6 @@ public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { private java.lang.Object model_ = ""; /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -819,13 +744,13 @@ public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) {
      * 
* * string model = 2; - * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -834,8 +759,6 @@ public java.lang.String getModel() { } } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -843,14 +766,15 @@ public java.lang.String getModel() {
      * 
* * string model = 2; - * * @return The bytes for model. */ - public com.google.protobuf.ByteString getModelBytes() { + public com.google.protobuf.ByteString + getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -858,8 +782,6 @@ public com.google.protobuf.ByteString getModelBytes() { } } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -867,22 +789,20 @@ public com.google.protobuf.ByteString getModelBytes() {
      * 
* * string model = 2; - * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel(java.lang.String value) { + public Builder setModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -890,18 +810,15 @@ public Builder setModel(java.lang.String value) {
      * 
* * string model = 2; - * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** - * - * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -909,23 +826,23 @@ public Builder clearModel() {
      * 
* * string model = 2; - * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes(com.google.protobuf.ByteString value) { + public Builder setModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -935,32 +852,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,8 +887,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java index 3274f09b7..86405e26d 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextDetectionConfigOrBuilder - extends +public interface TextDetectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -34,13 +16,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return A list containing the languageHints. */ - java.util.List getLanguageHintsList(); + java.util.List + getLanguageHintsList(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -49,13 +29,10 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @return The count of languageHints. */ int getLanguageHintsCount(); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -64,14 +41,11 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** - * - * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -80,15 +54,13 @@ public interface TextDetectionConfigOrBuilder
    * 
* * repeated string language_hints = 1; - * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString getLanguageHintsBytes(int index); + com.google.protobuf.ByteString + getLanguageHintsBytes(int index); /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -96,13 +68,10 @@ public interface TextDetectionConfigOrBuilder
    * 
* * string model = 2; - * * @return The model. */ java.lang.String getModel(); /** - * - * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -110,8 +79,8 @@ public interface TextDetectionConfigOrBuilder
    * 
* * string model = 2; - * * @return The bytes for model. */ - com.google.protobuf.ByteString getModelBytes(); + com.google.protobuf.ByteString + getModelBytes(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java similarity index 65% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java index 33bcc17c4..0e427153d 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextFrame}
  */
-public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextFrame extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextFrame)
     TextFrameOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TextFrame() {}
+  private TextFrame() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,46 +54,39 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder
-                  subBuilder = null;
-              if (rotatedBoundingBox_ != null) {
-                subBuilder = rotatedBoundingBox_.toBuilder();
-              }
-              rotatedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rotatedBoundingBox_);
-                rotatedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder subBuilder = null;
+            if (rotatedBoundingBox_ != null) {
+              subBuilder = rotatedBoundingBox_.toBuilder();
+            }
+            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rotatedBoundingBox_);
+              rotatedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,41 +94,34 @@ private TextFrame(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TextFrame.class,
-            com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TextFrame.class, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
-   *
-   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -159,53 +129,37 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - getRotatedBoundingBox() { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() - : rotatedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox() { + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -213,14 +167,11 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -228,8 +179,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Timestamp of this frame.
    * 
@@ -242,7 +191,6 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +202,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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -271,10 +220,12 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +235,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.videointelligence.v1p3beta1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextFrame other = - (com.google.cloud.videointelligence.v1p3beta1.TextFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.TextFrame other = (com.google.cloud.videointelligence.v1p3beta1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox() + .equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,104 +277,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.TextFrame 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; } /** - * - * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -431,23 +375,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextFrame}
    */
-  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.videointelligence.v1p3beta1.TextFrame)
       com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TextFrame.class,
-              com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TextFrame.class, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TextFrame.newBuilder()
@@ -455,15 +397,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();
@@ -483,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +447,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TextFrame result =
-          new com.google.cloud.videointelligence.v1p3beta1.TextFrame(this);
+      com.google.cloud.videointelligence.v1p3beta1.TextFrame result = new com.google.cloud.videointelligence.v1p3beta1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -524,39 +466,38 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextFrame) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextFrame)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()) return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -591,8 +531,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.TextFrame) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -604,63 +543,41 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>
-        rotatedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - getRotatedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - .getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -674,19 +591,14 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder builderForValue) { if (rotatedBoundingBoxBuilder_ == null) { rotatedBoundingBox_ = builderForValue.build(); onChanged(); @@ -697,25 +609,17 @@ public Builder setRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public Builder mergeRotatedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder( - rotatedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -727,15 +631,11 @@ public Builder mergeRotatedBoundingBox( return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -749,67 +649,48 @@ public Builder clearRotatedBoundingBox() { return this; } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder - getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly - .getDefaultInstance() - : rotatedBoundingBox_; + return rotatedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; } } /** - * - * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), getParentForChildren(), isClean()); + rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), + getParentForChildren(), + isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -817,47 +698,34 @@ public Builder clearRotatedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -878,15 +746,14 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset( + com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -897,8 +764,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -909,7 +774,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -921,8 +786,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -941,8 +804,6 @@ public Builder clearTimeOffset() { return this; } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -950,13 +811,11 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -967,14 +826,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } } /** - * - * *
      * Timestamp of this frame.
      * 
@@ -982,24 +838,21 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), getParentForChildren(), isClean()); + timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), + getParentForChildren(), + isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } - @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); } @@ -1009,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextFrame) private static final com.google.cloud.videointelligence.v1p3beta1.TextFrame DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextFrame(); } @@ -1023,16 +876,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextFrame getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,4 +900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java similarity index 57% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java index 083a5e796..09ca00733 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java @@ -1,97 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextFrameOrBuilder - extends +public interface TextFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextFrame) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox(); /** - * - * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder - getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Timestamp of this frame.
    * 
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java similarity index 74% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java index 742d6abcc..99afdc5e9 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextSegment} */ -public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TextSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextSegment) TextSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,49 +54,40 @@ private TextSegment( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 21: - { - confidence_ = input.readFloat(); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.TextFrame>(); - mutable_bitField0_ |= 0x00000001; - } - frames_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.TextFrame.parser(), - extensionRegistry)); - break; + + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + frames_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextFrame.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,7 +95,8 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -130,33 +105,27 @@ private TextSegment( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -164,25 +133,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -197,15 +159,12 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -216,8 +175,6 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -229,8 +186,6 @@ public java.util.List ge return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -238,13 +193,11 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -256,8 +209,6 @@ public int getFramesCount() { return frames_.size(); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -269,8 +220,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int inde return frames_.get(index); } /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -284,7 +233,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +244,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -316,13 +265,16 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,21 +284,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.videointelligence.v1p3beta1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextSegment other = - (com.google.cloud.videointelligence.v1p3beta1.TextSegment) obj; + com.google.cloud.videointelligence.v1p3beta1.TextSegment other = (com.google.cloud.videointelligence.v1p3beta1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (!getFramesList().equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (!getFramesList() + .equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,7 +317,8 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -374,127 +329,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.TextSegment 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; } /** - * - * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextSegment} */ - 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.videointelligence.v1p3beta1.TextSegment) com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, - com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.TextSegment.newBuilder() @@ -502,17 +447,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) { getFramesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.TextSegment result = - new com.google.cloud.videointelligence.v1p3beta1.TextSegment(this); + com.google.cloud.videointelligence.v1p3beta1.TextSegment result = new com.google.cloud.videointelligence.v1p3beta1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -581,39 +525,38 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextSegment)other); } else { super.mergeFrom(other); return this; @@ -621,8 +564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -647,10 +589,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextSegmen framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFramesFieldBuilder() - : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFramesFieldBuilder() : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -675,8 +616,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -685,52 +625,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -751,8 +677,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -771,8 +695,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -783,9 +705,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -797,8 +717,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -817,8 +735,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -826,32 +742,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment where a text snippet was detected.
      * 
@@ -859,33 +769,27 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return The confidence. */ @java.lang.Override @@ -893,64 +797,50 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = - new java.util.ArrayList( - frames_); + frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, - com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> - framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> framesBuilder_; /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -965,8 +855,6 @@ public java.util.List ge } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -981,8 +869,6 @@ public int getFramesCount() { } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -997,8 +883,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int inde } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1020,8 +904,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1040,8 +922,6 @@ public Builder setFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1062,8 +942,6 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.TextFrame return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1085,8 +963,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1105,8 +981,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1125,8 +999,6 @@ public Builder addFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1134,11 +1006,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ public Builder addAllFrames( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1146,8 +1018,6 @@ public Builder addAllFrames( return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1165,8 +1035,6 @@ public Builder clearFrames() { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1184,8 +1052,6 @@ public Builder removeFrames(int index) { return this; } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1197,8 +1063,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder getFramesB return getFramesFieldBuilder().getBuilder(index); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1208,22 +1072,19 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder getFramesB public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); - } else { + return frames_.get(index); } else { return framesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1231,8 +1092,6 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames } } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1240,12 +1099,10 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder() - .addBuilder(com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1254,43 +1111,37 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesB */ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder() - .addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); } /** - * - * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, - com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, - com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder>( - frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder>( + frames_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); frames_ = null; } return framesBuilder_; } - @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); } @@ -1300,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextSegment) private static final com.google.cloud.videointelligence.v1p3beta1.TextSegment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextSegment(); } @@ -1314,16 +1165,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextSegment getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1338,4 +1189,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java similarity index 76% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java index b3782f1ba..9c82ced45 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextSegmentOrBuilder - extends +public interface TextSegmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextSegment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment where a text snippet was detected.
    * 
@@ -59,32 +35,26 @@ public interface TextSegmentOrBuilder com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - java.util.List getFramesList(); + java.util.List + getFramesList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -93,8 +63,6 @@ public interface TextSegmentOrBuilder */ com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int index); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -103,24 +71,21 @@ public interface TextSegmentOrBuilder */ int getFramesCount(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** - * - * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder( + int index); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java index 2eddf3e31..ec928206c 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * For tracking related features.
  * An object at time_offset with attributes, and located with
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TimestampedObject}
  */
-public final class TimestampedObject extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimestampedObject extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TimestampedObject)
     TimestampedObjectOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimestampedObject.newBuilder() to construct.
   private TimestampedObject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimestampedObject() {
     attributes_ = java.util.Collections.emptyList();
     landmarks_ = java.util.Collections.emptyList();
@@ -46,15 +28,16 @@ private TimestampedObject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimestampedObject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimestampedObject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,74 +57,57 @@ private TimestampedObject(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder
-                  subBuilder = null;
-              if (normalizedBoundingBox_ != null) {
-                subBuilder = normalizedBoundingBox_.toBuilder();
-              }
-              normalizedBoundingBox_ =
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(normalizedBoundingBox_);
-                normalizedBoundingBox_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder subBuilder = null;
+            if (normalizedBoundingBox_ != null) {
+              subBuilder = normalizedBoundingBox_.toBuilder();
+            }
+            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(normalizedBoundingBox_);
+              normalizedBoundingBox_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeOffset_ != null) {
-                subBuilder = timeOffset_.toBuilder();
-              }
-              timeOffset_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeOffset_);
-                timeOffset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeOffset_ != null) {
+              subBuilder = timeOffset_.toBuilder();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                attributes_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              attributes_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(),
-                      extensionRegistry));
-              break;
+            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeOffset_);
+              timeOffset_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                landmarks_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark>();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              landmarks_.add(
-                  input.readMessage(
-                      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.parser(),
-                      extensionRegistry));
-              break;
+
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              attributes_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            attributes_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              landmarks_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
+            }
+            landmarks_.add(
+                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,7 +115,8 @@ private TimestampedObject(
     } 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)) {
         attributes_ = java.util.Collections.unmodifiableList(attributes_);
@@ -161,35 +128,27 @@ private TimestampedObject(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class,
-            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
-   *
-   *
    * 
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -197,54 +156,38 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() - : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -252,15 +195,12 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ @java.lang.Override @@ -268,8 +208,6 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -283,172 +221,126 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   public static final int ATTRIBUTES_FIELD_NUMBER = 3;
-  private java.util.List
-      attributes_;
+  private java.util.List attributes_;
   /**
-   *
-   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { return attributes_; } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder - getAttributesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( + int index) { return attributes_.get(index); } public static final int LANDMARKS_FIELD_NUMBER = 4; private java.util.List landmarks_; /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getLandmarksList() { + public java.util.List getLandmarksList() { return landmarks_; } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> + public java.util.List getLandmarksOrBuilderList() { return landmarks_; } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getLandmarksCount() { return landmarks_.size(); } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index) { return landmarks_.get(index); } /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder - getLandmarksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( + int index) { return landmarks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,7 +352,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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -483,17 +376,20 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeOffset()); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, attributes_.get(i)); } for (int i = 0; i < landmarks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, landmarks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, landmarks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -503,24 +399,27 @@ 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.videointelligence.v1p3beta1.TimestampedObject)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other = - (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) obj; + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other = (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox() + .equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset().equals(other.getTimeOffset())) return false; + if (!getTimeOffset() + .equals(other.getTimeOffset())) return false; } - if (!getAttributesList().equals(other.getAttributesList())) return false; - if (!getLandmarksList().equals(other.getLandmarksList())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; + if (!getLandmarksList() + .equals(other.getLandmarksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,104 +453,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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; } /** - * - * *
    * For tracking related features.
    * An object at time_offset with attributes, and located with
@@ -660,23 +551,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TimestampedObject}
    */
-  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.videointelligence.v1p3beta1.TimestampedObject)
       com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class,
-              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.newBuilder()
@@ -684,18 +573,18 @@ 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) {
         getAttributesFieldBuilder();
         getLandmarksFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -727,14 +616,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject
-        getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance();
     }
 
@@ -749,8 +637,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TimestampedObject result =
-          new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(this);
+      com.google.cloud.videointelligence.v1p3beta1.TimestampedObject result = new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(this);
       int from_bitField0_ = bitField0_;
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
@@ -788,39 +675,38 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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) {
+        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.videointelligence.v1p3beta1.TimestampedObject) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TimestampedObject)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -828,9 +714,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other) {
-      if (other
-          == com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()) return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -855,10 +739,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Timestampe
             attributesBuilder_ = null;
             attributes_ = other.attributes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            attributesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAttributesFieldBuilder()
-                    : null;
+            attributesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAttributesFieldBuilder() : null;
           } else {
             attributesBuilder_.addAllMessages(other.attributes_);
           }
@@ -882,10 +765,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Timestampe
             landmarksBuilder_ = null;
             landmarks_ = other.landmarks_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            landmarksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLandmarksFieldBuilder()
-                    : null;
+            landmarksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLandmarksFieldBuilder() : null;
           } else {
             landmarksBuilder_.addAllMessages(other.landmarks_);
           }
@@ -910,9 +792,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -921,69 +801,45 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
-        normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>
-        normalizedBoundingBoxBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
     /**
-     *
-     *
      * 
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -997,19 +853,14 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -1020,25 +871,17 @@ public Builder setNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public Builder mergeNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder( - normalizedBoundingBox_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -1050,15 +893,11 @@ public Builder mergeNormalizedBoundingBox( return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -1072,67 +911,48 @@ public Builder clearNormalizedBoundingBox() { return this; } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder - getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null - ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox - .getDefaultInstance() - : normalizedBoundingBox_; + return normalizedBoundingBox_ == null ? + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; } } /** - * - * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), getParentForChildren(), isClean()); + normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), + getParentForChildren(), + isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -1140,49 +960,36 @@ public Builder clearNormalizedBoundingBox() { private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeOffsetBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : timeOffset_; + return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1204,8 +1011,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1213,7 +1018,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1224,8 +1030,6 @@ public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1237,7 +1041,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1249,8 +1053,6 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1270,8 +1072,6 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1280,13 +1080,11 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-
+      
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1298,14 +1096,11 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : timeOffset_;
+        return timeOffset_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1314,53 +1109,39 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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> 
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(), getParentForChildren(), isClean());
+        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(),
+                getParentForChildren(),
+                isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private java.util.List
-        attributes_ = java.util.Collections.emptyList();
-
+    private java.util.List attributes_ =
+      java.util.Collections.emptyList();
     private void ensureAttributesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        attributes_ =
-            new java.util.ArrayList(
-                attributes_);
+        attributes_ = new java.util.ArrayList(attributes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute,
-            com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>
-        attributesBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> attributesBuilder_;
 
     /**
-     *
-     *
      * 
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1368,15 +1149,11 @@ private void ensureAttributesIsMutable() { } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1386,15 +1163,11 @@ public int getAttributesCount() { } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1404,15 +1177,11 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttribu } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1429,19 +1198,14 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1452,18 +1216,13 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAttributes( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { + public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1477,15 +1236,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1502,15 +1257,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { @@ -1524,19 +1275,14 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1547,22 +1293,18 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAttributes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1570,15 +1312,11 @@ public Builder addAllAttributes( return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1591,15 +1329,11 @@ public Builder clearAttributes() { return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1612,53 +1346,39 @@ public Builder removeAttributes(int index) { return this; } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - getAttributesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder getAttributesBuilder( + int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder - getAttributesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( + int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); - } else { + return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> - getAttributesOrBuilderList() { + public java.util.List + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1666,104 +1386,74 @@ public Builder removeAttributes(int index) { } } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - addAttributesBuilder() { - return getAttributesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder() { + return getAttributesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - addAttributesBuilder(int index) { - return getAttributesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder( + int index) { + return getAttributesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( - attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( + attributes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); attributes_ = null; } return attributesBuilder_; } - private java.util.List - landmarks_ = java.util.Collections.emptyList(); - + private java.util.List landmarks_ = + java.util.Collections.emptyList(); private void ensureLandmarksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - landmarks_ = - new java.util.ArrayList( - landmarks_); + landmarks_ = new java.util.ArrayList(landmarks_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> - landmarksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> landmarksBuilder_; /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getLandmarksList() { + public java.util.List getLandmarksList() { if (landmarksBuilder_ == null) { return java.util.Collections.unmodifiableList(landmarks_); } else { @@ -1771,15 +1461,11 @@ private void ensureLandmarksIsMutable() { } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getLandmarksCount() { if (landmarksBuilder_ == null) { @@ -1789,15 +1475,11 @@ public int getLandmarksCount() { } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1807,15 +1489,11 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmark } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { @@ -1832,19 +1510,14 @@ public Builder setLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLandmarks( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); landmarks_.set(index, builderForValue.build()); @@ -1855,18 +1528,13 @@ public Builder setLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addLandmarks( - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { + public Builder addLandmarks(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { if (landmarksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1880,15 +1548,11 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { @@ -1905,15 +1569,11 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { @@ -1927,19 +1587,14 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addLandmarks( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); landmarks_.add(index, builderForValue.build()); @@ -1950,22 +1605,18 @@ public Builder addLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllLandmarks( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, landmarks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, landmarks_); onChanged(); } else { landmarksBuilder_.addAllMessages(values); @@ -1973,15 +1624,11 @@ public Builder addAllLandmarks( return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLandmarks() { if (landmarksBuilder_ == null) { @@ -1994,15 +1641,11 @@ public Builder clearLandmarks() { return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -2015,53 +1658,39 @@ public Builder removeLandmarks(int index) { return this; } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder - getLandmarksBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder getLandmarksBuilder( + int index) { return getLandmarksFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder - getLandmarksOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( + int index) { if (landmarksBuilder_ == null) { - return landmarks_.get(index); - } else { + return landmarks_.get(index); } else { return landmarksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> - getLandmarksOrBuilderList() { + public java.util.List + getLandmarksOrBuilderList() { if (landmarksBuilder_ != null) { return landmarksBuilder_.getMessageOrBuilderList(); } else { @@ -2069,75 +1698,56 @@ public Builder removeLandmarks(int index) { } } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder - addLandmarksBuilder() { - return getLandmarksFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder addLandmarksBuilder() { + return getLandmarksFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder - addLandmarksBuilder(int index) { - return getLandmarksFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder addLandmarksBuilder( + int index) { + return getLandmarksFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); } /** - * - * *
      * Optional. The detected landmarks.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getLandmarksBuilderList() { + public java.util.List + getLandmarksBuilderList() { return getLandmarksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> getLandmarksFieldBuilder() { if (landmarksBuilder_ == null) { - landmarksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder>( - landmarks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + landmarksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder>( + landmarks_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); landmarks_ = null; } return landmarksBuilder_; } - @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); } @@ -2147,32 +1757,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TimestampedObject) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TimestampedObject) - private static final com.google.cloud.videointelligence.v1p3beta1.TimestampedObject - DEFAULT_INSTANCE; - + private static final com.google.cloud.videointelligence.v1p3beta1.TimestampedObject DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject - getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampedObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimestampedObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampedObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimestampedObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2184,8 +1792,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject - getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java similarity index 54% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java index 13dc496a0..8d3395279 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java @@ -1,99 +1,60 @@ -/* - * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TimestampedObjectOrBuilder - extends +public interface TimestampedObjectOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TimestampedObject) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** - * - * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; - * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder - getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; - * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -104,128 +65,89 @@ public interface TimestampedObjectOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesList(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAttributesCount(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** - * - * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getLandmarksList(); + java.util.List + getLandmarksList(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getLandmarksCount(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getLandmarksOrBuilderList(); /** - * - * *
    * Optional. The detected landmarks.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( int index); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java similarity index 63% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java index 59ef8819c..c9a4fb3b0 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * A track of an object instance.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Track} */ -public final class Track extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Track extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Track) TrackOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Track.newBuilder() to construct. private Track(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Track() { timestampedObjects_ = java.util.Collections.emptyList(); attributes_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private Track() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Track(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Track( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,63 +55,49 @@ private Track( case 0: done = true; break; - case 10: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject>(); - mutable_bitField0_ |= 0x00000001; - } - timestampedObjects_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.parser(), - extensionRegistry)); - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - attributes_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute>(); - mutable_bitField0_ |= 0x00000002; - } - attributes_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), - extensionRegistry)); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timestampedObjects_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 37: - { - confidence_ = input.readFloat(); - break; + timestampedObjects_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + attributes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + attributes_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), extensionRegistry)); + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,7 +105,8 @@ private Track( } 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)) { timestampedObjects_ = java.util.Collections.unmodifiableList(timestampedObjects_); @@ -148,33 +118,27 @@ private Track( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Track.class, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Track.class, com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -182,25 +146,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment of a track.
    * 
@@ -213,183 +170,133 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg } public static final int TIMESTAMPED_OBJECTS_FIELD_NUMBER = 2; - private java.util.List - timestampedObjects_; + private java.util.List timestampedObjects_; /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public java.util.List - getTimestampedObjectsList() { + public java.util.List getTimestampedObjectsList() { return timestampedObjects_; } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> + public java.util.List getTimestampedObjectsOrBuilderList() { return timestampedObjects_; } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override public int getTimestampedObjectsCount() { return timestampedObjects_.size(); } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index) { return timestampedObjects_.get(index); } /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder - getTimestampedObjectsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( + int index) { return timestampedObjects_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 3; - private java.util.List - attributes_; + private java.util.List attributes_; /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { return attributes_; } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder - getAttributesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( + int index) { return attributes_.get(index); } public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ @java.lang.Override @@ -398,7 +305,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -410,7 +316,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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -433,17 +340,20 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSegment()); } for (int i = 0; i < timestampedObjects_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestampedObjects_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, timestampedObjects_.get(i)); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, attributes_.get(i)); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -453,22 +363,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.videointelligence.v1p3beta1.Track)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Track other = - (com.google.cloud.videointelligence.v1p3beta1.Track) obj; + com.google.cloud.videointelligence.v1p3beta1.Track other = (com.google.cloud.videointelligence.v1p3beta1.Track) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment().equals(other.getSegment())) return false; + if (!getSegment() + .equals(other.getSegment())) return false; } - if (!getTimestampedObjectsList().equals(other.getTimestampedObjectsList())) return false; - if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getTimestampedObjectsList() + .equals(other.getTimestampedObjectsList())) return false; + if (!getAttributesList() + .equals(other.getAttributesList())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -493,133 +406,125 @@ public int hashCode() { hash = (53 * hash) + getAttributesList().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Track parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.Track parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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; } /** - * - * *
    * A track of an object instance.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Track} */ - 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.videointelligence.v1p3beta1.Track) com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Track.class, - com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Track.class, com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder() @@ -627,18 +532,18 @@ 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) { getTimestampedObjectsFieldBuilder(); getAttributesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override @@ -687,8 +592,7 @@ public com.google.cloud.videointelligence.v1p3beta1.Track build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Track buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Track result = - new com.google.cloud.videointelligence.v1p3beta1.Track(this); + com.google.cloud.videointelligence.v1p3beta1.Track result = new com.google.cloud.videointelligence.v1p3beta1.Track(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -722,39 +626,38 @@ public com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Track) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Track)other); } else { super.mergeFrom(other); return this; @@ -762,8 +665,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()) return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -785,10 +687,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track othe timestampedObjectsBuilder_ = null; timestampedObjects_ = other.timestampedObjects_; bitField0_ = (bitField0_ & ~0x00000001); - timestampedObjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTimestampedObjectsFieldBuilder() - : null; + timestampedObjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTimestampedObjectsFieldBuilder() : null; } else { timestampedObjectsBuilder_.addAllMessages(other.timestampedObjects_); } @@ -812,10 +713,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track othe attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); - attributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttributesFieldBuilder() - : null; + attributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttributesFieldBuilder() : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } @@ -843,8 +743,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.Track) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Track) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -853,52 +752,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment of a track.
      * 
@@ -919,8 +804,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -939,8 +822,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -951,9 +832,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -965,8 +844,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -985,8 +862,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment of a track.
      * 
@@ -994,32 +869,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment of a track.
      * 
@@ -1027,53 +896,39 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List - timestampedObjects_ = java.util.Collections.emptyList(); - + private java.util.List timestampedObjects_ = + java.util.Collections.emptyList(); private void ensureTimestampedObjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = - new java.util.ArrayList( - timestampedObjects_); + timestampedObjects_ = new java.util.ArrayList(timestampedObjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> - timestampedObjectsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> timestampedObjectsBuilder_; /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public java.util.List - getTimestampedObjectsList() { + public java.util.List getTimestampedObjectsList() { if (timestampedObjectsBuilder_ == null) { return java.util.Collections.unmodifiableList(timestampedObjects_); } else { @@ -1081,15 +936,11 @@ private void ensureTimestampedObjectsIsMutable() { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public int getTimestampedObjectsCount() { if (timestampedObjectsBuilder_ == null) { @@ -1099,18 +950,13 @@ public int getTimestampedObjectsCount() { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { return timestampedObjects_.get(index); } else { @@ -1118,15 +964,11 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimesta } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder setTimestampedObjects( int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { @@ -1143,19 +985,14 @@ public Builder setTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder setTimestampedObjects( - int index, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.set(index, builderForValue.build()); @@ -1166,18 +1003,13 @@ public Builder setTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public Builder addTimestampedObjects( - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { + public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { if (timestampedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1191,15 +1023,11 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { @@ -1216,15 +1044,11 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { @@ -1238,19 +1062,14 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder addTimestampedObjects( - int index, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.add(index, builderForValue.build()); @@ -1261,22 +1080,18 @@ public Builder addTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder addAllTimestampedObjects( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestampedObjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timestampedObjects_); onChanged(); } else { timestampedObjectsBuilder_.addAllMessages(values); @@ -1284,15 +1099,11 @@ public Builder addAllTimestampedObjects( return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder clearTimestampedObjects() { if (timestampedObjectsBuilder_ == null) { @@ -1305,15 +1116,11 @@ public Builder clearTimestampedObjects() { return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ public Builder removeTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { @@ -1326,53 +1133,39 @@ public Builder removeTimestampedObjects(int index) { return this; } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder - getTimestampedObjectsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder getTimestampedObjectsBuilder( + int index) { return getTimestampedObjectsFieldBuilder().getBuilder(index); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder - getTimestampedObjectsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( + int index) { if (timestampedObjectsBuilder_ == null) { - return timestampedObjects_.get(index); - } else { + return timestampedObjects_.get(index); } else { return timestampedObjectsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> - getTimestampedObjectsOrBuilderList() { + public java.util.List + getTimestampedObjectsOrBuilderList() { if (timestampedObjectsBuilder_ != null) { return timestampedObjectsBuilder_.getMessageOrBuilderList(); } else { @@ -1380,67 +1173,45 @@ public Builder removeTimestampedObjects(int index) { } } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder - addTimestampedObjectsBuilder() { - return getTimestampedObjectsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder addTimestampedObjectsBuilder() { + return getTimestampedObjectsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder - addTimestampedObjectsBuilder(int index) { - return getTimestampedObjectsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder addTimestampedObjectsBuilder( + int index) { + return getTimestampedObjectsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); } /** - * - * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - public java.util.List - getTimestampedObjectsBuilderList() { + public java.util.List + getTimestampedObjectsBuilderList() { return getTimestampedObjectsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> getTimestampedObjectsFieldBuilder() { if (timestampedObjectsBuilder_ == null) { - timestampedObjectsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, - com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder>( + timestampedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder>( timestampedObjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1450,37 +1221,26 @@ public Builder removeTimestampedObjects(int index) { return timestampedObjectsBuilder_; } - private java.util.List - attributes_ = java.util.Collections.emptyList(); - + private java.util.List attributes_ = + java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - attributes_ = - new java.util.ArrayList( - attributes_); + attributes_ = new java.util.ArrayList(attributes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> - attributesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> attributesBuilder_; /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesList() { + public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1488,15 +1248,11 @@ private void ensureAttributesIsMutable() { } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1506,15 +1262,11 @@ public int getAttributesCount() { } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1524,15 +1276,11 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttribu } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1549,19 +1297,14 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAttributes( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1572,18 +1315,13 @@ public Builder setAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAttributes( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { + public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1597,15 +1335,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1622,15 +1356,11 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { @@ -1644,19 +1374,14 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAttributes( - int index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1667,22 +1392,18 @@ public Builder addAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAttributes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1690,15 +1411,11 @@ public Builder addAllAttributes( return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1711,15 +1428,11 @@ public Builder clearAttributes() { return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1732,53 +1445,39 @@ public Builder removeAttributes(int index) { return this; } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - getAttributesBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder getAttributesBuilder( + int index) { return getAttributesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder - getAttributesOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( + int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); - } else { + return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> - getAttributesOrBuilderList() { + public java.util.List + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1786,83 +1485,61 @@ public Builder removeAttributes(int index) { } } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - addAttributesBuilder() { - return getAttributesFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder() { + return getAttributesFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder - addAttributesBuilder(int index) { - return getAttributesFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder( + int index) { + return getAttributesFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** - * - * *
      * Optional. Attributes in the track level.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, - com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( - attributes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( + attributes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); attributes_ = null; } return attributesBuilder_; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ @java.lang.Override @@ -1870,43 +1547,37 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -1916,12 +1587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Track) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Track) private static final com.google.cloud.videointelligence.v1p3beta1.Track DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Track(); } @@ -1930,16 +1601,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Track getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Track parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Track(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Track parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Track(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1954,4 +1625,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Track getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java similarity index 56% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java index 02af33f2f..5ab0fb267 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TrackOrBuilder - extends +public interface TrackOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Track) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment of a track.
    * 
@@ -59,142 +35,99 @@ public interface TrackOrBuilder com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - java.util.List + java.util.List getTimestampedObjectsList(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ int getTimestampedObjectsCount(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - java.util.List + java.util.List getTimestampedObjectsOrBuilderList(); /** - * - * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; */ - com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder - getTimestampedObjectsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( + int index); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesList(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAttributesCount(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** - * - * *
    * Optional. Attributes in the track level.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** - * - * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The confidence. */ float getConfidence(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java index e0a6e0a07..c7671b0c0 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationProgress() { inputUri_ = ""; feature_ = 0; @@ -44,15 +26,16 @@ private VideoAnnotationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,79 +54,69 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 16: { + + progressPercent_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - progressPercent_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - 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 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 40: - { - int rawValue = input.readEnum(); - feature_ = rawValue; - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + feature_ = rawValue; + break; + } + case 50: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); } - case 50: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = 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) { @@ -151,40 +124,35 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -193,30 +161,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -227,15 +195,12 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -246,14 +211,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -261,14 +223,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -276,8 +235,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the request was received.
    * 
@@ -292,14 +249,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -307,14 +261,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -322,8 +273,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Time of the most recent update.
    * 
@@ -338,55 +287,41 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FEATURE_FIELD_NUMBER = 5; private int feature_; /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The feature. */ - @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { + @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = - com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; } public static final int SEGMENT_FIELD_NUMBER = 6; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -394,26 +329,19 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
@@ -427,7 +355,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -439,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -452,8 +380,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (updateTime_ != null) {
       output.writeMessage(4, getUpdateTime());
     }
-    if (feature_
-        != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
+    if (feature_ != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, feature_);
     }
     if (segment_ != null) {
@@ -472,20 +399,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStartTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getUpdateTime());
     }
-    if (feature_
-        != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, feature_);
+    if (feature_ != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, feature_);
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSegment());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getSegment());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -495,28 +426,32 @@ 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.videointelligence.v1p3beta1.VideoAnnotationProgress)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other =
-        (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) obj;
 
-    if (!getInputUri().equals(other.getInputUri())) return false;
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (feature_ != other.feature_) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment().equals(other.getSegment())) return false;
+      if (!getSegment()
+          .equals(other.getSegment())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -553,145 +488,134 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
-      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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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;
   }
   /**
-   *
-   *
    * 
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p3beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.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(); @@ -723,16 +647,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance(); } @java.lang.Override @@ -746,8 +668,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress result = - new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -774,51 +695,46 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buil 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.videointelligence.v1p3beta1.VideoAnnotationProgress) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -857,9 +773,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -871,21 +785,19 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -894,22 +806,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -917,80 +828,70 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } - private int progressPercent_; + private int progressPercent_ ; /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ @java.lang.Override @@ -998,38 +899,32 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** - * - * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -1037,33 +932,24 @@ public Builder clearProgressPercent() { 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_; /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1074,8 +960,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1096,15 +980,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -1115,8 +998,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1127,7 +1008,7 @@ 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; } @@ -1139,8 +1020,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1159,8 +1038,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the request was received.
      * 
@@ -1168,13 +1045,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the request was received.
      * 
@@ -1185,12 +1060,11 @@ 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_; } } /** - * - * *
      * Time when the request was received.
      * 
@@ -1198,17 +1072,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1216,47 +1087,34 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1277,15 +1135,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1296,8 +1153,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1308,7 +1163,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1320,8 +1175,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1340,8 +1193,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1349,13 +1200,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1366,14 +1215,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Time of the most recent update.
      * 
@@ -1381,17 +1227,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1399,71 +1242,55 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int feature_ = 0; /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override - public int getFeatureValue() { + @java.lang.Override public int getFeatureValue() { return feature_; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = - com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); - return result == null - ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED - : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); + return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @param value The feature to set. * @return This builder for chaining. */ @@ -1471,25 +1298,22 @@ public Builder setFeature(com.google.cloud.videointelligence.v1p3beta1.Feature v if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -1497,49 +1321,36 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1561,8 +1372,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1582,8 +1391,6 @@ public Builder setSegment(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1595,9 +1402,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       if (segmentBuilder_ == null) {
         if (segment_ != null) {
           segment_ =
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial();
         } else {
           segment_ = value;
         }
@@ -1609,8 +1414,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1630,8 +1433,6 @@ public Builder clearSegment() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1640,13 +1441,11 @@ public Builder clearSegment() {
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() {
-
+      
       onChanged();
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1654,19 +1453,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      *
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder
-        getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
       if (segmentBuilder_ != null) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
-        return segment_ == null
-            ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()
-            : segment_;
+        return segment_ == null ?
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1675,24 +1470,21 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
-        segmentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                getSegment(), getParentForChildren(), isClean());
+        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                getSegment(),
+                getParentForChildren(),
+                isClean());
         segment_ = null;
       }
       return segmentBuilder_;
     }
-
     @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);
     }
 
@@ -1702,32 +1494,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
-  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationProgress parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationProgress(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationProgress parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationProgress(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1739,8 +1529,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
similarity index 81%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
index a10f56620..e6fe24780 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
@@ -1,96 +1,64 @@
-/*
- * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoAnnotationProgressOrBuilder
-    extends
+public interface VideoAnnotationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time when the request was received.
    * 
@@ -100,32 +68,24 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Time of the most recent update.
    * 
@@ -135,61 +95,47 @@ public interface VideoAnnotationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** - * - * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; - * * @return The feature. */ com.google.cloud.videointelligence.v1p3beta1.Feature getFeature(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
similarity index 64%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
index 4e43f98fd..507571139 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
- *
- *
  * 
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoAnnotationResults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -55,15 +37,16 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -83,260 +66,179 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; + inputUri_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + segmentLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + shotLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + shotLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + frameLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000004; - } - shotLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + frameLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + shotAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000040; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000010; - } - frameLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + shotAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 58: { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - shotAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000040; - } - shotAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry)); - break; + explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder - subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); - } - explicitAnnotation_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + 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(); } - case 74: - { - 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; + break; + } + case 82: { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - break; + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + speechTranscriptions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000080; } - case 90: - { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription>(); - mutable_bitField0_ |= 0x00000080; - } - speechTranscriptions_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.parser(), - extensionRegistry)); - break; + speechTranscriptions_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.parser(), extensionRegistry)); + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + textAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000100; } - case 98: - { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - textAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation>(); - mutable_bitField0_ |= 0x00000100; - } - textAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.parser(), - extensionRegistry)); - break; + textAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.parser(), extensionRegistry)); + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + faceDetectionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - case 106: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation>(); - mutable_bitField0_ |= 0x00000020; - } - faceDetectionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.parser(), - extensionRegistry)); - break; + faceDetectionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.parser(), extensionRegistry)); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + objectAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000200; } - case 114: - { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>(); - mutable_bitField0_ |= 0x00000200; - } - objectAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .parser(), - extensionRegistry)); - break; + objectAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.parser(), extensionRegistry)); + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { + logoRecognitionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000400; } - case 154: - { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation>(); - mutable_bitField0_ |= 0x00000400; - } - logoRecognitionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - .parser(), - extensionRegistry)); - break; + logoRecognitionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.parser(), extensionRegistry)); + break; + } + case 162: { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { + personDetectionAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000800; } - case 162: - { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation>(); - mutable_bitField0_ |= 0x00000800; - } - personDetectionAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - .parser(), - extensionRegistry)); - break; + personDetectionAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.parser(), extensionRegistry)); + break; + } + case 170: { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder subBuilder = null; + if (celebrityRecognitionAnnotations_ != null) { + subBuilder = celebrityRecognitionAnnotations_.toBuilder(); } - case 170: - { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder - subBuilder = null; - if (celebrityRecognitionAnnotations_ != null) { - subBuilder = celebrityRecognitionAnnotations_.toBuilder(); - } - celebrityRecognitionAnnotations_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(celebrityRecognitionAnnotations_); - celebrityRecognitionAnnotations_ = subBuilder.buildPartial(); - } - - break; + celebrityRecognitionAnnotations_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(celebrityRecognitionAnnotations_); + celebrityRecognitionAnnotations_ = subBuilder.buildPartial(); } - case 186: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - segmentPresenceLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + + break; + } + case 186: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segmentPresenceLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 194: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); - mutable_bitField0_ |= 0x00000008; - } - shotPresenceLabelAnnotations_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), - extensionRegistry)); - break; + segmentPresenceLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + case 194: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotPresenceLabelAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + shotPresenceLabelAnnotations_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -344,7 +246,8 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -365,60 +268,49 @@ private VideoAnnotationResults( textAnnotations_ = java.util.Collections.unmodifiableList(textAnnotations_); } if (((mutable_bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = - java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { objectAnnotations_ = java.util.Collections.unmodifiableList(objectAnnotations_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = - java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = - java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ @java.lang.Override @@ -427,30 +319,30 @@ 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; } } /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @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 { @@ -461,14 +353,11 @@ public com.google.protobuf.ByteString getInputUriBytes() { public static final int SEGMENT_FIELD_NUMBER = 10; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ @java.lang.Override @@ -476,25 +365,18 @@ public boolean hasSegment() { return segment_ != null; } /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } /** - * - * *
    * Video segment on which the annotation is run.
    * 
@@ -507,100 +389,73 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List - segmentLabelAnnotations_; + private java.util.List segmentLabelAnnotations_; /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { return segmentLabelAnnotations_.get(index); } /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { return segmentLabelAnnotations_.get(index); } public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 23; - private java.util.List - segmentPresenceLabelAnnotations_; + private java.util.List segmentPresenceLabelAnnotations_; /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -610,18 +465,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLa
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public java.util.List - getSegmentPresenceLabelAnnotationsList() { + public java.util.List getSegmentPresenceLabelAnnotationsList() { return segmentPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -631,19 +481,14 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLa
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList() { return segmentPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -653,17 +498,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLa
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override public int getSegmentPresenceLabelAnnotationsCount() { return segmentPresenceLabelAnnotations_.size(); } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -673,18 +514,13 @@ public int getSegmentPresenceLabelAnnotationsCount() {
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { return segmentPresenceLabelAnnotations_.get(index); } /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -694,111 +530,82 @@ public int getSegmentPresenceLabelAnnotationsCount() {
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index) { return segmentPresenceLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List - shotLabelAnnotations_; + private java.util.List shotLabelAnnotations_; /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { return shotLabelAnnotations_.get(index); } public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 24; - private java.util.List - shotPresenceLabelAnnotations_; + private java.util.List shotPresenceLabelAnnotations_; /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -807,18 +614,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabel
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public java.util.List - getShotPresenceLabelAnnotationsList() { + public java.util.List getShotPresenceLabelAnnotationsList() { return shotPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -827,19 +629,14 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabel
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getShotPresenceLabelAnnotationsOrBuilderList() { return shotPresenceLabelAnnotations_; } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -848,17 +645,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabel
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override public int getShotPresenceLabelAnnotationsCount() { return shotPresenceLabelAnnotations_.size(); } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -867,18 +660,13 @@ public int getShotPresenceLabelAnnotationsCount() {
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { return shotPresenceLabelAnnotations_.get(index); } /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -887,281 +675,207 @@ public int getShotPresenceLabelAnnotationsCount() {
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index) { return shotPresenceLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List - frameLabelAnnotations_; + private java.util.List frameLabelAnnotations_; /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER = 13; - private java.util.List - faceDetectionAnnotations_; + private java.util.List faceDetectionAnnotations_; /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public java.util.List - getFaceDetectionAnnotationsList() { + public java.util.List getFaceDetectionAnnotationsList() { return faceDetectionAnnotations_; } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + public java.util.List getFaceDetectionAnnotationsOrBuilderList() { return faceDetectionAnnotations_; } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override public int getFaceDetectionAnnotationsCount() { return faceDetectionAnnotations_.size(); } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { return faceDetectionAnnotations_.get(index); } /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index) { return faceDetectionAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List - shotAnnotations_; + private java.util.List shotAnnotations_; /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -1169,481 +883,347 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getExplicitAnnotation() { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List - speechTranscriptions_; + private java.util.List speechTranscriptions_; /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + public java.util.List getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index) { return speechTranscriptions_.get(index); } /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { return speechTranscriptions_.get(index); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; - private java.util.List - textAnnotations_; + private java.util.List textAnnotations_; /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public java.util.List - getTextAnnotationsList() { + public java.util.List getTextAnnotationsList() { return textAnnotations_; } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> + public java.util.List getTextAnnotationsOrBuilderList() { return textAnnotations_; } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override public int getTextAnnotationsCount() { return textAnnotations_.size(); } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index) { return textAnnotations_.get(index); } /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder - getTextAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( + int index) { return textAnnotations_.get(index); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14; - private java.util.List - objectAnnotations_; + private java.util.List objectAnnotations_; /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + public java.util.List getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { return objectAnnotations_.get(index); } /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { return objectAnnotations_.get(index); } public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 19; - private java.util.List - logoRecognitionAnnotations_; + private java.util.List logoRecognitionAnnotations_; /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public java.util.List - getLogoRecognitionAnnotationsList() { + public java.util.List getLogoRecognitionAnnotationsList() { return logoRecognitionAnnotations_; } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + public java.util.List getLogoRecognitionAnnotationsOrBuilderList() { return logoRecognitionAnnotations_; } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override public int getLogoRecognitionAnnotationsCount() { return logoRecognitionAnnotations_.size(); } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotations_.get(index); } /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index) { return logoRecognitionAnnotations_.get(index); } public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER = 20; - private java.util.List - personDetectionAnnotations_; + private java.util.List personDetectionAnnotations_; /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public java.util.List - getPersonDetectionAnnotationsList() { + public java.util.List getPersonDetectionAnnotationsList() { return personDetectionAnnotations_; } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + public java.util.List getPersonDetectionAnnotationsOrBuilderList() { return personDetectionAnnotations_; } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override public int getPersonDetectionAnnotationsCount() { return personDetectionAnnotations_.size(); } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { return personDetectionAnnotations_.get(index); } /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index) { return personDetectionAnnotations_.get(index); } public static final int CELEBRITY_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 21; - private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - celebrityRecognitionAnnotations_; + private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrityRecognitionAnnotations_; /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return Whether the celebrityRecognitionAnnotations field is set. */ @java.lang.Override @@ -1651,55 +1231,38 @@ public boolean hasCelebrityRecognitionAnnotations() { return celebrityRecognitionAnnotations_ != null; } /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return The celebrityRecognitionAnnotations. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getCelebrityRecognitionAnnotations() { - return celebrityRecognitionAnnotations_ == null - ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .getDefaultInstance() - : celebrityRecognitionAnnotations_; + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations() { + return celebrityRecognitionAnnotations_ == null ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; } /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder - getCelebrityRecognitionAnnotationsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder() { return getCelebrityRecognitionAnnotations(); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1707,15 +1270,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ @java.lang.Override @@ -1723,8 +1283,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -1738,7 +1296,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1750,7 +1307,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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -1815,72 +1373,68 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, segmentLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, frameLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getError());
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSegment());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, getSegment());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, speechTranscriptions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, speechTranscriptions_.get(i));
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < faceDetectionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              13, faceDetectionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, faceDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, objectAnnotations_.get(i));
     }
     for (int i = 0; i < logoRecognitionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              19, logoRecognitionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, logoRecognitionAnnotations_.get(i));
     }
     for (int i = 0; i < personDetectionAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              20, personDetectionAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(20, personDetectionAnnotations_.get(i));
     }
     if (celebrityRecognitionAnnotations_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              21, getCelebrityRecognitionAnnotations());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(21, getCelebrityRecognitionAnnotations());
     }
     for (int i = 0; i < segmentPresenceLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              23, segmentPresenceLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, segmentPresenceLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotPresenceLabelAnnotations_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              24, shotPresenceLabelAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(24, shotPresenceLabelAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1890,50 +1444,58 @@ 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.videointelligence.v1p3beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other =
-        (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) obj;
 
-    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (!getInputUri()
+        .equals(other.getInputUri())) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment().equals(other.getSegment())) return false;
+      if (!getSegment()
+          .equals(other.getSegment())) return false;
     }
-    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
-      return false;
+    if (!getSegmentLabelAnnotationsList()
+        .equals(other.getSegmentLabelAnnotationsList())) return false;
     if (!getSegmentPresenceLabelAnnotationsList()
         .equals(other.getSegmentPresenceLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getShotPresenceLabelAnnotationsList().equals(other.getShotPresenceLabelAnnotationsList()))
-      return false;
-    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceDetectionAnnotationsList().equals(other.getFaceDetectionAnnotationsList()))
-      return false;
-    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList()
+        .equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getShotPresenceLabelAnnotationsList()
+        .equals(other.getShotPresenceLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList()
+        .equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceDetectionAnnotationsList()
+        .equals(other.getFaceDetectionAnnotationsList())) return false;
+    if (!getShotAnnotationsList()
+        .equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
-    }
-    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
-    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
-    if (!getLogoRecognitionAnnotationsList().equals(other.getLogoRecognitionAnnotationsList()))
-      return false;
-    if (!getPersonDetectionAnnotationsList().equals(other.getPersonDetectionAnnotationsList()))
-      return false;
-    if (hasCelebrityRecognitionAnnotations() != other.hasCelebrityRecognitionAnnotations())
-      return false;
+      if (!getExplicitAnnotation()
+          .equals(other.getExplicitAnnotation())) return false;
+    }
+    if (!getSpeechTranscriptionsList()
+        .equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getTextAnnotationsList()
+        .equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList()
+        .equals(other.getObjectAnnotationsList())) return false;
+    if (!getLogoRecognitionAnnotationsList()
+        .equals(other.getLogoRecognitionAnnotationsList())) return false;
+    if (!getPersonDetectionAnnotationsList()
+        .equals(other.getPersonDetectionAnnotationsList())) return false;
+    if (hasCelebrityRecognitionAnnotations() != other.hasCelebrityRecognitionAnnotations()) return false;
     if (hasCelebrityRecognitionAnnotations()) {
-      if (!getCelebrityRecognitionAnnotations().equals(other.getCelebrityRecognitionAnnotations()))
-        return false;
+      if (!getCelebrityRecognitionAnnotations()
+          .equals(other.getCelebrityRecognitionAnnotations())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2018,143 +1580,132 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
-      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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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;
   }
   /**
-   *
-   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p3beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); } - // Construct using - // com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.newBuilder() + // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getSegmentPresenceLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); @@ -2169,7 +1720,6 @@ private void maybeForceBuilderInitialization() { getPersonDetectionAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2275,16 +1825,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults - getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults - .getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance(); } @java.lang.Override @@ -2298,8 +1846,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults result = - new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentBuilder_ == null) { @@ -2309,8 +1856,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -2319,8 +1865,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000002); } result.segmentPresenceLabelAnnotations_ = segmentPresenceLabelAnnotations_; @@ -2338,8 +1883,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (shotPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000008); } result.shotPresenceLabelAnnotations_ = shotPresenceLabelAnnotations_; @@ -2357,8 +1901,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (faceDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = - java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000020); } result.faceDetectionAnnotations_ = faceDetectionAnnotations_; @@ -2408,8 +1951,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (logoRecognitionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = - java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); bitField0_ = (bitField0_ & ~0x00000400); } result.logoRecognitionAnnotations_ = logoRecognitionAnnotations_; @@ -2418,8 +1960,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (personDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = - java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000800); } result.personDetectionAnnotations_ = personDetectionAnnotations_; @@ -2444,51 +1985,46 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build 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.videointelligence.v1p3beta1.VideoAnnotationResults) { - return mergeFrom( - (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other) { - if (other - == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other) { + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -2514,10 +2050,9 @@ public Builder mergeFrom( segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentLabelAnnotationsFieldBuilder() - : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentLabelAnnotationsFieldBuilder() : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -2541,13 +2076,11 @@ public Builder mergeFrom( segmentPresenceLabelAnnotationsBuilder_ = null; segmentPresenceLabelAnnotations_ = other.segmentPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - segmentPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentPresenceLabelAnnotationsFieldBuilder() - : null; + segmentPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentPresenceLabelAnnotationsFieldBuilder() : null; } else { - segmentPresenceLabelAnnotationsBuilder_.addAllMessages( - other.segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotationsBuilder_.addAllMessages(other.segmentPresenceLabelAnnotations_); } } } @@ -2569,10 +2102,9 @@ public Builder mergeFrom( shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotLabelAnnotationsFieldBuilder() - : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotLabelAnnotationsFieldBuilder() : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -2596,13 +2128,11 @@ public Builder mergeFrom( shotPresenceLabelAnnotationsBuilder_ = null; shotPresenceLabelAnnotations_ = other.shotPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotPresenceLabelAnnotationsFieldBuilder() - : null; + shotPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotPresenceLabelAnnotationsFieldBuilder() : null; } else { - shotPresenceLabelAnnotationsBuilder_.addAllMessages( - other.shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotationsBuilder_.addAllMessages(other.shotPresenceLabelAnnotations_); } } } @@ -2624,10 +2154,9 @@ public Builder mergeFrom( frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFrameLabelAnnotationsFieldBuilder() - : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFrameLabelAnnotationsFieldBuilder() : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -2651,10 +2180,9 @@ public Builder mergeFrom( faceDetectionAnnotationsBuilder_ = null; faceDetectionAnnotations_ = other.faceDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - faceDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFaceDetectionAnnotationsFieldBuilder() - : null; + faceDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFaceDetectionAnnotationsFieldBuilder() : null; } else { faceDetectionAnnotationsBuilder_.addAllMessages(other.faceDetectionAnnotations_); } @@ -2678,10 +2206,9 @@ public Builder mergeFrom( shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000040); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getShotAnnotationsFieldBuilder() - : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getShotAnnotationsFieldBuilder() : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -2708,10 +2235,9 @@ public Builder mergeFrom( speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000080); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSpeechTranscriptionsFieldBuilder() - : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpeechTranscriptionsFieldBuilder() : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -2735,10 +2261,9 @@ public Builder mergeFrom( textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000100); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTextAnnotationsFieldBuilder() - : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTextAnnotationsFieldBuilder() : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -2762,10 +2287,9 @@ public Builder mergeFrom( objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000200); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getObjectAnnotationsFieldBuilder() - : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getObjectAnnotationsFieldBuilder() : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -2789,10 +2313,9 @@ public Builder mergeFrom( logoRecognitionAnnotationsBuilder_ = null; logoRecognitionAnnotations_ = other.logoRecognitionAnnotations_; bitField0_ = (bitField0_ & ~0x00000400); - logoRecognitionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLogoRecognitionAnnotationsFieldBuilder() - : null; + logoRecognitionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLogoRecognitionAnnotationsFieldBuilder() : null; } else { logoRecognitionAnnotationsBuilder_.addAllMessages(other.logoRecognitionAnnotations_); } @@ -2816,10 +2339,9 @@ public Builder mergeFrom( personDetectionAnnotationsBuilder_ = null; personDetectionAnnotations_ = other.personDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000800); - personDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPersonDetectionAnnotationsFieldBuilder() - : null; + personDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPersonDetectionAnnotationsFieldBuilder() : null; } else { personDetectionAnnotationsBuilder_.addAllMessages(other.personDetectionAnnotations_); } @@ -2850,9 +2372,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2861,26 +2381,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object inputUri_ = ""; /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -2889,22 +2406,21 @@ public java.lang.String getInputUri() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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 { @@ -2912,64 +2428,57 @@ public com.google.protobuf.ByteString getInputUriBytes() { } } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** - * - * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; - * * @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; @@ -2977,47 +2486,34 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; /** - * - * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } else { return segmentBuilder_.getMessage(); } } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3038,8 +2534,6 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3058,8 +2552,6 @@ public Builder setSegment( return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3070,9 +2562,7 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); } else { segment_ = value; } @@ -3084,8 +2574,6 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3104,8 +2592,6 @@ public Builder clearSegment() { return this; } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3113,32 +2599,26 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** - * - * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null - ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() - : segment_; + return segment_ == null ? + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; } } /** - * - * *
      * Video segment on which the annotation is run.
      * 
@@ -3146,54 +2626,40 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), getParentForChildren(), isClean()); + segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), + getParentForChildren(), + isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List - segmentLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = - new java.util.ArrayList( - segmentLabelAnnotations_); + segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsList() { + public java.util.List getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -3201,16 +2667,12 @@ private void ensureSegmentLabelAnnotationsIsMutable() { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3220,19 +2682,14 @@ public int getSegmentLabelAnnotationsCount() { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -3240,16 +2697,12 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLa } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3266,20 +2719,15 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder setSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -3290,19 +2738,14 @@ public Builder setSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public Builder addSegmentLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3316,16 +2759,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3342,16 +2781,12 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -3365,20 +2800,15 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addSegmentLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -3389,23 +2819,19 @@ public Builder addSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -3413,16 +2839,12 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3435,16 +2857,12 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -3457,56 +2875,42 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getSegmentLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( + int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); - } else { + return segmentLabelAnnotations_.get(index); } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3514,70 +2918,48 @@ public Builder removeSegmentLabelAnnotations(int index) { } } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addSegmentLabelAnnotationsBuilder(int index) { - return getSegmentLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( + int index) { + return getSegmentLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3587,27 +2969,19 @@ public Builder removeSegmentLabelAnnotations(int index) { return segmentLabelAnnotationsBuilder_; } - private java.util.List - segmentPresenceLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List segmentPresenceLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureSegmentPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = - new java.util.ArrayList( - segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = new java.util.ArrayList(segmentPresenceLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - segmentPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> segmentPresenceLabelAnnotationsBuilder_; /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3617,12 +2991,9 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List - getSegmentPresenceLabelAnnotationsList() { + public java.util.List getSegmentPresenceLabelAnnotationsList() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } else { @@ -3630,8 +3001,6 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3641,9 +3010,7 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public int getSegmentPresenceLabelAnnotationsCount() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3653,8 +3020,6 @@ public int getSegmentPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3664,12 +3029,9 @@ public int getSegmentPresenceLabelAnnotationsCount() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return segmentPresenceLabelAnnotations_.get(index); } else { @@ -3677,8 +3039,6 @@ public int getSegmentPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3688,9 +3048,7 @@ public int getSegmentPresenceLabelAnnotationsCount() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3707,8 +3065,6 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3718,13 +3074,10 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder setSegmentPresenceLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); segmentPresenceLabelAnnotations_.set(index, builderForValue.build()); @@ -3735,8 +3088,6 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3746,12 +3097,9 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public Builder addSegmentPresenceLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3765,8 +3113,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3776,9 +3122,7 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3795,8 +3139,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3806,9 +3148,7 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -3822,8 +3162,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3833,13 +3171,10 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addSegmentPresenceLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); segmentPresenceLabelAnnotations_.add(index, builderForValue.build()); @@ -3850,8 +3185,6 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3861,13 +3194,10 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder addAllSegmentPresenceLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3879,8 +3209,6 @@ public Builder addAllSegmentPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3890,9 +3218,7 @@ public Builder addAllSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder clearSegmentPresenceLabelAnnotations() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3905,8 +3231,6 @@ public Builder clearSegmentPresenceLabelAnnotations() { return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3916,9 +3240,7 @@ public Builder clearSegmentPresenceLabelAnnotations() {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ public Builder removeSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3931,8 +3253,6 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return this; } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3942,17 +3262,13 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getSegmentPresenceLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getSegmentPresenceLabelAnnotationsBuilder( + int index) { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3962,21 +3278,16 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - return segmentPresenceLabelAnnotations_.get(index); - } else { + return segmentPresenceLabelAnnotations_.get(index); } else { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3986,13 +3297,10 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getSegmentPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsOrBuilderList() { if (segmentPresenceLabelAnnotationsBuilder_ != null) { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4000,8 +3308,6 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { } } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4011,19 +3317,13 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addSegmentPresenceLabelAnnotationsBuilder() { - return getSegmentPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder() { + return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4033,20 +3333,14 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addSegmentPresenceLabelAnnotationsBuilder(int index) { - return getSegmentPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder( + int index) { + return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -4056,26 +3350,18 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - public java.util.List - getSegmentPresenceLabelAnnotationsBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsBuilderList() { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsFieldBuilder() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - segmentPresenceLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + segmentPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( segmentPresenceLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4085,38 +3371,27 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return segmentPresenceLabelAnnotationsBuilder_; } - private java.util.List - shotLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = - new java.util.ArrayList( - shotLabelAnnotations_); + shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsList() { + public java.util.List getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -4124,16 +3399,12 @@ private void ensureShotLabelAnnotationsIsMutable() { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -4143,19 +3414,14 @@ public int getShotLabelAnnotationsCount() { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -4163,16 +3429,12 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabel } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4189,20 +3451,15 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder setShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -4213,19 +3470,14 @@ public Builder setShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public Builder addShotLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4239,16 +3491,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4265,16 +3513,12 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -4288,20 +3532,15 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addShotLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -4312,23 +3551,19 @@ public Builder addShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -4336,16 +3571,12 @@ public Builder addAllShotLabelAnnotations( return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -4358,16 +3589,12 @@ public Builder clearShotLabelAnnotations() { return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -4380,56 +3607,42 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getShotLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( + int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); - } else { + return shotLabelAnnotations_.get(index); } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4437,70 +3650,48 @@ public Builder removeShotLabelAnnotations(int index) { } } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addShotLabelAnnotationsBuilder(int index) { - return getShotLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( + int index) { + return getShotLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -4510,27 +3701,19 @@ public Builder removeShotLabelAnnotations(int index) { return shotLabelAnnotationsBuilder_; } - private java.util.List - shotPresenceLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotPresenceLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = - new java.util.ArrayList( - shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = new java.util.ArrayList(shotPresenceLabelAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - shotPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> shotPresenceLabelAnnotationsBuilder_; /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4539,21 +3722,16 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List - getShotPresenceLabelAnnotationsList() { + public java.util.List getShotPresenceLabelAnnotationsList() { if (shotPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } else { return shotPresenceLabelAnnotationsBuilder_.getMessageList(); } } - /** - * - * + /** *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4562,9 +3740,7 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public int getShotPresenceLabelAnnotationsCount() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4574,8 +3750,6 @@ public int getShotPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4584,12 +3758,9 @@ public int getShotPresenceLabelAnnotationsCount() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation - getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { return shotPresenceLabelAnnotations_.get(index); } else { @@ -4597,8 +3768,6 @@ public int getShotPresenceLabelAnnotationsCount() { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4607,9 +3776,7 @@ public int getShotPresenceLabelAnnotationsCount() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4626,8 +3793,6 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4636,13 +3801,10 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder setShotPresenceLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); shotPresenceLabelAnnotations_.set(index, builderForValue.build()); @@ -4653,8 +3815,6 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4663,12 +3823,9 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public Builder addShotPresenceLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (shotPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4682,8 +3839,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4692,9 +3847,7 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4711,8 +3864,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4721,9 +3872,7 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -4737,8 +3886,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4747,13 +3894,10 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addShotPresenceLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); shotPresenceLabelAnnotations_.add(index, builderForValue.build()); @@ -4764,8 +3908,6 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4774,13 +3916,10 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder addAllShotPresenceLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -4792,8 +3931,6 @@ public Builder addAllShotPresenceLabelAnnotations( return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4802,9 +3939,7 @@ public Builder addAllShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder clearShotPresenceLabelAnnotations() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4817,8 +3952,6 @@ public Builder clearShotPresenceLabelAnnotations() { return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4827,9 +3960,7 @@ public Builder clearShotPresenceLabelAnnotations() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ public Builder removeShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4842,8 +3973,6 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return this; } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4852,17 +3981,13 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getShotPresenceLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getShotPresenceLabelAnnotationsBuilder( + int index) { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4871,21 +3996,16 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { - return shotPresenceLabelAnnotations_.get(index); - } else { + return shotPresenceLabelAnnotations_.get(index); } else { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4894,13 +4014,10 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getShotPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsOrBuilderList() { if (shotPresenceLabelAnnotationsBuilder_ != null) { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4908,8 +4025,6 @@ public Builder removeShotPresenceLabelAnnotations(int index) { } } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4918,19 +4033,13 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addShotPresenceLabelAnnotationsBuilder() { - return getShotPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder() { + return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4939,20 +4048,14 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addShotPresenceLabelAnnotationsBuilder(int index) { - return getShotPresenceLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder( + int index) { + return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4961,26 +4064,18 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - public java.util.List - getShotPresenceLabelAnnotationsBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsBuilderList() { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsFieldBuilder() { if (shotPresenceLabelAnnotationsBuilder_ == null) { - shotPresenceLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + shotPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( shotPresenceLabelAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -4990,38 +4085,27 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return shotPresenceLabelAnnotationsBuilder_; } - private java.util.List - frameLabelAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List frameLabelAnnotations_ = + java.util.Collections.emptyList(); private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = - new java.util.ArrayList( - frameLabelAnnotations_); + frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsList() { + public java.util.List getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -5029,16 +4113,12 @@ private void ensureFrameLabelAnnotationsIsMutable() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -5048,19 +4128,14 @@ public int getFrameLabelAnnotationsCount() { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -5068,16 +4143,12 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabe } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -5094,20 +4165,15 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder setFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -5118,19 +4184,14 @@ public Builder setFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public Builder addFrameLabelAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5144,16 +4205,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -5170,16 +4227,12 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -5193,20 +4246,15 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addFrameLabelAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -5217,23 +4265,19 @@ public Builder addFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -5241,16 +4285,12 @@ public Builder addAllFrameLabelAnnotations( return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -5263,16 +4303,12 @@ public Builder clearFrameLabelAnnotations() { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -5285,56 +4321,42 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - getFrameLabelAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( + int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); - } else { + return frameLabelAnnotations_.get(index); } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5342,70 +4364,48 @@ public Builder removeFrameLabelAnnotations(int index) { } } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder - addFrameLabelAnnotationsBuilder(int index) { - return getFrameLabelAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( + int index) { + return getFrameLabelAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** - * - * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -5415,38 +4415,26 @@ public Builder removeFrameLabelAnnotations(int index) { return frameLabelAnnotationsBuilder_; } - private java.util.List - faceDetectionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List faceDetectionAnnotations_ = + java.util.Collections.emptyList(); private void ensureFaceDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation>( - faceDetectionAnnotations_); + faceDetectionAnnotations_ = new java.util.ArrayList(faceDetectionAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> - faceDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> faceDetectionAnnotationsBuilder_; /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List - getFaceDetectionAnnotationsList() { + public java.util.List getFaceDetectionAnnotationsList() { if (faceDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } else { @@ -5454,15 +4442,11 @@ private void ensureFaceDetectionAnnotationsIsMutable() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public int getFaceDetectionAnnotationsCount() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -5472,18 +4456,13 @@ public int getFaceDetectionAnnotationsCount() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { return faceDetectionAnnotations_.get(index); } else { @@ -5491,15 +4470,11 @@ public int getFaceDetectionAnnotationsCount() { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder setFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { @@ -5516,20 +4491,14 @@ public Builder setFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder setFaceDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.set(index, builderForValue.build()); @@ -5540,18 +4509,13 @@ public Builder setFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public Builder addFaceDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { + public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { if (faceDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5565,15 +4529,11 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { @@ -5590,19 +4550,14 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(builderForValue.build()); @@ -5613,20 +4568,14 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addFaceDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(index, builderForValue.build()); @@ -5637,23 +4586,18 @@ public Builder addFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder addAllFaceDetectionAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation> - values) { + java.lang.Iterable values) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, faceDetectionAnnotations_); onChanged(); } else { faceDetectionAnnotationsBuilder_.addAllMessages(values); @@ -5661,15 +4605,11 @@ public Builder addAllFaceDetectionAnnotations( return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder clearFaceDetectionAnnotations() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -5682,15 +4622,11 @@ public Builder clearFaceDetectionAnnotations() { return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ public Builder removeFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { @@ -5703,53 +4639,39 @@ public Builder removeFaceDetectionAnnotations(int index) { return this; } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - getFaceDetectionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder getFaceDetectionAnnotationsBuilder( + int index) { return getFaceDetectionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index) { if (faceDetectionAnnotationsBuilder_ == null) { - return faceDetectionAnnotations_.get(index); - } else { + return faceDetectionAnnotations_.get(index); } else { return faceDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> - getFaceDetectionAnnotationsOrBuilderList() { + public java.util.List + getFaceDetectionAnnotationsOrBuilderList() { if (faceDetectionAnnotationsBuilder_ != null) { return faceDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5757,70 +4679,45 @@ public Builder removeFaceDetectionAnnotations(int index) { } } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - addFaceDetectionAnnotationsBuilder() { - return getFaceDetectionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder() { + return getFaceDetectionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder - addFaceDetectionAnnotationsBuilder(int index) { - return getFaceDetectionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder( + int index) { + return getFaceDetectionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Face detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder> - getFaceDetectionAnnotationsBuilderList() { + public java.util.List + getFaceDetectionAnnotationsBuilderList() { return getFaceDetectionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsFieldBuilder() { if (faceDetectionAnnotationsBuilder_ == null) { - faceDetectionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder>( + faceDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder>( faceDetectionAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -5830,36 +4727,26 @@ public Builder removeFaceDetectionAnnotations(int index) { return faceDetectionAnnotationsBuilder_; } - private java.util.List - shotAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List shotAnnotations_ = + java.util.Collections.emptyList(); private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - shotAnnotations_ = - new java.util.ArrayList( - shotAnnotations_); + shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsList() { + public java.util.List getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -5867,14 +4754,11 @@ private void ensureShotAnnotationsIsMutable() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -5884,14 +4768,11 @@ public int getShotAnnotationsCount() { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -5901,14 +4782,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotati } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -5925,18 +4803,14 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder setShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -5947,17 +4821,13 @@ public Builder setShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public Builder addShotAnnotations( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { + public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5971,14 +4841,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -5995,14 +4862,11 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { @@ -6016,18 +4880,14 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder addShotAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -6038,21 +4898,18 @@ public Builder addShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder addAllShotAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -6060,14 +4917,11 @@ public Builder addAllShotAnnotations( return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -6080,14 +4934,11 @@ public Builder clearShotAnnotations() { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -6100,50 +4951,39 @@ public Builder removeShotAnnotations(int index) { return this; } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - getShotAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getShotAnnotationsBuilder( + int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder - getShotAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( + int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); - } else { + return shotAnnotations_.get(index); } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6151,64 +4991,45 @@ public Builder removeShotAnnotations(int index) { } } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder - addShotAnnotationsBuilder(int index) { - return getShotAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder( + int index) { + return getShotAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** - * - * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), @@ -6218,66 +5039,43 @@ public Builder removeShotAnnotations(int index) { return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> - explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6291,19 +5089,14 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -6314,25 +5107,17 @@ public Builder setExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public Builder mergeExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder( - explicitAnnotation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); } else { explicitAnnotation_ = value; } @@ -6344,15 +5129,11 @@ public Builder mergeExplicitAnnotation( return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -6366,104 +5147,73 @@ public Builder clearExplicitAnnotation() { return this; } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder - getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation - .getDefaultInstance() - : explicitAnnotation_; + return explicitAnnotation_ == null ? + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; } } /** - * - * *
      * Explicit content annotation.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), getParentForChildren(), isClean()); + explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), + getParentForChildren(), + isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List - speechTranscriptions_ = java.util.Collections.emptyList(); - + private java.util.List speechTranscriptions_ = + java.util.Collections.emptyList(); private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - speechTranscriptions_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription>( - speechTranscriptions_); + speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> - speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsList() { + public java.util.List getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -6471,15 +5221,11 @@ private void ensureSpeechTranscriptionsIsMutable() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -6489,18 +5235,13 @@ public int getSpeechTranscriptionsCount() { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -6508,15 +5249,11 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeec } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { @@ -6533,19 +5270,14 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder setSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -6556,18 +5288,13 @@ public Builder setSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public Builder addSpeechTranscriptions( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { + public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6581,15 +5308,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { @@ -6606,15 +5329,11 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { @@ -6628,19 +5347,14 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addSpeechTranscriptions( - int index, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -6651,23 +5365,18 @@ public Builder addSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription> - values) { + java.lang.Iterable values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -6675,15 +5384,11 @@ public Builder addAllSpeechTranscriptions( return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -6696,15 +5401,11 @@ public Builder clearSpeechTranscriptions() { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -6717,53 +5418,39 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder - getSpeechTranscriptionsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( + int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); - } else { + return speechTranscriptions_.get(index); } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> - getSpeechTranscriptionsOrBuilderList() { + public java.util.List + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -6771,69 +5458,45 @@ public Builder removeSpeechTranscriptions(int index) { } } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder - addSpeechTranscriptionsBuilder(int index) { - return getSpeechTranscriptionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( + int index) { + return getSpeechTranscriptionsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()); } /** - * - * *
      * Speech transcription.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -6843,39 +5506,28 @@ public Builder removeSpeechTranscriptions(int index) { return speechTranscriptionsBuilder_; } - private java.util.List - textAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List textAnnotations_ = + java.util.Collections.emptyList(); private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - textAnnotations_ = - new java.util.ArrayList( - textAnnotations_); + textAnnotations_ = new java.util.ArrayList(textAnnotations_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> - textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> textAnnotationsBuilder_; /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsList() { + public java.util.List getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -6883,17 +5535,13 @@ private void ensureTextAnnotationsIsMutable() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -6903,20 +5551,15 @@ public int getTextAnnotationsCount() { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { return textAnnotations_.get(index); } else { @@ -6924,17 +5567,13 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnota } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { @@ -6951,21 +5590,16 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder setTextAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.set(index, builderForValue.build()); @@ -6976,20 +5610,15 @@ public Builder setTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public Builder addTextAnnotations( - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { + public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7003,17 +5632,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { @@ -7030,17 +5655,13 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { @@ -7054,21 +5675,16 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder addTextAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.add(index, builderForValue.build()); @@ -7079,24 +5695,20 @@ public Builder addTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder addAllTextAnnotations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -7104,17 +5716,13 @@ public Builder addAllTextAnnotations( return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -7127,17 +5735,13 @@ public Builder clearTextAnnotations() { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -7150,59 +5754,45 @@ public Builder removeTextAnnotations(int index) { return this; } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder - getTextAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder getTextAnnotationsBuilder( + int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder - getTextAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( + int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); - } else { + return textAnnotations_.get(index); } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> - getTextAnnotationsOrBuilderList() { + public java.util.List + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -7210,73 +5800,51 @@ public Builder removeTextAnnotations(int index) { } } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder - addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder - addTextAnnotationsBuilder(int index) { - return getTextAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder addTextAnnotationsBuilder( + int index) { + return getTextAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); } /** - * - * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), @@ -7286,38 +5854,26 @@ public Builder removeTextAnnotations(int index) { return textAnnotationsBuilder_; } - private java.util.List - objectAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List objectAnnotations_ = + java.util.Collections.emptyList(); private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - objectAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>( - objectAnnotations_); + objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> - objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List - getObjectAnnotationsList() { + public java.util.List getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -7325,15 +5881,11 @@ private void ensureObjectAnnotationsIsMutable() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -7343,18 +5895,13 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -7362,15 +5909,11 @@ public int getObjectAnnotationsCount() { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -7387,20 +5930,14 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder setObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -7411,18 +5948,13 @@ public Builder setObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7436,15 +5968,11 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -7461,19 +5989,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -7484,20 +6007,14 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addObjectAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -7508,23 +6025,18 @@ public Builder addObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder addAllObjectAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation> - values) { + java.lang.Iterable values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -7532,15 +6044,11 @@ public Builder addAllObjectAnnotations( return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -7553,15 +6061,11 @@ public Builder clearObjectAnnotations() { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -7574,54 +6078,39 @@ public Builder removeObjectAnnotations(int index) { return this; } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - getObjectAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( + int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); - } else { + return objectAnnotations_.get(index); } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> - getObjectAnnotationsOrBuilderList() { + public java.util.List + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -7629,70 +6118,45 @@ public Builder removeObjectAnnotations(int index) { } } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder - addObjectAnnotationsBuilder(int index) { - return getObjectAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( + int index) { + return getObjectAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder> - getObjectAnnotationsBuilderList() { + public java.util.List + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), @@ -7702,38 +6166,26 @@ public Builder removeObjectAnnotations(int index) { return objectAnnotationsBuilder_; } - private java.util.List - logoRecognitionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List logoRecognitionAnnotations_ = + java.util.Collections.emptyList(); private void ensureLogoRecognitionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation>( - logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = new java.util.ArrayList(logoRecognitionAnnotations_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> - logoRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> logoRecognitionAnnotationsBuilder_; /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List - getLogoRecognitionAnnotationsList() { + public java.util.List getLogoRecognitionAnnotationsList() { if (logoRecognitionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } else { @@ -7741,15 +6193,11 @@ private void ensureLogoRecognitionAnnotationsIsMutable() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public int getLogoRecognitionAnnotationsCount() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -7759,18 +6207,13 @@ public int getLogoRecognitionAnnotationsCount() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { return logoRecognitionAnnotations_.get(index); } else { @@ -7778,15 +6221,11 @@ public int getLogoRecognitionAnnotationsCount() { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder setLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { @@ -7803,20 +6242,14 @@ public Builder setLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder setLogoRecognitionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.set(index, builderForValue.build()); @@ -7827,18 +6260,13 @@ public Builder setLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public Builder addLogoRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { + public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { if (logoRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7852,15 +6280,11 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { @@ -7877,19 +6301,14 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(builderForValue.build()); @@ -7900,20 +6319,14 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addLogoRecognitionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(index, builderForValue.build()); @@ -7924,23 +6337,18 @@ public Builder addLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder addAllLogoRecognitionAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation> - values) { + java.lang.Iterable values) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logoRecognitionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, logoRecognitionAnnotations_); onChanged(); } else { logoRecognitionAnnotationsBuilder_.addAllMessages(values); @@ -7948,15 +6356,11 @@ public Builder addAllLogoRecognitionAnnotations( return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder clearLogoRecognitionAnnotations() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -7969,15 +6373,11 @@ public Builder clearLogoRecognitionAnnotations() { return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ public Builder removeLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -7990,54 +6390,39 @@ public Builder removeLogoRecognitionAnnotations(int index) { return this; } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - getLogoRecognitionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder getLogoRecognitionAnnotationsBuilder( + int index) { return getLogoRecognitionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index) { if (logoRecognitionAnnotationsBuilder_ == null) { - return logoRecognitionAnnotations_.get(index); - } else { + return logoRecognitionAnnotations_.get(index); } else { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> - getLogoRecognitionAnnotationsOrBuilderList() { + public java.util.List + getLogoRecognitionAnnotationsOrBuilderList() { if (logoRecognitionAnnotationsBuilder_ != null) { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -8045,70 +6430,45 @@ public Builder removeLogoRecognitionAnnotations(int index) { } } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - addLogoRecognitionAnnotationsBuilder() { - return getLogoRecognitionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder() { + return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder - addLogoRecognitionAnnotationsBuilder(int index) { - return getLogoRecognitionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder( + int index) { + return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()); } /** - * - * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder> - getLogoRecognitionAnnotationsBuilderList() { + public java.util.List + getLogoRecognitionAnnotationsBuilderList() { return getLogoRecognitionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsFieldBuilder() { if (logoRecognitionAnnotationsBuilder_ == null) { - logoRecognitionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder>( + logoRecognitionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder>( logoRecognitionAnnotations_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -8118,38 +6478,26 @@ public Builder removeLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotationsBuilder_; } - private java.util.List - personDetectionAnnotations_ = java.util.Collections.emptyList(); - + private java.util.List personDetectionAnnotations_ = + java.util.Collections.emptyList(); private void ensurePersonDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation>( - personDetectionAnnotations_); + personDetectionAnnotations_ = new java.util.ArrayList(personDetectionAnnotations_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> - personDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> personDetectionAnnotationsBuilder_; /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List - getPersonDetectionAnnotationsList() { + public java.util.List getPersonDetectionAnnotationsList() { if (personDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(personDetectionAnnotations_); } else { @@ -8157,15 +6505,11 @@ private void ensurePersonDetectionAnnotationsIsMutable() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public int getPersonDetectionAnnotationsCount() { if (personDetectionAnnotationsBuilder_ == null) { @@ -8175,18 +6519,13 @@ public int getPersonDetectionAnnotationsCount() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { return personDetectionAnnotations_.get(index); } else { @@ -8194,15 +6533,11 @@ public int getPersonDetectionAnnotationsCount() { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder setPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { @@ -8219,20 +6554,14 @@ public Builder setPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder setPersonDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.set(index, builderForValue.build()); @@ -8243,18 +6572,13 @@ public Builder setPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public Builder addPersonDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { + public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { if (personDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8268,15 +6592,11 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { @@ -8293,19 +6613,14 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(builderForValue.build()); @@ -8316,20 +6631,14 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addPersonDetectionAnnotations( - int index, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - builderForValue) { + int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(index, builderForValue.build()); @@ -8340,23 +6649,18 @@ public Builder addPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder addAllPersonDetectionAnnotations( - java.lang.Iterable< - ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation> - values) { + java.lang.Iterable values) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, personDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, personDetectionAnnotations_); onChanged(); } else { personDetectionAnnotationsBuilder_.addAllMessages(values); @@ -8364,15 +6668,11 @@ public Builder addAllPersonDetectionAnnotations( return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder clearPersonDetectionAnnotations() { if (personDetectionAnnotationsBuilder_ == null) { @@ -8385,15 +6685,11 @@ public Builder clearPersonDetectionAnnotations() { return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ public Builder removePersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { @@ -8406,54 +6702,39 @@ public Builder removePersonDetectionAnnotations(int index) { return this; } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - getPersonDetectionAnnotationsBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder getPersonDetectionAnnotationsBuilder( + int index) { return getPersonDetectionAnnotationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index) { if (personDetectionAnnotationsBuilder_ == null) { - return personDetectionAnnotations_.get(index); - } else { + return personDetectionAnnotations_.get(index); } else { return personDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List< - ? extends - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> - getPersonDetectionAnnotationsOrBuilderList() { + public java.util.List + getPersonDetectionAnnotationsOrBuilderList() { if (personDetectionAnnotationsBuilder_ != null) { return personDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -8461,70 +6742,45 @@ public Builder removePersonDetectionAnnotations(int index) { } } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - addPersonDetectionAnnotationsBuilder() { - return getPersonDetectionAnnotationsFieldBuilder() - .addBuilder( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder() { + return getPersonDetectionAnnotationsFieldBuilder().addBuilder( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder - addPersonDetectionAnnotationsBuilder(int index) { - return getPersonDetectionAnnotationsFieldBuilder() - .addBuilder( - index, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - .getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder( + int index) { + return getPersonDetectionAnnotationsFieldBuilder().addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()); } /** - * - * *
      * Person detection annotations.
      * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - public java.util.List< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder> - getPersonDetectionAnnotationsBuilderList() { + public java.util.List + getPersonDetectionAnnotationsBuilderList() { return getPersonDetectionAnnotationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsFieldBuilder() { if (personDetectionAnnotationsBuilder_ == null) { - personDetectionAnnotationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder>( + personDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder>( personDetectionAnnotations_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), @@ -8534,67 +6790,43 @@ public Builder removePersonDetectionAnnotations(int index) { return personDetectionAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - celebrityRecognitionAnnotations_; + private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrityRecognitionAnnotations_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> - celebrityRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> celebrityRecognitionAnnotationsBuilder_; /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return Whether the celebrityRecognitionAnnotations field is set. */ public boolean hasCelebrityRecognitionAnnotations() { - return celebrityRecognitionAnnotationsBuilder_ != null - || celebrityRecognitionAnnotations_ != null; + return celebrityRecognitionAnnotationsBuilder_ != null || celebrityRecognitionAnnotations_ != null; } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return The celebrityRecognitionAnnotations. */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getCelebrityRecognitionAnnotations() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations() { if (celebrityRecognitionAnnotationsBuilder_ == null) { - return celebrityRecognitionAnnotations_ == null - ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .getDefaultInstance() - : celebrityRecognitionAnnotations_; + return celebrityRecognitionAnnotations_ == null ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; } else { return celebrityRecognitionAnnotationsBuilder_.getMessage(); } } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ - public Builder setCelebrityRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { + public Builder setCelebrityRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { if (celebrityRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8608,19 +6840,14 @@ public Builder setCelebrityRecognitionAnnotations( return this; } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ public Builder setCelebrityRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder builderForValue) { if (celebrityRecognitionAnnotationsBuilder_ == null) { celebrityRecognitionAnnotations_ = builderForValue.build(); onChanged(); @@ -8631,25 +6858,17 @@ public Builder setCelebrityRecognitionAnnotations( return this; } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ - public Builder mergeCelebrityRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { + public Builder mergeCelebrityRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { if (celebrityRecognitionAnnotationsBuilder_ == null) { if (celebrityRecognitionAnnotations_ != null) { celebrityRecognitionAnnotations_ = - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .newBuilder(celebrityRecognitionAnnotations_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.newBuilder(celebrityRecognitionAnnotations_).mergeFrom(value).buildPartial(); } else { celebrityRecognitionAnnotations_ = value; } @@ -8661,15 +6880,11 @@ public Builder mergeCelebrityRecognitionAnnotations( return this; } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ public Builder clearCelebrityRecognitionAnnotations() { if (celebrityRecognitionAnnotationsBuilder_ == null) { @@ -8683,68 +6898,48 @@ public Builder clearCelebrityRecognitionAnnotations() { return this; } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder - getCelebrityRecognitionAnnotationsBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder getCelebrityRecognitionAnnotationsBuilder() { + onChanged(); return getCelebrityRecognitionAnnotationsFieldBuilder().getBuilder(); } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder - getCelebrityRecognitionAnnotationsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder() { if (celebrityRecognitionAnnotationsBuilder_ != null) { return celebrityRecognitionAnnotationsBuilder_.getMessageOrBuilder(); } else { - return celebrityRecognitionAnnotations_ == null - ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - .getDefaultInstance() - : celebrityRecognitionAnnotations_; + return celebrityRecognitionAnnotations_ == null ? + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; } } /** - * - * *
      * Celebrity recognition annotations.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> getCelebrityRecognitionAnnotationsFieldBuilder() { if (celebrityRecognitionAnnotationsBuilder_ == null) { - celebrityRecognitionAnnotationsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, - com.google.cloud.videointelligence.v1p3beta1 - .CelebrityRecognitionAnnotationOrBuilder>( - getCelebrityRecognitionAnnotations(), getParentForChildren(), isClean()); + celebrityRecognitionAnnotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder>( + getCelebrityRecognitionAnnotations(), + getParentForChildren(), + isClean()); celebrityRecognitionAnnotations_ = null; } return celebrityRecognitionAnnotationsBuilder_; @@ -8752,33 +6947,26 @@ public Builder clearCelebrityRecognitionAnnotations() { 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_; /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -8789,8 +6977,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8812,8 +6998,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8821,7 +7005,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -8832,8 +7017,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8844,7 +7027,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;
         }
@@ -8856,8 +7040,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8877,8 +7059,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8887,13 +7067,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8905,12 +7083,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -8919,21 +7096,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -8943,32 +7120,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
-      getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoAnnotationResults parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoAnnotationResults(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoAnnotationResults parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoAnnotationResults(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -8980,8 +7155,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
-      getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
similarity index 62%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
index b9018e358..e20202cc9 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,82 +1,53 @@
-/*
- * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoAnnotationResultsOrBuilder
-    extends
+public interface VideoAnnotationResultsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The inputUri. */ java.lang.String getInputUri(); /** - * - * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; - * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString getInputUriBytes(); + com.google.protobuf.ByteString + getInputUriBytes(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return Whether the segment field is set. */ boolean hasSegment(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; - * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** - * - * *
    * Video segment on which the annotation is run.
    * 
@@ -86,78 +57,55 @@ public interface VideoAnnotationResultsOrBuilder com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ int getSegmentLabelAnnotationsCount(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** - * - * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -167,15 +115,11 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnno
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsList(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -185,15 +129,10 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnno
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -203,14 +142,10 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceL
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ int getSegmentPresenceLabelAnnotationsCount(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -220,15 +155,11 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceL
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList(); /** - * - * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -238,85 +169,61 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceL
    * "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getSegmentPresenceLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ int getShotLabelAnnotationsCount(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** - * - * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -325,15 +232,11 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceL
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsList(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -342,15 +245,10 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceL
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -359,14 +257,10 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabe
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ int getShotPresenceLabelAnnotationsCount(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -375,15 +269,11 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabe
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsOrBuilderList(); /** - * - * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -392,654 +282,453 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabe
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getShotPresenceLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ int getFrameLabelAnnotationsCount(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** - * - * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder - getFrameLabelAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( + int index); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - java.util.List + java.util.List getFaceDetectionAnnotationsList(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ int getFaceDetectionAnnotationsCount(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + java.util.List getFaceDetectionAnnotationsOrBuilderList(); /** - * - * *
    * Face detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; - * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder - getFaceDetectionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( + int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ int getShotAnnotationsCount(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** - * - * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; - * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; */ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** - * - * *
    * Explicit content annotation.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder - getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( - int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ int getSpeechTranscriptionsCount(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + java.util.List getSpeechTranscriptionsOrBuilderList(); /** - * - * *
    * Speech transcription.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; - * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder - getSpeechTranscriptionsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( + int index); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - java.util.List + java.util.List getTextAnnotationsList(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ int getTextAnnotationsCount(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ - java.util.List + java.util.List getTextAnnotationsOrBuilderList(); /** - * - * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; - * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; */ com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( int index); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List + java.util.List getObjectAnnotationsList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( - int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ int getObjectAnnotationsCount(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + java.util.List getObjectAnnotationsOrBuilderList(); /** - * - * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; - * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder - getObjectAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( + int index); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - java.util.List + java.util.List getLogoRecognitionAnnotationsList(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation - getLogoRecognitionAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ int getLogoRecognitionAnnotationsCount(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + java.util.List getLogoRecognitionAnnotationsOrBuilderList(); /** - * - * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; - * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; */ - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder - getLogoRecognitionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( + int index); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - java.util.List + java.util.List getPersonDetectionAnnotationsList(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation - getPersonDetectionAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ int getPersonDetectionAnnotationsCount(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + java.util.List getPersonDetectionAnnotationsOrBuilderList(); /** - * - * *
    * Person detection annotations.
    * 
* - * - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; - * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder - getPersonDetectionAnnotationsOrBuilder(int index); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( + int index); /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return Whether the celebrityRecognitionAnnotations field is set. */ boolean hasCelebrityRecognitionAnnotations(); /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; * @return The celebrityRecognitionAnnotations. */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation - getCelebrityRecognitionAnnotations(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations(); /** - * - * *
    * Celebrity recognition annotations.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; - * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder - getCelebrityRecognitionAnnotationsOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
similarity index 60%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
index f4d657708..364a3b4d2 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
- *
- *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoContext} */ -public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoContext) VideoContextOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,174 +54,126 @@ private VideoContext( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder subBuilder = - null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + segments_.add( + input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); + break; + } + case 18: { + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); } - case 26: - { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder - subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); - } - shotChangeDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder - subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); } - case 42: - { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder subBuilder = - null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); - } - faceDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder - subBuilder = null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); - } - speechTranscriptionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); } - case 66: - { - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder subBuilder = - null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); - } - textDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder subBuilder = null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); } - case 90: - { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder - subBuilder = null; - if (personDetectionConfig_ != null) { - subBuilder = personDetectionConfig_.toBuilder(); - } - personDetectionConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(personDetectionConfig_); - personDetectionConfig_ = subBuilder.buildPartial(); - } - - break; + faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder subBuilder = - null; - if (objectTrackingConfig_ != null) { - subBuilder = objectTrackingConfig_.toBuilder(); - } - objectTrackingConfig_ = - input.readMessage( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectTrackingConfig_); - objectTrackingConfig_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder subBuilder = null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = subBuilder.buildPartial(); } + + break; + } + case 66: { + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder subBuilder = null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); + } + textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 90: { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder subBuilder = null; + if (personDetectionConfig_ != null) { + subBuilder = personDetectionConfig_.toBuilder(); + } + personDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(personDetectionConfig_); + personDetectionConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 106: { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder subBuilder = null; + if (objectTrackingConfig_ != null) { + subBuilder = objectTrackingConfig_.toBuilder(); + } + objectTrackingConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectTrackingConfig_); + objectTrackingConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -246,7 +181,8 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -255,27 +191,22 @@ private VideoContext( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -285,13 +216,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getSegmentsList() {
+  public java.util.List getSegmentsList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -301,14 +229,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+  public java.util.List 
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -322,8 +247,6 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -337,8 +260,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -356,16 +277,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -373,56 +289,37 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - getLabelDetectionConfig() { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig() { + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -430,57 +327,37 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -488,55 +365,37 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig faceDetectionConfig_; /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -544,53 +403,37 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -598,55 +441,37 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig textDetectionConfig_; /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -654,52 +479,37 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig personDetectionConfig_; /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ @java.lang.Override @@ -707,55 +517,37 @@ public boolean hasPersonDetectionConfig() { return personDetectionConfig_ != null; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - getPersonDetectionConfig() { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() - : personDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig() { + return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { return getPersonDetectionConfig(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 13; private com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig objectTrackingConfig_; /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -763,44 +555,30 @@ public boolean hasObjectTrackingConfig() { return objectTrackingConfig_ != null; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - getObjectTrackingConfig() { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig() { + return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { return getObjectTrackingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -812,7 +590,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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -850,40 +629,40 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getShotChangeDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getExplicitContentDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFaceDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, getSpeechTranscriptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSpeechTranscriptionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTextDetectionConfig()); } if (personDetectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPersonDetectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getPersonDetectionConfig()); } if (objectTrackingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, getObjectTrackingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getObjectTrackingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -893,50 +672,54 @@ 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.videointelligence.v1p3beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.VideoContext other = - (com.google.cloud.videointelligence.v1p3beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p3beta1.VideoContext other = (com.google.cloud.videointelligence.v1p3beta1.VideoContext) obj; - if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getSegmentsList() + .equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig() + .equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) - return false; + if (!getShotChangeDetectionConfig() + .equals(other.getShotChangeDetectionConfig())) return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) - return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) - return false; + if (!getExplicitContentDetectionConfig() + .equals(other.getExplicitContentDetectionConfig())) return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig() + .equals(other.getFaceDetectionConfig())) return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) - return false; + if (!getSpeechTranscriptionConfig() + .equals(other.getSpeechTranscriptionConfig())) return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig() + .equals(other.getTextDetectionConfig())) return false; } if (hasPersonDetectionConfig() != other.hasPersonDetectionConfig()) return false; if (hasPersonDetectionConfig()) { - if (!getPersonDetectionConfig().equals(other.getPersonDetectionConfig())) return false; + if (!getPersonDetectionConfig() + .equals(other.getPersonDetectionConfig())) return false; } if (hasObjectTrackingConfig() != other.hasObjectTrackingConfig()) return false; if (hasObjectTrackingConfig()) { - if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig() + .equals(other.getObjectTrackingConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -991,127 +774,117 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.VideoContext 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; } /** - * - * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoContext} */ - 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.videointelligence.v1p3beta1.VideoContext) com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder() @@ -1119,17 +892,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) { getSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1191,9 +964,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override @@ -1212,8 +985,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoContext result = - new com.google.cloud.videointelligence.v1p3beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p3beta1.VideoContext result = new com.google.cloud.videointelligence.v1p3beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1272,39 +1044,38 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoContext) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoContext)other); } else { super.mergeFrom(other); return this; @@ -1312,8 +1083,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -1332,10 +1102,9 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSegmentsFieldBuilder() - : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSegmentsFieldBuilder() : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -1384,8 +1153,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1394,30 +1162,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = - new java.util.ArrayList( - segments_); + segments_ = new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, - com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> - segmentsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentsBuilder_; /** - * - * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1426,8 +1185,7 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsList() {
+    public java.util.List getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1435,8 +1193,6 @@ private void ensureSegmentsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1453,8 +1209,6 @@ public int getSegmentsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1471,8 +1225,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1496,8 +1248,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1507,8 +1257,7 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1519,8 +1268,6 @@ public Builder setSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1543,8 +1290,6 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.VideoSeg
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1568,8 +1313,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1590,8 +1333,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1601,8 +1342,7 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index,
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1613,8 +1353,6 @@ public Builder addSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1624,11 +1362,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1636,8 +1374,6 @@ public Builder addAllSegments(
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1657,8 +1393,6 @@ public Builder clearSegments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1678,8 +1412,6 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1693,8 +1425,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1706,14 +1436,11 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);
-      } else {
+        return segments_.get(index);  } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1722,9 +1449,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
-        getSegmentsOrBuilderList() {
+    public java.util.List 
+         getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1732,8 +1458,6 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1743,13 +1467,10 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1760,14 +1481,10 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder().addBuilder(
+          index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1776,23 +1493,20 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List
-        getSegmentsBuilderList() {
+    public java.util.List 
+         getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
-                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                segments_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1800,62 +1514,41 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig,
-            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder,
-            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>
-        labelDetectionConfigBuilder_;
+        com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig - getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1869,15 +1562,11 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1891,25 +1580,17 @@ public Builder setLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ - public Builder mergeLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder( - labelDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1921,15 +1602,11 @@ public Builder mergeLabelDetectionConfig( return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1943,131 +1620,90 @@ public Builder clearLabelDetectionConfig() { return this; } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder - getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() - : labelDetectionConfig_; + return labelDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; } } /** - * - * *
      * Config for LABEL_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), getParentForChildren(), isClean()); + labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), + getParentForChildren(), + isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> - shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2081,19 +1717,14 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -2104,25 +1735,17 @@ public Builder setShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public Builder mergeShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder( - shotChangeDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -2134,15 +1757,11 @@ public Builder mergeShotChangeDetectionConfig( return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -2156,133 +1775,90 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder - getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - .getDefaultInstance() - : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; } } /** - * - * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), getParentForChildren(), isClean()); + shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), + getParentForChildren(), + isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> - explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null - || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2296,19 +1872,14 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -2319,25 +1890,17 @@ public Builder setExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public Builder mergeExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .newBuilder(explicitContentDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -2349,15 +1912,11 @@ public Builder mergeExplicitContentDetectionConfig( return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -2371,68 +1930,48 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder - getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - .getDefaultInstance() - : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; } } /** - * - * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1 - .ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); + explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), + getParentForChildren(), + isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -2440,62 +1979,41 @@ public Builder clearExplicitContentDetectionConfig() { private com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> - faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig - getFaceDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ - public Builder setFaceDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2509,15 +2027,11 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder builderForValue) { @@ -2531,25 +2045,17 @@ public Builder setFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ - public Builder mergeFaceDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder( - faceDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); } else { faceDetectionConfig_ = value; } @@ -2561,15 +2067,11 @@ public Builder mergeFaceDetectionConfig( return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -2583,131 +2085,90 @@ public Builder clearFaceDetectionConfig() { return this; } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder - getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() - : faceDetectionConfig_; + return faceDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; } } /** - * - * *
      * Config for FACE_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), getParentForChildren(), isClean()); + faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), + getParentForChildren(), + isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> - speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2721,19 +2182,14 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder builderForValue) { if (speechTranscriptionConfigBuilder_ == null) { speechTranscriptionConfig_ = builderForValue.build(); onChanged(); @@ -2744,25 +2200,17 @@ public Builder setSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public Builder mergeSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder( - speechTranscriptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -2774,15 +2222,11 @@ public Builder mergeSpeechTranscriptionConfig( return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -2796,67 +2240,48 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder - getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - .getDefaultInstance() - : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; } } /** - * - * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); + speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), + getParentForChildren(), + isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; @@ -2864,62 +2289,41 @@ public Builder clearSpeechTranscriptionConfig() { private com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> - textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig - getTextDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ - public Builder setTextDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { + public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2933,15 +2337,11 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder builderForValue) { @@ -2955,25 +2355,17 @@ public Builder setTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ - public Builder mergeTextDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder( - textDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); } else { textDetectionConfig_ = value; } @@ -2985,15 +2377,11 @@ public Builder mergeTextDetectionConfig( return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -3007,131 +2395,90 @@ public Builder clearTextDetectionConfig() { return this; } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder - getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() - : textDetectionConfig_; + return textDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; } } /** - * - * *
      * Config for TEXT_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), getParentForChildren(), isClean()); + textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), + getParentForChildren(), + isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - personDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig personDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> - personDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> personDetectionConfigBuilder_; /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ public boolean hasPersonDetectionConfig() { return personDetectionConfigBuilder_ != null || personDetectionConfig_ != null; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - getPersonDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - .getDefaultInstance() - : personDetectionConfig_; + return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } else { return personDetectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ - public Builder setPersonDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { + public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3145,19 +2492,14 @@ public Builder setPersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ public Builder setPersonDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder - builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder builderForValue) { if (personDetectionConfigBuilder_ == null) { personDetectionConfig_ = builderForValue.build(); onChanged(); @@ -3168,25 +2510,17 @@ public Builder setPersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ - public Builder mergePersonDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { + public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (personDetectionConfig_ != null) { personDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder( - personDetectionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder(personDetectionConfig_).mergeFrom(value).buildPartial(); } else { personDetectionConfig_ = value; } @@ -3198,15 +2532,11 @@ public Builder mergePersonDetectionConfig( return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ public Builder clearPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { @@ -3220,67 +2550,48 @@ public Builder clearPersonDetectionConfig() { return this; } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder - getPersonDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder getPersonDetectionConfigBuilder() { + onChanged(); return getPersonDetectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { if (personDetectionConfigBuilder_ != null) { return personDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return personDetectionConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig - .getDefaultInstance() - : personDetectionConfig_; + return personDetectionConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; } } /** - * - * *
      * Config for PERSON_DETECTION.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> getPersonDetectionConfigFieldBuilder() { if (personDetectionConfigBuilder_ == null) { - personDetectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder>( - getPersonDetectionConfig(), getParentForChildren(), isClean()); + personDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder>( + getPersonDetectionConfig(), + getParentForChildren(), + isClean()); personDetectionConfig_ = null; } return personDetectionConfigBuilder_; @@ -3288,62 +2599,41 @@ public Builder clearPersonDetectionConfig() { private com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig objectTrackingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> - objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ public boolean hasObjectTrackingConfig() { return objectTrackingConfigBuilder_ != null || objectTrackingConfig_ != null; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig - getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } else { return objectTrackingConfigBuilder_.getMessage(); } } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ - public Builder setObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { + public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3357,15 +2647,11 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ public Builder setObjectTrackingConfig( com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder builderForValue) { @@ -3379,25 +2665,17 @@ public Builder setObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ - public Builder mergeObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (objectTrackingConfig_ != null) { objectTrackingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder( - objectTrackingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder(objectTrackingConfig_).mergeFrom(value).buildPartial(); } else { objectTrackingConfig_ = value; } @@ -3409,15 +2687,11 @@ public Builder mergeObjectTrackingConfig( return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -3431,73 +2705,55 @@ public Builder clearObjectTrackingConfig() { return this; } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder - getObjectTrackingConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { + onChanged(); return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { if (objectTrackingConfigBuilder_ != null) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { - return objectTrackingConfig_ == null - ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() - : objectTrackingConfig_; + return objectTrackingConfig_ == null ? + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; } } /** - * - * *
      * Config for OBJECT_TRACKING.
      * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { - objectTrackingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder>( - getObjectTrackingConfig(), getParentForChildren(), isClean()); + objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder>( + getObjectTrackingConfig(), + getParentForChildren(), + isClean()); objectTrackingConfig_ = null; } return objectTrackingConfigBuilder_; } - @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); } @@ -3507,12 +2763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p3beta1.VideoContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoContext(); } @@ -3521,16 +2777,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3545,4 +2801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java similarity index 61% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java index 1ccb09c6d..6d9918e35 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface VideoContextOrBuilder - extends +public interface VideoContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -34,10 +16,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
-  java.util.List getSegmentsList();
+  java.util.List 
+      getSegmentsList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -48,8 +29,6 @@ public interface VideoContextOrBuilder
    */
   com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int index);
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -60,8 +39,6 @@ public interface VideoContextOrBuilder
    */
   int getSegmentsCount();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -70,11 +47,9 @@ public interface VideoContextOrBuilder
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
-  java.util.List
+  java.util.List 
       getSegmentsOrBuilderList();
   /**
-   *
-   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -87,335 +62,218 @@ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
-   *
-   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig(); /** - * - * *
    * Config for LABEL_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; - * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; */ - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder - getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig - getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** - * - * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; - * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; */ - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder - getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig - getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); /** - * - * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; - * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder - getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig(); /** - * - * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; - * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder - getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; * @return The speechTranscriptionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig - getSpeechTranscriptionConfig(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); /** - * - * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; - * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder - getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig(); /** - * - * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; - * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; */ - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder - getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return Whether the personDetectionConfig field is set. */ boolean hasPersonDetectionConfig(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; * @return The personDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig(); /** - * - * *
    * Config for PERSON_DETECTION.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; - * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder - getPersonDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; * @return The objectTrackingConfig. */ com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig(); /** - * - * *
    * Config for OBJECT_TRACKING.
    * 
* - * - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; - * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder - getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..06a8911ab --- /dev/null +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,1000 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p3bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p3beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p3beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p3beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\200\007\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p3beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p3beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p3beta1.ExplicitContentDetection" + + "Config\022\\\n\025face_detection_config\030\005 \001(\0132=." + + "google.cloud.videointelligence.v1p3beta1" + + ".FaceDetectionConfig\022h\n\033speech_transcrip" + + "tion_config\030\006 \001(\0132C.google.cloud.videoin" + + "telligence.v1p3beta1.SpeechTranscription" + + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + + "google.cloud.videointelligence.v1p3beta1" + + ".TextDetectionConfig\022`\n\027person_detection" + + "_config\030\013 \001(\0132?.google.cloud.videointell" + + "igence.v1p3beta1.PersonDetectionConfig\022^" + + "\n\026object_tracking_config\030\r \001(\0132>.google." + + "cloud.videointelligence.v1p3beta1.Object" + + "TrackingConfig\"\344\001\n\024LabelDetectionConfig\022" + + "Z\n\024label_detection_mode\030\001 \001(\0162<.google.c" + + "loud.videointelligence.v1p3beta1.LabelDe" + + "tectionMode\022\031\n\021stationary_camera\030\002 \001(\010\022\r" + + "\n\005model\030\003 \001(\t\022\"\n\032frame_confidence_thresh" + + "old\030\004 \001(\002\022\"\n\032video_confidence_threshold\030" + + "\005 \001(\002\"*\n\031ShotChangeDetectionConfig\022\r\n\005mo" + + "del\030\001 \001(\t\"%\n\024ObjectTrackingConfig\022\r\n\005mod" + + "el\030\001 \001(\t\"/\n\036ExplicitContentDetectionConf" + + "ig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDetectionConfig" + + "\022\r\n\005model\030\001 \001(\t\022\036\n\026include_bounding_boxe" + + "s\030\002 \001(\010\022\032\n\022include_attributes\030\005 \001(\010\"s\n\025P" + + "ersonDetectionConfig\022\036\n\026include_bounding" + + "_boxes\030\001 \001(\010\022\036\n\026include_pose_landmarks\030\002" + + " \001(\010\022\032\n\022include_attributes\030\003 \001(\010\"<\n\023Text" + + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\022" + + "\r\n\005model\030\002 \001(\t\"x\n\014VideoSegment\0224\n\021start_" + + "time_offset\030\001 \001(\0132\031.google.protobuf.Dura" + + "tion\0222\n\017end_time_offset\030\002 \001(\0132\031.google.p" + + "rotobuf.Duration\"k\n\014LabelSegment\022G\n\007segm" + + "ent\030\001 \001(\01326.google.cloud.videointelligen" + + "ce.v1p3beta1.VideoSegment\022\022\n\nconfidence\030" + + "\002 \001(\002\"P\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\013" + + "2\031.google.protobuf.Duration\022\022\n\nconfidenc" + + "e\030\002 \001(\002\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013" + + "description\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t" + + "\"\260\002\n\017LabelAnnotation\022@\n\006entity\030\001 \001(\01320.g" + + "oogle.cloud.videointelligence.v1p3beta1." + + "Entity\022K\n\021category_entities\030\002 \003(\01320.goog" + + "le.cloud.videointelligence.v1p3beta1.Ent" + + "ity\022H\n\010segments\030\003 \003(\01326.google.cloud.vid" + + "eointelligence.v1p3beta1.LabelSegment\022D\n" + + "\006frames\030\004 \003(\01324.google.cloud.videointell" + + "igence.v1p3beta1.LabelFrame\"\234\001\n\024Explicit" + + "ContentFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog" + + "le.protobuf.Duration\022T\n\026pornography_like" + + "lihood\030\002 \001(\01624.google.cloud.videointelli" + + "gence.v1p3beta1.Likelihood\"k\n\031ExplicitCo" + + "ntentAnnotation\022N\n\006frames\030\001 \003(\0132>.google" + + ".cloud.videointelligence.v1p3beta1.Expli" + + "citContentFrame\"Q\n\025NormalizedBoundingBox" + + "\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001" + + "(\002\022\016\n\006bottom\030\004 \001(\002\"\317\002\n\021TimestampedObject" + + "\022`\n\027normalized_bounding_box\030\001 \001(\0132?.goog" + + "le.cloud.videointelligence.v1p3beta1.Nor" + + "malizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132" + + "\031.google.protobuf.Duration\022T\n\nattributes" + + "\030\003 \003(\0132;.google.cloud.videointelligence." + + "v1p3beta1.DetectedAttributeB\003\340A\001\022R\n\tland" + + "marks\030\004 \003(\0132:.google.cloud.videointellig" + + "ence.v1p3beta1.DetectedLandmarkB\003\340A\001\"\231\002\n" + + "\005Track\022G\n\007segment\030\001 \001(\01326.google.cloud.v" + + "ideointelligence.v1p3beta1.VideoSegment\022" + + "X\n\023timestamped_objects\030\002 \003(\0132;.google.cl" + + "oud.videointelligence.v1p3beta1.Timestam" + + "pedObject\022T\n\nattributes\030\003 \003(\0132;.google.c" + + "loud.videointelligence.v1p3beta1.Detecte" + + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"D\n\tCelebr" + + "ity\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" + + "\023\n\013description\030\003 \001(\t\"\253\002\n\016CelebrityTrack\022" + + "a\n\013celebrities\030\001 \003(\0132L.google.cloud.vide" + + "ointelligence.v1p3beta1.CelebrityTrack.R" + + "ecognizedCelebrity\022C\n\nface_track\030\003 \001(\0132/" + + ".google.cloud.videointelligence.v1p3beta" + + "1.Track\032q\n\023RecognizedCelebrity\022F\n\tcelebr" + + "ity\030\001 \001(\01323.google.cloud.videointelligen" + + "ce.v1p3beta1.Celebrity\022\022\n\nconfidence\030\002 \001" + + "(\002\"t\n\036CelebrityRecognitionAnnotation\022R\n\020" + + "celebrity_tracks\030\001 \003(\01328.google.cloud.vi" + + "deointelligence.v1p3beta1.CelebrityTrack" + + "\"\177\n\020DetectedLandmark\022\014\n\004name\030\001 \001(\t\022I\n\005po" + + "int\030\002 \001(\0132:.google.cloud.videointelligen" + + "ce.v1p3beta1.NormalizedVertex\022\022\n\nconfide" + + "nce\030\003 \001(\002\"m\n\027FaceDetectionAnnotation\022?\n\006" + + "tracks\030\003 \003(\0132/.google.cloud.videointelli" + + "gence.v1p3beta1.Track\022\021\n\tthumbnail\030\004 \001(\014" + + "\"\\\n\031PersonDetectionAnnotation\022?\n\006tracks\030" + + "\001 \003(\0132/.google.cloud.videointelligence.v" + + "1p3beta1.Track\"\357\013\n\026VideoAnnotationResult" + + "s\022\021\n\tinput_uri\030\001 \001(\t\022G\n\007segment\030\n \001(\01326." + + "google.cloud.videointelligence.v1p3beta1" + + ".VideoSegment\022\\\n\031segment_label_annotatio" + + "ns\030\002 \003(\01329.google.cloud.videointelligenc" + + "e.v1p3beta1.LabelAnnotation\022e\n\"segment_p" + + "resence_label_annotations\030\027 \003(\01329.google" + + ".cloud.videointelligence.v1p3beta1.Label" + + "Annotation\022Y\n\026shot_label_annotations\030\003 \003" + + "(\01329.google.cloud.videointelligence.v1p3" + + "beta1.LabelAnnotation\022b\n\037shot_presence_l" + + "abel_annotations\030\030 \003(\01329.google.cloud.vi" + + "deointelligence.v1p3beta1.LabelAnnotatio" + + "n\022Z\n\027frame_label_annotations\030\004 \003(\01329.goo" + + "gle.cloud.videointelligence.v1p3beta1.La" + + "belAnnotation\022e\n\032face_detection_annotati" + + "ons\030\r \003(\0132A.google.cloud.videointelligen" + + "ce.v1p3beta1.FaceDetectionAnnotation\022P\n\020" + + "shot_annotations\030\006 \003(\01326.google.cloud.vi" + + "deointelligence.v1p3beta1.VideoSegment\022`" + + "\n\023explicit_annotation\030\007 \001(\0132C.google.clo" + + "ud.videointelligence.v1p3beta1.ExplicitC" + + "ontentAnnotation\022\\\n\025speech_transcription" + + "s\030\013 \003(\0132=.google.cloud.videointelligence" + + ".v1p3beta1.SpeechTranscription\022R\n\020text_a" + + "nnotations\030\014 \003(\01328.google.cloud.videoint" + + "elligence.v1p3beta1.TextAnnotation\022^\n\022ob" + + "ject_annotations\030\016 \003(\0132B.google.cloud.vi" + + "deointelligence.v1p3beta1.ObjectTracking" + + "Annotation\022i\n\034logo_recognition_annotatio" + + "ns\030\023 \003(\0132C.google.cloud.videointelligenc" + + "e.v1p3beta1.LogoRecognitionAnnotation\022i\n" + + "\034person_detection_annotations\030\024 \003(\0132C.go" + + "ogle.cloud.videointelligence.v1p3beta1.P" + + "ersonDetectionAnnotation\022s\n!celebrity_re" + + "cognition_annotations\030\025 \001(\0132H.google.clo" + + "ud.videointelligence.v1p3beta1.Celebrity" + + "RecognitionAnnotation\022!\n\005error\030\t \001(\0132\022.g" + + "oogle.rpc.Status\"u\n\025AnnotateVideoRespons" + + "e\022\\\n\022annotation_results\030\001 \003(\0132@.google.c" + + "loud.videointelligence.v1p3beta1.VideoAn" + + "notationResults\"\264\002\n\027VideoAnnotationProgr" + + "ess\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_perce" + + "nt\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.Timestamp\022B\n\007feature\030\005 \001" + + "(\01621.google.cloud.videointelligence.v1p3" + + "beta1.Feature\022G\n\007segment\030\006 \001(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egment\"w\n\025AnnotateVideoProgress\022^\n\023annot" + + "ation_progress\030\001 \003(\0132A.google.cloud.vide" + + "ointelligence.v1p3beta1.VideoAnnotationP" + + "rogress\"\210\003\n\031SpeechTranscriptionConfig\022\032\n" + + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + + "e.cloud.videointelligence.v1p3beta1.Spee" + + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + + "\003\340A\001\022\'\n\032enable_speaker_diarization\030\007 \001(\010" + + "B\003\340A\001\022&\n\031diarization_speaker_count\030\010 \001(\005" + + "B\003\340A\001\022#\n\026enable_word_confidence\030\t \001(\010B\003\340" + + "A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003\340A" + + "\001\"\217\001\n\023SpeechTranscription\022\\\n\014alternative" + + "s\030\001 \003(\0132F.google.cloud.videointelligence" + + ".v1p3beta1.SpeechRecognitionAlternative\022" + + "\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\223\001\n\034SpeechRe" + + "cognitionAlternative\022\022\n\ntranscript\030\001 \001(\t" + + "\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022F\n\005words\030\003 \003(\013" + + "22.google.cloud.videointelligence.v1p3be" + + "ta1.WordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_" + + "time\030\001 \001(\0132\031.google.protobuf.Duration\022+\n" + + "\010end_time\030\002 \001(\0132\031.google.protobuf.Durati" + + "on\022\014\n\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A" + + "\003\022\030\n\013speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020Normalize" + + "dVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"f\n\026Normali" + + "zedBoundingPoly\022L\n\010vertices\030\001 \003(\0132:.goog" + + "le.cloud.videointelligence.v1p3beta1.Nor" + + "malizedVertex\"\257\001\n\013TextSegment\022G\n\007segment" + + "\030\001 \001(\01326.google.cloud.videointelligence." + + "v1p3beta1.VideoSegment\022\022\n\nconfidence\030\002 \001" + + "(\002\022C\n\006frames\030\003 \003(\01323.google.cloud.videoi" + + "ntelligence.v1p3beta1.TextFrame\"\233\001\n\tText" + + "Frame\022^\n\024rotated_bounding_box\030\001 \001(\0132@.go" + + "ogle.cloud.videointelligence.v1p3beta1.N" + + "ormalizedBoundingPoly\022.\n\013time_offset\030\002 \001" + + "(\0132\031.google.protobuf.Duration\"g\n\016TextAnn" + + "otation\022\014\n\004text\030\001 \001(\t\022G\n\010segments\030\002 \003(\0132" + + "5.google.cloud.videointelligence.v1p3bet" + + "a1.TextSegment\"\247\001\n\023ObjectTrackingFrame\022`" + + "\n\027normalized_bounding_box\030\001 \001(\0132?.google" + + ".cloud.videointelligence.v1p3beta1.Norma" + + "lizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031." + + "google.protobuf.Duration\"\254\002\n\030ObjectTrack" + + "ingAnnotation\022I\n\007segment\030\003 \001(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\022@\n\006entity\030\001" + + " \001(\01320.google.cloud.videointelligence.v1" + + "p3beta1.Entity\022\022\n\nconfidence\030\004 \001(\002\022M\n\006fr" + + "ames\030\002 \003(\0132=.google.cloud.videointellige" + + "nce.v1p3beta1.ObjectTrackingFrameB\014\n\ntra" + + "ck_info\"\350\001\n\031LogoRecognitionAnnotation\022@\n" + + "\006entity\030\001 \001(\01320.google.cloud.videointell" + + "igence.v1p3beta1.Entity\022?\n\006tracks\030\002 \003(\0132" + + "/.google.cloud.videointelligence.v1p3bet" + + "a1.Track\022H\n\010segments\030\003 \003(\01326.google.clou" + + "d.videointelligence.v1p3beta1.VideoSegme" + + "nt\"\245\001\n\035StreamingAnnotateVideoRequest\022V\n\014" + + "video_config\030\001 \001(\0132>.google.cloud.videoi" + + "ntelligence.v1p3beta1.StreamingVideoConf" + + "igH\000\022\027\n\rinput_content\030\002 \001(\014H\000B\023\n\021streami" + + "ng_request\"\212\010\n\024StreamingVideoConfig\022t\n\034s" + + "hot_change_detection_config\030\002 \001(\0132L.goog" + + "le.cloud.videointelligence.v1p3beta1.Str" + + "eamingShotChangeDetectionConfigH\000\022i\n\026lab" + + "el_detection_config\030\003 \001(\0132G.google.cloud" + + ".videointelligence.v1p3beta1.StreamingLa" + + "belDetectionConfigH\000\022~\n!explicit_content" + + "_detection_config\030\004 \001(\0132Q.google.cloud.v" + + "ideointelligence.v1p3beta1.StreamingExpl" + + "icitContentDetectionConfigH\000\022i\n\026object_t" + + "racking_config\030\005 \001(\0132G.google.cloud.vide" + + "ointelligence.v1p3beta1.StreamingObjectT" + + "rackingConfigH\000\022|\n automl_action_recogni" + + "tion_config\030\027 \001(\0132P.google.cloud.videoin" + + "telligence.v1p3beta1.StreamingAutomlActi" + + "onRecognitionConfigH\000\022u\n\034automl_classifi" + + "cation_config\030\025 \001(\0132M.google.cloud.video" + + "intelligence.v1p3beta1.StreamingAutomlCl" + + "assificationConfigH\000\022v\n\035automl_object_tr" + + "acking_config\030\026 \001(\0132M.google.cloud.video" + + "intelligence.v1p3beta1.StreamingAutomlOb" + + "jectTrackingConfigH\000\022K\n\007feature\030\001 \001(\0162:." + + "google.cloud.videointelligence.v1p3beta1" + + ".StreamingFeature\022X\n\016storage_config\030\036 \001(" + + "\0132@.google.cloud.videointelligence.v1p3b" + + "eta1.StreamingStorageConfigB\022\n\020streaming" + + "_config\"\312\001\n\036StreamingAnnotateVideoRespon" + + "se\022!\n\005error\030\001 \001(\0132\022.google.rpc.Status\022e\n" + + "\022annotation_results\030\002 \001(\0132I.google.cloud" + + ".videointelligence.v1p3beta1.StreamingVi" + + "deoAnnotationResults\022\036\n\026annotation_resul" + + "ts_uri\030\003 \001(\t\"\213\003\n\037StreamingVideoAnnotatio" + + "nResults\022P\n\020shot_annotations\030\001 \003(\01326.goo" + + "gle.cloud.videointelligence.v1p3beta1.Vi" + + "deoSegment\022T\n\021label_annotations\030\002 \003(\01329." + + "google.cloud.videointelligence.v1p3beta1" + + ".LabelAnnotation\022`\n\023explicit_annotation\030" + + "\003 \001(\0132C.google.cloud.videointelligence.v" + + "1p3beta1.ExplicitContentAnnotation\022^\n\022ob" + + "ject_annotations\030\004 \003(\0132B.google.cloud.vi" + + "deointelligence.v1p3beta1.ObjectTracking" + + "Annotation\"$\n\"StreamingShotChangeDetecti" + + "onConfig\":\n\035StreamingLabelDetectionConfi" + + "g\022\031\n\021stationary_camera\030\001 \001(\010\")\n\'Streamin" + + "gExplicitContentDetectionConfig\"\037\n\035Strea" + + "mingObjectTrackingConfig\"<\n&StreamingAut" + + "omlActionRecognitionConfig\022\022\n\nmodel_name" + + "\030\001 \001(\t\"9\n#StreamingAutomlClassificationC" + + "onfig\022\022\n\nmodel_name\030\001 \001(\t\"9\n#StreamingAu" + + "tomlObjectTrackingConfig\022\022\n\nmodel_name\030\001" + + " \001(\t\"o\n\026StreamingStorageConfig\022(\n enable" + + "_storage_annotation_result\030\001 \001(\010\022+\n#anno" + + "tation_result_storage_directory\030\003 \001(\t*r\n" + + "\022LabelDetectionMode\022$\n LABEL_DETECTION_M" + + "ODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAM" + + "E_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLik" + + "elihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rV" + + "ERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE" + + "\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*\266\002\n\020Stre" + + "amingFeature\022!\n\035STREAMING_FEATURE_UNSPEC" + + "IFIED\020\000\022\035\n\031STREAMING_LABEL_DETECTION\020\001\022#" + + "\n\037STREAMING_SHOT_CHANGE_DETECTION\020\002\022(\n$S" + + "TREAMING_EXPLICIT_CONTENT_DETECTION\020\003\022\035\n" + + "\031STREAMING_OBJECT_TRACKING\020\004\022\'\n#STREAMIN" + + "G_AUTOML_ACTION_RECOGNITION\020\027\022#\n\037STREAMI" + + "NG_AUTOML_CLASSIFICATION\020\025\022$\n STREAMING_" + + "AUTOML_OBJECT_TRACKING\020\026*\220\002\n\007Feature\022\027\n\023" + + "FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION" + + "\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICI" + + "T_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTION\020" + + "\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_DETE" + + "CTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_REC" + + "OGNITION\020\014\022\031\n\025CELEBRITY_RECOGNITION\020\r\022\024\n" + + "\020PERSON_DETECTION\020\0162\316\002\n\030VideoIntelligenc" + + "eService\022\333\001\n\rAnnotateVideo\022>.google.clou" + + "d.videointelligence.v1p3beta1.AnnotateVi" + + "deoRequest\032\035.google.longrunning.Operatio" + + "n\"k\202\323\344\223\002\037\"\032/v1p3beta1/videos:annotate:\001*" + + "\332A\022input_uri,features\312A.\n\025AnnotateVideoR" + + "esponse\022\025AnnotateVideoProgress\032T\312A video" + + "intelligence.googleapis.com\322A.https://ww" + + "w.googleapis.com/auth/cloud-platform2\255\002\n" + + "!StreamingVideoIntelligenceService\022\261\001\n\026S" + + "treamingAnnotateVideo\022G.google.cloud.vid" + + "eointelligence.v1p3beta1.StreamingAnnota" + + "teVideoRequest\032H.google.cloud.videointel" + + "ligence.v1p3beta1.StreamingAnnotateVideo" + + "Response\"\000(\0010\001\032T\312A videointelligence.goo" + + "gleapis.com\322A.https://www.googleapis.com" + + "/auth/cloud-platformB\256\002\n,com.google.clou" + + "d.videointelligence.v1p3beta1B\035VideoInte" + + "lligenceServiceProtoP\001ZYgoogle.golang.or" + + "g/genproto/googleapis/cloud/videointelli" + + "gence/v1p3beta1;videointelligence\252\002(Goog" + + "le.Cloud.VideoIntelligence.V1P3Beta1\312\002(G" + + "oogle\\Cloud\\VideoIntelligence\\V1p3beta1\352" + + "\002+Google::Cloud::VideoIntelligence::V1p3" + + "beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor, + new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", "SpeechTranscriptionConfig", "TextDetectionConfig", "PersonDetectionConfig", "ObjectTrackingConfig", }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", "FrameConfidenceThreshold", "VideoConfidenceThreshold", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { "Model", }); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor, + new java.lang.String[] { "Model", "IncludeBoundingBoxes", "IncludeAttributes", }); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor, + new java.lang.String[] { "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor, + new java.lang.String[] { "LanguageHints", "Model", }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor, + new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor, + new java.lang.String[] { "TimeOffset", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor, + new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor, + new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { "Frames", }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor, + new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", }); + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor, + new java.lang.String[] { "Segment", "TimestampedObjects", "Attributes", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor, + new java.lang.String[] { "Name", "Confidence", "Value", }); + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Description", }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor, + new java.lang.String[] { "Celebrities", "FaceTrack", }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor = + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor, + new java.lang.String[] { "Celebrity", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor, + new java.lang.String[] { "CelebrityTracks", }); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor, + new java.lang.String[] { "Name", "Point", "Confidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor, + new java.lang.String[] { "Tracks", "Thumbnail", }); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor, + new java.lang.String[] { "Tracks", }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { "InputUri", "Segment", "SegmentLabelAnnotations", "SegmentPresenceLabelAnnotations", "ShotLabelAnnotations", "ShotPresenceLabelAnnotations", "FrameLabelAnnotations", "FaceDetectionAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "TextAnnotations", "ObjectAnnotations", "LogoRecognitionAnnotations", "PersonDetectionAnnotations", "CelebrityRecognitionAnnotations", "Error", }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { "AnnotationResults", }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { "AnnotationProgress", }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", "EnableSpeakerDiarization", "DiarizationSpeakerCount", "EnableWordConfidence", }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor, + new java.lang.String[] { "Phrases", }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor, + new java.lang.String[] { "Alternatives", "LanguageCode", }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { "Transcript", "Confidence", "Words", }); + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor, + new java.lang.String[] { "X", "Y", }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { "Vertices", }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor, + new java.lang.String[] { "Segment", "Confidence", "Frames", }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor, + new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor, + new java.lang.String[] { "Text", "Segments", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", }); + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor, + new java.lang.String[] { "Entity", "Tracks", "Segments", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor, + new java.lang.String[] { "VideoConfig", "InputContent", "StreamingRequest", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor, + new java.lang.String[] { "ShotChangeDetectionConfig", "LabelDetectionConfig", "ExplicitContentDetectionConfig", "ObjectTrackingConfig", "AutomlActionRecognitionConfig", "AutomlClassificationConfig", "AutomlObjectTrackingConfig", "Feature", "StorageConfig", "StreamingConfig", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor, + new java.lang.String[] { "Error", "AnnotationResults", "AnnotationResultsUri", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor, + new java.lang.String[] { "ShotAnnotations", "LabelAnnotations", "ExplicitAnnotation", "ObjectAnnotations", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor, + new java.lang.String[] { "StationaryCamera", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor, + new java.lang.String[] { "ModelName", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor, + new java.lang.String[] { "ModelName", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor, + new java.lang.String[] { "ModelName", }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor, + new java.lang.String[] { "EnableStorageAnnotationResult", "AnnotationResultStorageDirectory", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java similarity index 71% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java index 2c592bc80..59456c30a 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** - * - * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoSegment} */ -public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VideoSegment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoSegment) VideoSegmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VideoSegment() {} + private VideoSegment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private VideoSegment( 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(); + } + startTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTimeOffset_); + startTimeOffset_ = subBuilder.buildPartial(); } - case 18: - { - 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; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endTimeOffset_ != null) { + subBuilder = endTimeOffset_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + endTimeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTimeOffset_); + endTimeOffset_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private VideoSegment( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -153,26 +128,19 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -188,15 +156,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -204,26 +169,19 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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_; } /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -237,7 +195,6 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,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());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.videointelligence.v1p3beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoSegment other =
-        (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) obj;
 
     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;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment prototype) {
+  public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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;
   }
   /**
-   *
-   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoSegment} */ - 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.videointelligence.v1p3beta1.VideoSegment) com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder() @@ -448,15 +399,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(); @@ -476,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto - .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override @@ -497,8 +449,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment result = - new com.google.cloud.videointelligence.v1p3beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p3beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -517,39 +468,38 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment)other); } else { super.mergeFrom(other); return this; @@ -557,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) - return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -584,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,49 +545,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_; /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -661,8 +596,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -670,7 +603,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();
@@ -681,8 +615,6 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,9 +626,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;
         }
@@ -708,8 +638,6 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -729,8 +657,6 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -739,13 +665,11 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-
+      
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -757,14 +681,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -773,17 +694,14 @@ 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_;
@@ -791,49 +709,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_;
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @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(); } } /** - * - * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -855,8 +760,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -864,7 +767,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -875,8 +779,6 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -888,9 +790,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;
         }
@@ -902,8 +802,6 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -923,8 +821,6 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -933,13 +829,11 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-
+      
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -951,14 +845,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -967,24 +858,21 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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> 
         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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -994,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p3beta1.VideoSegment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoSegment();
   }
@@ -1008,16 +896,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VideoSegment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VideoSegment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VideoSegment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VideoSegment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1032,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
index 340d83d67..889f28cb5 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoSegmentOrBuilder
-    extends
+public interface VideoSegmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; - * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -62,34 +38,26 @@ public interface VideoSegmentOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; - * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** - * - * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
similarity index 77%
rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
index bb76ce1eb..1f34d05d3 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
+++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
- *
- *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.WordInfo}
  */
-public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WordInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.WordInfo)
     WordInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,60 +55,55 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              word_ = s;
-              break;
-            }
-          case 37:
-            {
-              confidence_ = input.readFloat();
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          case 40:
-            {
-              speakerTag_ = input.readInt32();
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            word_ = s;
+            break;
+          }
+          case 37: {
+
+            confidence_ = input.readFloat();
+            break;
+          }
+          case 40: {
+
+            speakerTag_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -133,33 +111,29 @@ private WordInfo(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-        .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.WordInfo.class,
-            com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.WordInfo.class, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -168,7 +142,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -176,8 +149,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -186,7 +157,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -194,8 +164,6 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -213,8 +181,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -223,7 +189,6 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -231,8 +196,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -241,7 +204,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -249,8 +211,6 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -268,14 +228,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
-   *
-   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ @java.lang.Override @@ -284,29 +241,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** - * - * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -317,8 +274,6 @@ public com.google.protobuf.ByteString getWordBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -329,7 +284,6 @@ public com.google.protobuf.ByteString getWordBytes() {
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -340,8 +294,6 @@ public float getConfidence() { public static final int SPEAKER_TAG_FIELD_NUMBER = 5; private int speakerTag_; /** - * - * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -350,7 +302,6 @@ public float getConfidence() {
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ @java.lang.Override @@ -359,7 +310,6 @@ public int getSpeakerTag() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +321,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -397,19 +348,23 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(4, confidence_); } if (speakerTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, speakerTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, speakerTag_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -419,26 +374,30 @@ 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.videointelligence.v1p3beta1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.WordInfo other = - (com.google.cloud.videointelligence.v1p3beta1.WordInfo) obj; + com.google.cloud.videointelligence.v1p3beta1.WordInfo other = (com.google.cloud.videointelligence.v1p3beta1.WordInfo) obj; 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 (!getWord().equals(other.getWord())) return false; + if (!getWord() + .equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits(other.getConfidence())) return false; - if (getSpeakerTag() != other.getSpeakerTag()) return false; + != java.lang.Float.floatToIntBits( + other.getConfidence())) return false; + if (getSpeakerTag() + != other.getSpeakerTag()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -461,7 +420,8 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getConfidence()); hash = (37 * hash) + SPEAKER_TAG_FIELD_NUMBER; hash = (53 * hash) + getSpeakerTag(); hash = (29 * hash) + unknownFields.hashCode(); @@ -470,104 +430,96 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo prototype) { + public static Builder newBuilder(com.google.cloud.videointelligence.v1p3beta1.WordInfo 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; } /** - * - * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -576,23 +528,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.WordInfo}
    */
-  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.videointelligence.v1p3beta1.WordInfo)
       com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.WordInfo.class,
-              com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.WordInfo.class, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.WordInfo.newBuilder()
@@ -600,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();
@@ -634,9 +585,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
-          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -655,8 +606,7 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.WordInfo result =
-          new com.google.cloud.videointelligence.v1p3beta1.WordInfo(this);
+      com.google.cloud.videointelligence.v1p3beta1.WordInfo result = new com.google.cloud.videointelligence.v1p3beta1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -678,39 +628,38 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.WordInfo) other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.WordInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -718,8 +667,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.WordInfo other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -755,8 +703,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.videointelligence.v1p3beta1.WordInfo) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.WordInfo) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -768,13 +715,8 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -783,15 +725,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -800,7 +739,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -811,8 +749,6 @@ public com.google.protobuf.Duration getStartTime() { } } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -836,8 +772,6 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -847,7 +781,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -858,8 +793,6 @@ public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -873,7 +806,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -885,8 +818,6 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -908,8 +839,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -920,13 +849,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -940,12 +867,11 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -956,17 +882,14 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -974,13 +897,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -989,15 +907,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1006,7 +921,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -1017,8 +931,6 @@ public com.google.protobuf.Duration getEndTime() { } } /** - * - * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1042,8 +954,6 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1053,7 +963,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1064,8 +975,6 @@ public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1079,7 +988,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1091,8 +1000,6 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1114,8 +1021,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1126,13 +1031,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1146,12 +1049,11 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1162,17 +1064,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1180,20 +1079,18 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
-     *
-     *
      * 
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1202,21 +1099,20 @@ public java.lang.String getWord() { } } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return The bytes for word. */ - public com.google.protobuf.ByteString getWordBytes() { + public com.google.protobuf.ByteString + getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1224,70 +1120,61 @@ public com.google.protobuf.ByteString getWordBytes() { } } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord(java.lang.String value) { + public Builder setWord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** - * - * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; - * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes(com.google.protobuf.ByteString value) { + public Builder setWordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); return this; } - private float confidence_; + private float confidence_ ; /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1298,7 +1185,6 @@ public Builder setWordBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ @java.lang.Override @@ -1306,8 +1192,6 @@ public float getConfidence() { return confidence_; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1318,19 +1202,16 @@ public float getConfidence() {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1341,20 +1222,17 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private int speakerTag_; + private int speakerTag_ ; /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1363,7 +1241,6 @@ public Builder clearConfidence() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ @java.lang.Override @@ -1371,8 +1248,6 @@ public int getSpeakerTag() { return speakerTag_; } /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1381,19 +1256,16 @@ public int getSpeakerTag() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The speakerTag to set. * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { - + speakerTag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1402,18 +1274,17 @@ public Builder setSpeakerTag(int value) {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSpeakerTag() { - + speakerTag_ = 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); } @@ -1423,12 +1294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.WordInfo) private static final com.google.cloud.videointelligence.v1p3beta1.WordInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.WordInfo(); } @@ -1437,16 +1308,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.WordInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java similarity index 84% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java index e9516d8f5..a28c764ca 100644 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java +++ b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface WordInfoOrBuilder - extends +public interface WordInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.WordInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -34,13 +16,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -49,13 +28,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration start_time = 1; - * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -68,8 +44,6 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -78,13 +52,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -93,13 +64,10 @@ public interface WordInfoOrBuilder
    * 
* * .google.protobuf.Duration end_time = 2; - * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** - * - * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -112,33 +80,26 @@ public interface WordInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The word. */ java.lang.String getWord(); /** - * - * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; - * * @return The bytes for word. */ - com.google.protobuf.ByteString getWordBytes(); + com.google.protobuf.ByteString + getWordBytes(); /** - * - * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -149,14 +110,11 @@ public interface WordInfoOrBuilder
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The confidence. */ float getConfidence(); /** - * - * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -165,7 +123,6 @@ public interface WordInfoOrBuilder
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The speakerTag. */ int getSpeakerTag(); diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto similarity index 100% rename from proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto rename to owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000..6e36612a5 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,42 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p3beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings = + StreamingVideoIntelligenceServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = + StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 000000000..de9f6e263 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,42 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings = + StreamingVideoIntelligenceServiceSettings.newBuilder() + .setTransportChannelProvider( + StreamingVideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() + .build()) + .build(); + StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = + StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000..89543210f --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,39 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings = + StreamingVideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = + StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java new file mode 100644 index 000000000..5c2a1d4c4 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java @@ -0,0 +1,46 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] +import com.google.api.gax.rpc.BidiStream; +import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; + +public class AsyncStreamingAnnotateVideo { + + public static void main(String[] args) throws Exception { + asyncStreamingAnnotateVideo(); + } + + public static void asyncStreamingAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = + StreamingVideoIntelligenceServiceClient.create()) { + BidiStream bidiStream = + streamingVideoIntelligenceServiceClient.streamingAnnotateVideoCallable().call(); + StreamingAnnotateVideoRequest request = StreamingAnnotateVideoRequest.newBuilder().build(); + bidiStream.send(request); + for (StreamingAnnotateVideoResponse response : bidiStream) { + // Do something when a response is received. + } + } + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java new file mode 100644 index 000000000..f266ca084 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -0,0 +1,48 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] +import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; +import java.time.Duration; + +public class SyncStreamingAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncStreamingAnnotateVideo(); + } + + public static void syncStreamingAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + StreamingVideoIntelligenceServiceSettings.Builder + streamingVideoIntelligenceServiceSettingsBuilder = + StreamingVideoIntelligenceServiceSettings.newBuilder(); + streamingVideoIntelligenceServiceSettingsBuilder + .streamingAnnotateVideoSettings() + .setRetrySettings( + streamingVideoIntelligenceServiceSettingsBuilder + .streamingAnnotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings = + streamingVideoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java new file mode 100644 index 000000000..6ec943ae1 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -0,0 +1,48 @@ +/* + * 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.videointelligence.v1p3beta1.stub.samples; + +// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] +import com.google.cloud.videointelligence.v1p3beta1.stub.StreamingVideoIntelligenceServiceStubSettings; +import java.time.Duration; + +public class SyncStreamingAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncStreamingAnnotateVideo(); + } + + public static void syncStreamingAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + StreamingVideoIntelligenceServiceStubSettings.Builder + streamingVideoIntelligenceServiceSettingsBuilder = + StreamingVideoIntelligenceServiceStubSettings.newBuilder(); + streamingVideoIntelligenceServiceSettingsBuilder + .streamingAnnotateVideoSettings() + .setRetrySettings( + streamingVideoIntelligenceServiceSettingsBuilder + .streamingAnnotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StreamingVideoIntelligenceServiceStubSettings streamingVideoIntelligenceServiceSettings = + streamingVideoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..7d06b2d2b --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1p3beta1.stub.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceStubSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceStubSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceStubSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java new file mode 100644 index 000000000..2d10cd08b --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java @@ -0,0 +1,56 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p3beta1.Feature; +import com.google.cloud.videointelligence.v1p3beta1.VideoContext; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.longrunning.Operation; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideo(); + } + + public static void asyncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + ApiFuture future = + videoIntelligenceServiceClient.annotateVideoCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_async] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java new file mode 100644 index 000000000..104d51222 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -0,0 +1,57 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p3beta1.Feature; +import com.google.cloud.videointelligence.v1p3beta1.VideoContext; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class AsyncAnnotateVideoLRO { + + public static void main(String[] args) throws Exception { + asyncAnnotateVideoLRO(); + } + + public static void asyncAnnotateVideoLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + OperationFuture future = + videoIntelligenceServiceClient.annotateVideoOperationCallable().futureCall(request); + // Do something. + AnnotateVideoResponse response = future.get(); + } + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..91e2e4892 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,53 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p3beta1.Feature; +import com.google.cloud.videointelligence.v1p3beta1.VideoContext; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.protobuf.ByteString; +import java.util.ArrayList; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + AnnotateVideoRequest request = + AnnotateVideoRequest.newBuilder() + .setInputUri("inputUri470706498") + .setInputContent(ByteString.EMPTY) + .addAllFeatures(new ArrayList()) + .setVideoContext(VideoContext.newBuilder().build()) + .setOutputUri("outputUri-2119300949") + .setLocationId("locationId1541836720") + .build(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(request).get(); + } + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java new file mode 100644 index 000000000..f324054a0 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -0,0 +1,44 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; +import com.google.cloud.videointelligence.v1p3beta1.Feature; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import java.util.ArrayList; +import java.util.List; + +public class SyncAnnotateVideoStringListfeature { + + public static void main(String[] args) throws Exception { + syncAnnotateVideoStringListfeature(); + } + + public static void syncAnnotateVideoStringListfeature() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create()) { + String inputUri = "inputUri470706498"; + List features = new ArrayList<>(); + AnnotateVideoResponse response = + videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features).get(); + } + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000..93048434a --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,42 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p3beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 000000000..c22af42ec --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,41 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder() + .setTransportChannelProvider( + VideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000..1650f7527 --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,39 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; +import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + VideoIntelligenceServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + VideoIntelligenceServiceClient videoIntelligenceServiceClient = + VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java new file mode 100644 index 000000000..d3c9c22fb --- /dev/null +++ b/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java @@ -0,0 +1,47 @@ +/* + * 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.videointelligence.v1p3beta1.samples; + +// [START videointelligence_v1p3beta1_generated_videointelligenceservicesettings_annotatevideo_sync] +import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; +import java.time.Duration; + +public class SyncAnnotateVideo { + + public static void main(String[] args) throws Exception { + syncAnnotateVideo(); + } + + public static void syncAnnotateVideo() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + VideoIntelligenceServiceSettings.Builder videoIntelligenceServiceSettingsBuilder = + VideoIntelligenceServiceSettings.newBuilder(); + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .setRetrySettings( + videoIntelligenceServiceSettingsBuilder + .annotateVideoSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + VideoIntelligenceServiceSettings videoIntelligenceServiceSettings = + videoIntelligenceServiceSettingsBuilder.build(); + } +} +// [END videointelligence_v1p3beta1_generated_videointelligenceservicesettings_annotatevideo_sync] diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 9de663cc7..000000000 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,89 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface AnnotateVideoProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * - */ - int getAnnotationProgressCount(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 6b246033a..000000000 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,89 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface AnnotateVideoResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * - */ - int getAnnotationResultsCount(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java deleted file mode 100644 index 9293b8bf9..000000000 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java deleted file mode 100644 index 87de09faf..000000000 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,864 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_Track_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/videointelligence/v1/vide" - + "o_intelligence.proto\022!google.cloud.video" - + "intelligence.v1\032\034google/api/annotations." - + "proto\032\027google/api/client.proto\032\037google/a" - + "pi/field_behavior.proto\032#google/longrunn" - + "ing/operations.proto\032\036google/protobuf/du" - + "ration.proto\032\037google/protobuf/timestamp." - + "proto\032\027google/rpc/status.proto\"\376\001\n\024Annot" - + "ateVideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rin" - + "put_content\030\006 \001(\014\022A\n\010features\030\002 \003(\0162*.go" - + "ogle.cloud.videointelligence.v1.FeatureB" - + "\003\340A\002\022F\n\rvideo_context\030\003 \001(\0132/.google.clo" - + "ud.videointelligence.v1.VideoContext\022\027\n\n" - + "output_uri\030\004 \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001" - + "(\tB\003\340A\001\"\301\006\n\014VideoContext\022A\n\010segments\030\001 \003" - + "(\0132/.google.cloud.videointelligence.v1.V" - + "ideoSegment\022W\n\026label_detection_config\030\002 " - + "\001(\01327.google.cloud.videointelligence.v1." - + "LabelDetectionConfig\022b\n\034shot_change_dete" - + "ction_config\030\003 \001(\0132<.google.cloud.videoi" - + "ntelligence.v1.ShotChangeDetectionConfig" - + "\022l\n!explicit_content_detection_config\030\004 " - + "\001(\0132A.google.cloud.videointelligence.v1." - + "ExplicitContentDetectionConfig\022U\n\025face_d" - + "etection_config\030\005 \001(\01326.google.cloud.vid" - + "eointelligence.v1.FaceDetectionConfig\022a\n" - + "\033speech_transcription_config\030\006 \001(\0132<.goo" - + "gle.cloud.videointelligence.v1.SpeechTra" - + "nscriptionConfig\022U\n\025text_detection_confi" - + "g\030\010 \001(\01326.google.cloud.videointelligence" - + ".v1.TextDetectionConfig\022Y\n\027person_detect" - + "ion_config\030\013 \001(\01328.google.cloud.videoint" - + "elligence.v1.PersonDetectionConfig\022W\n\026ob" - + "ject_tracking_config\030\r \001(\01327.google.clou" - + "d.videointelligence.v1.ObjectTrackingCon" - + "fig\"\335\001\n\024LabelDetectionConfig\022S\n\024label_de" - + "tection_mode\030\001 \001(\01625.google.cloud.videoi" - + "ntelligence.v1.LabelDetectionMode\022\031\n\021sta" - + "tionary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\022\"\n\032f" - + "rame_confidence_threshold\030\004 \001(\002\022\"\n\032video" - + "_confidence_threshold\030\005 \001(\002\"*\n\031ShotChang" - + "eDetectionConfig\022\r\n\005model\030\001 \001(\t\"%\n\024Objec" - + "tTrackingConfig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDe" - + "tectionConfig\022\r\n\005model\030\001 \001(\t\022\036\n\026include_" - + "bounding_boxes\030\002 \001(\010\022\032\n\022include_attribut" - + "es\030\005 \001(\010\"s\n\025PersonDetectionConfig\022\036\n\026inc" - + "lude_bounding_boxes\030\001 \001(\010\022\036\n\026include_pos" - + "e_landmarks\030\002 \001(\010\022\032\n\022include_attributes\030" - + "\003 \001(\010\"/\n\036ExplicitContentDetectionConfig\022" - + "\r\n\005model\030\001 \001(\t\"<\n\023TextDetectionConfig\022\026\n" - + "\016language_hints\030\001 \003(\t\022\r\n\005model\030\002 \001(\t\"x\n\014" - + "VideoSegment\0224\n\021start_time_offset\030\001 \001(\0132" - + "\031.google.protobuf.Duration\0222\n\017end_time_o" - + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"d" - + "\n\014LabelSegment\022@\n\007segment\030\001 \001(\0132/.google" - + ".cloud.videointelligence.v1.VideoSegment" - + "\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelFrame\022.\n\013ti" - + "me_offset\030\001 \001(\0132\031.google.protobuf.Durati" - + "on\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\tenti" - + "ty_id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\025\n\rlang" - + "uage_code\030\003 \001(\t\"\245\002\n\017LabelAnnotation\0229\n\006e" - + "ntity\030\001 \001(\0132).google.cloud.videointellig" - + "ence.v1.Entity\022D\n\021category_entities\030\002 \003(" - + "\0132).google.cloud.videointelligence.v1.En" - + "tity\022A\n\010segments\030\003 \003(\0132/.google.cloud.vi" - + "deointelligence.v1.LabelSegment\022=\n\006frame" - + "s\030\004 \003(\0132-.google.cloud.videointelligence" - + ".v1.LabelFrame\022\017\n\007version\030\005 \001(\t\"\225\001\n\024Expl" - + "icitContentFrame\022.\n\013time_offset\030\001 \001(\0132\031." - + "google.protobuf.Duration\022M\n\026pornography_" - + "likelihood\030\002 \001(\0162-.google.cloud.videoint" - + "elligence.v1.Likelihood\"u\n\031ExplicitConte" - + "ntAnnotation\022G\n\006frames\030\001 \003(\01327.google.cl" - + "oud.videointelligence.v1.ExplicitContent" - + "Frame\022\017\n\007version\030\002 \001(\t\"Q\n\025NormalizedBoun" - + "dingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005ri" - + "ght\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"w\n\027FaceDetecti" - + "onAnnotation\0228\n\006tracks\030\003 \003(\0132(.google.cl" - + "oud.videointelligence.v1.Track\022\021\n\tthumbn" - + "ail\030\004 \001(\014\022\017\n\007version\030\005 \001(\t\"f\n\031PersonDete" - + "ctionAnnotation\0228\n\006tracks\030\001 \003(\0132(.google" - + ".cloud.videointelligence.v1.Track\022\017\n\007ver" - + "sion\030\002 \001(\t\"O\n\013FaceSegment\022@\n\007segment\030\001 \001" - + "(\0132/.google.cloud.videointelligence.v1.V" - + "ideoSegment\"\234\001\n\tFaceFrame\022[\n\031normalized_" - + "bounding_boxes\030\001 \003(\01328.google.cloud.vide" - + "ointelligence.v1.NormalizedBoundingBox\022." - + "\n\013time_offset\030\002 \001(\0132\031.google.protobuf.Du" - + "ration:\002\030\001\"\247\001\n\016FaceAnnotation\022\021\n\tthumbna" - + "il\030\001 \001(\014\022@\n\010segments\030\002 \003(\0132..google.clou" - + "d.videointelligence.v1.FaceSegment\022<\n\006fr" - + "ames\030\003 \003(\0132,.google.cloud.videointellige" - + "nce.v1.FaceFrame:\002\030\001\"\272\002\n\021TimestampedObje" - + "ct\022Y\n\027normalized_bounding_box\030\001 \001(\01328.go" - + "ogle.cloud.videointelligence.v1.Normaliz" - + "edBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031.goo" - + "gle.protobuf.Duration\022M\n\nattributes\030\003 \003(" - + "\01324.google.cloud.videointelligence.v1.De" - + "tectedAttributeB\003\340A\001\022K\n\tlandmarks\030\004 \003(\0132" - + "3.google.cloud.videointelligence.v1.Dete" - + "ctedLandmarkB\003\340A\001\"\204\002\n\005Track\022@\n\007segment\030\001" - + " \001(\0132/.google.cloud.videointelligence.v1" - + ".VideoSegment\022Q\n\023timestamped_objects\030\002 \003" - + "(\01324.google.cloud.videointelligence.v1.T" - + "imestampedObject\022M\n\nattributes\030\003 \003(\01324.g" - + "oogle.cloud.videointelligence.v1.Detecte" - + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" - + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" - + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"x\n\020Detect" - + "edLandmark\022\014\n\004name\030\001 \001(\t\022B\n\005point\030\002 \001(\0132" - + "3.google.cloud.videointelligence.v1.Norm" - + "alizedVertex\022\022\n\nconfidence\030\003 \001(\002\"\351\n\n\026Vid" - + "eoAnnotationResults\022\021\n\tinput_uri\030\001 \001(\t\022@" - + "\n\007segment\030\n \001(\0132/.google.cloud.videointe" - + "lligence.v1.VideoSegment\022U\n\031segment_labe" - + "l_annotations\030\002 \003(\01322.google.cloud.video" - + "intelligence.v1.LabelAnnotation\022^\n\"segme" - + "nt_presence_label_annotations\030\027 \003(\01322.go" - + "ogle.cloud.videointelligence.v1.LabelAnn" - + "otation\022R\n\026shot_label_annotations\030\003 \003(\0132" - + "2.google.cloud.videointelligence.v1.Labe" - + "lAnnotation\022[\n\037shot_presence_label_annot" - + "ations\030\030 \003(\01322.google.cloud.videointelli" - + "gence.v1.LabelAnnotation\022S\n\027frame_label_" - + "annotations\030\004 \003(\01322.google.cloud.videoin" - + "telligence.v1.LabelAnnotation\022O\n\020face_an" - + "notations\030\005 \003(\01321.google.cloud.videointe" - + "lligence.v1.FaceAnnotationB\002\030\001\022^\n\032face_d" - + "etection_annotations\030\r \003(\0132:.google.clou" - + "d.videointelligence.v1.FaceDetectionAnno" - + "tation\022I\n\020shot_annotations\030\006 \003(\0132/.googl" - + "e.cloud.videointelligence.v1.VideoSegmen" - + "t\022Y\n\023explicit_annotation\030\007 \001(\0132<.google." - + "cloud.videointelligence.v1.ExplicitConte" - + "ntAnnotation\022U\n\025speech_transcriptions\030\013 " - + "\003(\01326.google.cloud.videointelligence.v1." - + "SpeechTranscription\022K\n\020text_annotations\030" - + "\014 \003(\01321.google.cloud.videointelligence.v" - + "1.TextAnnotation\022W\n\022object_annotations\030\016" - + " \003(\0132;.google.cloud.videointelligence.v1" - + ".ObjectTrackingAnnotation\022b\n\034logo_recogn" - + "ition_annotations\030\023 \003(\0132<.google.cloud.v" - + "ideointelligence.v1.LogoRecognitionAnnot" - + "ation\022b\n\034person_detection_annotations\030\024 " - + "\003(\0132<.google.cloud.videointelligence.v1." - + "PersonDetectionAnnotation\022!\n\005error\030\t \001(\013" - + "2\022.google.rpc.Status\"n\n\025AnnotateVideoRes" - + "ponse\022U\n\022annotation_results\030\001 \003(\01329.goog" - + "le.cloud.videointelligence.v1.VideoAnnot" - + "ationResults\"\246\002\n\027VideoAnnotationProgress" - + "\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_percent\030" - + "\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022;\n\007feature\030\005 \001(\0162" - + "*.google.cloud.videointelligence.v1.Feat" - + "ure\022@\n\007segment\030\006 \001(\0132/.google.cloud.vide" - + "ointelligence.v1.VideoSegment\"p\n\025Annotat" - + "eVideoProgress\022W\n\023annotation_progress\030\001 " - + "\003(\0132:.google.cloud.videointelligence.v1." - + "VideoAnnotationProgress\"\201\003\n\031SpeechTransc" - + "riptionConfig\022\032\n\rlanguage_code\030\001 \001(\tB\003\340A" - + "\002\022\035\n\020max_alternatives\030\002 \001(\005B\003\340A\001\022\035\n\020filt" - + "er_profanity\030\003 \001(\010B\003\340A\001\022N\n\017speech_contex" - + "ts\030\004 \003(\01320.google.cloud.videointelligenc" - + "e.v1.SpeechContextB\003\340A\001\022)\n\034enable_automa" - + "tic_punctuation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_trac" - + "ks\030\006 \003(\005B\003\340A\001\022\'\n\032enable_speaker_diarizat" - + "ion\030\007 \001(\010B\003\340A\001\022&\n\031diarization_speaker_co" - + "unt\030\010 \001(\005B\003\340A\001\022#\n\026enable_word_confidence" - + "\030\t \001(\010B\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030" - + "\001 \003(\tB\003\340A\001\"\210\001\n\023SpeechTranscription\022U\n\014al" - + "ternatives\030\001 \003(\0132?.google.cloud.videoint" - + "elligence.v1.SpeechRecognitionAlternativ" - + "e\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\214\001\n\034Speech" - + "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" - + "(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022?\n\005words\030\003 \003" - + "(\0132+.google.cloud.videointelligence.v1.W" - + "ordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_time\030" - + "\001 \001(\0132\031.google.protobuf.Duration\022+\n\010end_" - + "time\030\002 \001(\0132\031.google.protobuf.Duration\022\014\n" - + "\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A\003\022\030\n\013" - + "speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020NormalizedVert" - + "ex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"_\n\026NormalizedBo" - + "undingPoly\022E\n\010vertices\030\001 \003(\01323.google.cl" - + "oud.videointelligence.v1.NormalizedVerte" - + "x\"\241\001\n\013TextSegment\022@\n\007segment\030\001 \001(\0132/.goo" - + "gle.cloud.videointelligence.v1.VideoSegm" - + "ent\022\022\n\nconfidence\030\002 \001(\002\022<\n\006frames\030\003 \003(\0132" - + ",.google.cloud.videointelligence.v1.Text" - + "Frame\"\224\001\n\tTextFrame\022W\n\024rotated_bounding_" - + "box\030\001 \001(\01329.google.cloud.videointelligen" - + "ce.v1.NormalizedBoundingPoly\022.\n\013time_off" - + "set\030\002 \001(\0132\031.google.protobuf.Duration\"q\n\016" - + "TextAnnotation\022\014\n\004text\030\001 \001(\t\022@\n\010segments" - + "\030\002 \003(\0132..google.cloud.videointelligence." - + "v1.TextSegment\022\017\n\007version\030\003 \001(\t\"\240\001\n\023Obje" - + "ctTrackingFrame\022Y\n\027normalized_bounding_b" - + "ox\030\001 \001(\01328.google.cloud.videointelligenc" - + "e.v1.NormalizedBoundingBox\022.\n\013time_offse" - + "t\030\002 \001(\0132\031.google.protobuf.Duration\"\250\002\n\030O" - + "bjectTrackingAnnotation\022B\n\007segment\030\003 \001(\013" - + "2/.google.cloud.videointelligence.v1.Vid" - + "eoSegmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\0229\n\006entit" - + "y\030\001 \001(\0132).google.cloud.videointelligence" - + ".v1.Entity\022\022\n\nconfidence\030\004 \001(\002\022F\n\006frames" - + "\030\002 \003(\01326.google.cloud.videointelligence." - + "v1.ObjectTrackingFrame\022\017\n\007version\030\006 \001(\tB" - + "\014\n\ntrack_info\"\323\001\n\031LogoRecognitionAnnotat" - + "ion\0229\n\006entity\030\001 \001(\0132).google.cloud.video" - + "intelligence.v1.Entity\0228\n\006tracks\030\002 \003(\0132(" - + ".google.cloud.videointelligence.v1.Track" - + "\022A\n\010segments\030\003 \003(\0132/.google.cloud.videoi" - + "ntelligence.v1.VideoSegment*\365\001\n\007Feature\022" - + "\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECT" - + "ION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPL" - + "ICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTI" - + "ON\020\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_D" - + "ETECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_" - + "RECOGNITION\020\014\022\024\n\020PERSON_DETECTION\020\016*r\n\022L" - + "abelDetectionMode\022$\n LABEL_DETECTION_MOD" - + "E_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_" - + "MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikel" - + "ihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVER" - + "Y_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003" - + "\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\300\002\n\030VideoI" - + "ntelligenceService\022\315\001\n\rAnnotateVideo\0227.g" - + "oogle.cloud.videointelligence.v1.Annotat" - + "eVideoRequest\032\035.google.longrunning.Opera" - + "tion\"d\202\323\344\223\002\030\"\023/v1/videos:annotate:\001*\332A\022i" - + "nput_uri,features\312A.\n\025AnnotateVideoRespo" - + "nse\022\025AnnotateVideoProgress\032T\312A videointe" - + "lligence.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\213\002\n%com" - + ".google.cloud.videointelligence.v1B\035Vide" - + "oIntelligenceServiceProtoP\001ZRgoogle.gola" - + "ng.org/genproto/googleapis/cloud/videoin" - + "telligence/v1;videointelligence\252\002!Google" - + ".Cloud.VideoIntelligence.V1\312\002!Google\\Clo" - + "ud\\VideoIntelligence\\V1\352\002$Google::Cloud:" - + ":VideoIntelligence::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { - "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", - }); - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor, - new java.lang.String[] { - "Segments", - "LabelDetectionConfig", - "ShotChangeDetectionConfig", - "ExplicitContentDetectionConfig", - "FaceDetectionConfig", - "SpeechTranscriptionConfig", - "TextDetectionConfig", - "PersonDetectionConfig", - "ObjectTrackingConfig", - }); - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor, - new java.lang.String[] { - "LabelDetectionMode", - "StationaryCamera", - "Model", - "FrameConfidenceThreshold", - "VideoConfidenceThreshold", - }); - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor, - new java.lang.String[] { - "Model", "IncludeBoundingBoxes", "IncludeAttributes", - }); - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor, - new java.lang.String[] { - "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", - }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor, - new java.lang.String[] { - "LanguageHints", "Model", - }); - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor, - new java.lang.String[] { - "StartTimeOffset", "EndTimeOffset", - }); - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1_Entity_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_Entity_descriptor, - new java.lang.String[] { - "EntityId", "Description", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor, - new java.lang.String[] { - "Entity", "CategoryEntities", "Segments", "Frames", "Version", - }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "PornographyLikelihood", - }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { - "Frames", "Version", - }); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { - "Left", "Top", "Right", "Bottom", - }); - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor, - new java.lang.String[] { - "Tracks", "Thumbnail", "Version", - }); - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor, - new java.lang.String[] { - "Tracks", "Version", - }); - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor, - new java.lang.String[] { - "Segment", - }); - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor, - new java.lang.String[] { - "NormalizedBoundingBoxes", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor, - new java.lang.String[] { - "Thumbnail", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor, - new java.lang.String[] { - "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", - }); - internal_static_google_cloud_videointelligence_v1_Track_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_Track_descriptor, - new java.lang.String[] { - "Segment", "TimestampedObjects", "Attributes", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor, - new java.lang.String[] { - "Name", "Confidence", "Value", - }); - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor, - new java.lang.String[] { - "Name", "Point", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor, - new java.lang.String[] { - "InputUri", - "Segment", - "SegmentLabelAnnotations", - "SegmentPresenceLabelAnnotations", - "ShotLabelAnnotations", - "ShotPresenceLabelAnnotations", - "FrameLabelAnnotations", - "FaceAnnotations", - "FaceDetectionAnnotations", - "ShotAnnotations", - "ExplicitAnnotation", - "SpeechTranscriptions", - "TextAnnotations", - "ObjectAnnotations", - "LogoRecognitionAnnotations", - "PersonDetectionAnnotations", - "Error", - }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { - "AnnotationResults", - }); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { - "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", - }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { - "AnnotationProgress", - }); - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { - "LanguageCode", - "MaxAlternatives", - "FilterProfanity", - "SpeechContexts", - "EnableAutomaticPunctuation", - "AudioTracks", - "EnableSpeakerDiarization", - "DiarizationSpeakerCount", - "EnableWordConfidence", - }); - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor, - new java.lang.String[] { - "Phrases", - }); - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor, - new java.lang.String[] { - "Alternatives", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { - "Transcript", "Confidence", "Words", - }); - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", - }); - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", - }); - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", "Frames", - }); - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor, - new java.lang.String[] { - "RotatedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor, - new java.lang.String[] { - "Text", "Segments", "Version", - }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { - "NormalizedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { - "Segment", "TrackId", "Entity", "Confidence", "Frames", "Version", "TrackInfo", - }); - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor, - new java.lang.String[] { - "Entity", "Tracks", "Segments", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 5f973fda9..000000000 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public interface AnnotateVideoProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( - int index); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * - */ - int getAnnotationProgressCount(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 83b7392ab..000000000 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,90 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public interface AnnotateVideoResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * - */ - int getAnnotationResultsCount(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java deleted file mode 100644 index c7ab15fb5..000000000 --- a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,457 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/videointelligence/v1beta2" - + "/video_intelligence.proto\022&google.cloud." - + "videointelligence.v1beta2\032\034google/api/an" - + "notations.proto\032\027google/api/client.proto" - + "\032\037google/api/field_behavior.proto\032#googl" - + "e/longrunning/operations.proto\032\036google/p" - + "rotobuf/duration.proto\032\037google/protobuf/" - + "timestamp.proto\032\027google/rpc/status.proto" - + "\"\210\002\n\024AnnotateVideoRequest\022\021\n\tinput_uri\030\001" - + " \001(\t\022\025\n\rinput_content\030\006 \001(\014\022F\n\010features\030" - + "\002 \003(\0162/.google.cloud.videointelligence.v" - + "1beta2.FeatureB\003\340A\002\022K\n\rvideo_context\030\003 \001" - + "(\01324.google.cloud.videointelligence.v1be" - + "ta2.VideoContext\022\027\n\noutput_uri\030\004 \001(\tB\003\340A" - + "\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\354\003\n\014VideoCon" - + "text\022F\n\010segments\030\001 \003(\01324.google.cloud.vi" - + "deointelligence.v1beta2.VideoSegment\022\\\n\026" - + "label_detection_config\030\002 \001(\0132<.google.cl" - + "oud.videointelligence.v1beta2.LabelDetec" - + "tionConfig\022g\n\034shot_change_detection_conf" - + "ig\030\003 \001(\0132A.google.cloud.videointelligenc" - + "e.v1beta2.ShotChangeDetectionConfig\022q\n!e" - + "xplicit_content_detection_config\030\004 \001(\0132F" - + ".google.cloud.videointelligence.v1beta2." - + "ExplicitContentDetectionConfig\022Z\n\025face_d" - + "etection_config\030\005 \001(\0132;.google.cloud.vid" - + "eointelligence.v1beta2.FaceDetectionConf" - + "ig\"\232\001\n\024LabelDetectionConfig\022X\n\024label_det" - + "ection_mode\030\001 \001(\0162:.google.cloud.videoin" - + "telligence.v1beta2.LabelDetectionMode\022\031\n" - + "\021stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"" - + "*\n\031ShotChangeDetectionConfig\022\r\n\005model\030\001 " - + "\001(\t\"/\n\036ExplicitContentDetectionConfig\022\r\n" - + "\005model\030\001 \001(\t\"D\n\023FaceDetectionConfig\022\r\n\005m" - + "odel\030\001 \001(\t\022\036\n\026include_bounding_boxes\030\002 \001" - + "(\010\"x\n\014VideoSegment\0224\n\021start_time_offset\030" - + "\001 \001(\0132\031.google.protobuf.Duration\0222\n\017end_" - + "time_offset\030\002 \001(\0132\031.google.protobuf.Dura" - + "tion\"i\n\014LabelSegment\022E\n\007segment\030\001 \001(\01324." - + "google.cloud.videointelligence.v1beta2.V" - + "ideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabel" - + "Frame\022.\n\013time_offset\030\001 \001(\0132\031.google.prot" - + "obuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Ent" - + "ity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 " - + "\001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\250\002\n\017LabelAnno" - + "tation\022>\n\006entity\030\001 \001(\0132..google.cloud.vi" - + "deointelligence.v1beta2.Entity\022I\n\021catego" - + "ry_entities\030\002 \003(\0132..google.cloud.videoin" - + "telligence.v1beta2.Entity\022F\n\010segments\030\003 " - + "\003(\01324.google.cloud.videointelligence.v1b" - + "eta2.LabelSegment\022B\n\006frames\030\004 \003(\01322.goog" - + "le.cloud.videointelligence.v1beta2.Label" - + "Frame\"\232\001\n\024ExplicitContentFrame\022.\n\013time_o" - + "ffset\030\001 \001(\0132\031.google.protobuf.Duration\022R" - + "\n\026pornography_likelihood\030\002 \001(\01622.google." - + "cloud.videointelligence.v1beta2.Likeliho" - + "od\"i\n\031ExplicitContentAnnotation\022L\n\006frame" - + "s\030\001 \003(\0132<.google.cloud.videointelligence" - + ".v1beta2.ExplicitContentFrame\"Q\n\025Normali" - + "zedBoundingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(" - + "\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"T\n\013Face" - + "Segment\022E\n\007segment\030\001 \001(\01324.google.cloud." - + "videointelligence.v1beta2.VideoSegment\"\235" - + "\001\n\tFaceFrame\022`\n\031normalized_bounding_boxe" - + "s\030\001 \003(\0132=.google.cloud.videointelligence" - + ".v1beta2.NormalizedBoundingBox\022.\n\013time_o" - + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"\255" - + "\001\n\016FaceAnnotation\022\021\n\tthumbnail\030\001 \001(\014\022E\n\010" - + "segments\030\002 \003(\01323.google.cloud.videointel" - + "ligence.v1beta2.FaceSegment\022A\n\006frames\030\003 " - + "\003(\01321.google.cloud.videointelligence.v1b" - + "eta2.FaceFrame\"\337\004\n\026VideoAnnotationResult" - + "s\022\021\n\tinput_uri\030\001 \001(\t\022Z\n\031segment_label_an" - + "notations\030\002 \003(\01327.google.cloud.videointe" - + "lligence.v1beta2.LabelAnnotation\022W\n\026shot" - + "_label_annotations\030\003 \003(\01327.google.cloud." - + "videointelligence.v1beta2.LabelAnnotatio" - + "n\022X\n\027frame_label_annotations\030\004 \003(\01327.goo" - + "gle.cloud.videointelligence.v1beta2.Labe" - + "lAnnotation\022P\n\020face_annotations\030\005 \003(\01326." - + "google.cloud.videointelligence.v1beta2.F" - + "aceAnnotation\022N\n\020shot_annotations\030\006 \003(\0132" - + "4.google.cloud.videointelligence.v1beta2" - + ".VideoSegment\022^\n\023explicit_annotation\030\007 \001" - + "(\0132A.google.cloud.videointelligence.v1be" - + "ta2.ExplicitContentAnnotation\022!\n\005error\030\t" - + " \001(\0132\022.google.rpc.Status\"s\n\025AnnotateVide" - + "oResponse\022Z\n\022annotation_results\030\001 \003(\0132>." - + "google.cloud.videointelligence.v1beta2.V" - + "ideoAnnotationResults\"\247\001\n\027VideoAnnotatio" - + "nProgress\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress" - + "_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022/\n\013update_time\030\004 " - + "\001(\0132\032.google.protobuf.Timestamp\"u\n\025Annot" - + "ateVideoProgress\022\\\n\023annotation_progress\030" - + "\001 \003(\0132?.google.cloud.videointelligence.v" - + "1beta2.VideoAnnotationProgress*\206\001\n\007Featu" - + "re\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DET" - + "ECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032E" - + "XPLICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETE" - + "CTION\020\004*r\n\022LabelDetectionMode\022$\n LABEL_D" - + "ETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE" - + "\020\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MOD" - + "E\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIF" - + "IED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014" - + "\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020" - + "\0052\312\002\n\030VideoIntelligenceService\022\327\001\n\rAnnot" - + "ateVideo\022<.google.cloud.videointelligenc" - + "e.v1beta2.AnnotateVideoRequest\032\035.google." - + "longrunning.Operation\"i\202\323\344\223\002\035\"\030/v1beta2/" - + "videos:annotate:\001*\332A\022input_uri,features\312" - + "A.\n\025AnnotateVideoResponse\022\025AnnotateVideo" - + "Progress\032T\312A videointelligence.googleapi" - + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\244\002\n*com.google.cloud.vide" - + "ointelligence.v1beta2B\035VideoIntelligence" - + "ServiceProtoP\001ZWgoogle.golang.org/genpro" - + "to/googleapis/cloud/videointelligence/v1" - + "beta2;videointelligence\252\002&Google.Cloud.V" - + "ideoIntelligence.V1Beta2\312\002&Google\\Cloud\\" - + "VideoIntelligence\\V1beta2\352\002)Google::Clou" - + "d::VideoIntelligence::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor, - new java.lang.String[] { - "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", - }); - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor, - new java.lang.String[] { - "Segments", - "LabelDetectionConfig", - "ShotChangeDetectionConfig", - "ExplicitContentDetectionConfig", - "FaceDetectionConfig", - }); - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor, - new java.lang.String[] { - "LabelDetectionMode", "StationaryCamera", "Model", - }); - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor, - new java.lang.String[] { - "Model", "IncludeBoundingBoxes", - }); - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor, - new java.lang.String[] { - "StartTimeOffset", "EndTimeOffset", - }); - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor, - new java.lang.String[] { - "EntityId", "Description", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor, - new java.lang.String[] { - "Entity", "CategoryEntities", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "PornographyLikelihood", - }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { - "Frames", - }); - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor, - new java.lang.String[] { - "Left", "Top", "Right", "Bottom", - }); - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor, - new java.lang.String[] { - "Segment", - }); - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor, - new java.lang.String[] { - "NormalizedBoundingBoxes", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor, - new java.lang.String[] { - "Thumbnail", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor, - new java.lang.String[] { - "InputUri", - "SegmentLabelAnnotations", - "ShotLabelAnnotations", - "FrameLabelAnnotations", - "FaceAnnotations", - "ShotAnnotations", - "ExplicitAnnotation", - "Error", - }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor, - new java.lang.String[] { - "AnnotationResults", - }); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor, - new java.lang.String[] { - "InputUri", "ProgressPercent", "StartTime", "UpdateTime", - }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor, - new java.lang.String[] { - "AnnotationProgress", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 250a96c5f..000000000 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public interface AnnotateVideoProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress( - int index); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - int getAnnotationProgressCount(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index b12d41cc6..000000000 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public interface AnnotateVideoResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( - int index); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * - */ - int getAnnotationResultsCount(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index 694737519..000000000 --- a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,468 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p1bet" - + "a1/video_intelligence.proto\022(google.clou" - + "d.videointelligence.v1p1beta1\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032#g" - + "oogle/longrunning/operations.proto\032\036goog" - + "le/protobuf/duration.proto\032\037google/proto" - + "buf/timestamp.proto\032\027google/rpc/status.p" - + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" - + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" - + "res\030\002 \003(\01621.google.cloud.videointelligen" - + "ce.v1p1beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" - + "xt\030\003 \001(\01326.google.cloud.videointelligenc" - + "e.v1p1beta1.VideoContext\022\027\n\noutput_uri\030\004" - + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\202\004\n\014" - + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." - + "cloud.videointelligence.v1p1beta1.VideoS" - + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" - + ".google.cloud.videointelligence.v1p1beta" - + "1.LabelDetectionConfig\022i\n\034shot_change_de" - + "tection_config\030\003 \001(\0132C.google.cloud.vide" - + "ointelligence.v1p1beta1.ShotChangeDetect" - + "ionConfig\022s\n!explicit_content_detection_" - + "config\030\004 \001(\0132H.google.cloud.videointelli" - + "gence.v1p1beta1.ExplicitContentDetection" - + "Config\022h\n\033speech_transcription_config\030\006 " - + "\001(\0132C.google.cloud.videointelligence.v1p" - + "1beta1.SpeechTranscriptionConfig\"\234\001\n\024Lab" - + "elDetectionConfig\022Z\n\024label_detection_mod" - + "e\030\001 \001(\0162<.google.cloud.videointelligence" - + ".v1p1beta1.LabelDetectionMode\022\031\n\021station" - + "ary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotC" - + "hangeDetectionConfig\022\r\n\005model\030\001 \001(\t\"/\n\036E" - + "xplicitContentDetectionConfig\022\r\n\005model\030\001" - + " \001(\t\"x\n\014VideoSegment\0224\n\021start_time_offse" - + "t\030\001 \001(\0132\031.google.protobuf.Duration\0222\n\017en" - + "d_time_offset\030\002 \001(\0132\031.google.protobuf.Du" - + "ration\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\0132" - + "6.google.cloud.videointelligence.v1p1bet" - + "a1.VideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nL" - + "abelFrame\022.\n\013time_offset\030\001 \001(\0132\031.google." - + "protobuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n" - + "\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013descriptio" - + "n\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017Label" - + "Annotation\022@\n\006entity\030\001 \001(\01320.google.clou" - + "d.videointelligence.v1p1beta1.Entity\022K\n\021" - + "category_entities\030\002 \003(\01320.google.cloud.v" - + "ideointelligence.v1p1beta1.Entity\022H\n\010seg" - + "ments\030\003 \003(\01326.google.cloud.videointellig" - + "ence.v1p1beta1.LabelSegment\022D\n\006frames\030\004 " - + "\003(\01324.google.cloud.videointelligence.v1p" - + "1beta1.LabelFrame\"\234\001\n\024ExplicitContentFra" - + "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu" - + "f.Duration\022T\n\026pornography_likelihood\030\002 \001" - + "(\01624.google.cloud.videointelligence.v1p1" - + "beta1.Likelihood\"k\n\031ExplicitContentAnnot" - + "ation\022N\n\006frames\030\001 \003(\0132>.google.cloud.vid" - + "eointelligence.v1p1beta1.ExplicitContent" - + "Frame\"\365\004\n\026VideoAnnotationResults\022\021\n\tinpu" - + "t_uri\030\001 \001(\t\022\\\n\031segment_label_annotations" - + "\030\002 \003(\01329.google.cloud.videointelligence." - + "v1p1beta1.LabelAnnotation\022Y\n\026shot_label_" - + "annotations\030\003 \003(\01329.google.cloud.videoin" - + "telligence.v1p1beta1.LabelAnnotation\022Z\n\027" - + "frame_label_annotations\030\004 \003(\01329.google.c" - + "loud.videointelligence.v1p1beta1.LabelAn" - + "notation\022P\n\020shot_annotations\030\006 \003(\01326.goo" - + "gle.cloud.videointelligence.v1p1beta1.Vi" - + "deoSegment\022`\n\023explicit_annotation\030\007 \001(\0132" - + "C.google.cloud.videointelligence.v1p1bet" - + "a1.ExplicitContentAnnotation\022\\\n\025speech_t" - + "ranscriptions\030\013 \003(\0132=.google.cloud.video" - + "intelligence.v1p1beta1.SpeechTranscripti" - + "on\022!\n\005error\030\t \001(\0132\022.google.rpc.Status\"u\n" - + "\025AnnotateVideoResponse\022\\\n\022annotation_res" - + "ults\030\001 \003(\0132@.google.cloud.videointellige" - + "nce.v1p1beta1.VideoAnnotationResults\"\247\001\n" - + "\027VideoAnnotationProgress\022\021\n\tinput_uri\030\001 " - + "\001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nstart_t" - + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\004 \001(\0132\032.google.protobuf.Tim" - + "estamp\"w\n\025AnnotateVideoProgress\022^\n\023annot" - + "ation_progress\030\001 \003(\0132A.google.cloud.vide" - + "ointelligence.v1p1beta1.VideoAnnotationP" - + "rogress\"\222\002\n\031SpeechTranscriptionConfig\022\032\n" - + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" - + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" - + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" - + "e.cloud.videointelligence.v1p1beta1.Spee" - + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" - + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" - + "\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003" - + "\340A\001\"s\n\023SpeechTranscription\022\\\n\014alternativ" - + "es\030\001 \003(\0132F.google.cloud.videointelligenc" - + "e.v1p1beta1.SpeechRecognitionAlternative" - + "\"\216\001\n\034SpeechRecognitionAlternative\022\022\n\ntra" - + "nscript\030\001 \001(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022A" - + "\n\005words\030\003 \003(\01322.google.cloud.videointell" - + "igence.v1p1beta1.WordInfo\"t\n\010WordInfo\022-\n" - + "\nstart_time\030\001 \001(\0132\031.google.protobuf.Dura" - + "tion\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf" - + ".Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007Feature\022\027\n\023F" - + "EATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION\020" - + "\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICIT" - + "_CONTENT_DETECTION\020\003\022\030\n\024SPEECH_TRANSCRIP" - + "TION\020\006*r\n\022LabelDetectionMode\022$\n LABEL_DE" - + "TECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020" - + "\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE" - + "\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFI" - + "ED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n" - + "\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005" - + "2\316\002\n\030VideoIntelligenceService\022\333\001\n\rAnnota" - + "teVideo\022>.google.cloud.videointelligence" - + ".v1p1beta1.AnnotateVideoRequest\032\035.google" - + ".longrunning.Operation\"k\202\323\344\223\002\037\"\032/v1p1bet" - + "a1/videos:annotate:\001*\332A\022input_uri,featur" - + "es\312A.\n\025AnnotateVideoResponse\022\025AnnotateVi" - + "deoProgress\032T\312A videointelligence.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\256\002\n,com.google.cloud.v" - + "ideointelligence.v1p1beta1B\035VideoIntelli" - + "genceServiceProtoP\001ZYgoogle.golang.org/g" - + "enproto/googleapis/cloud/videointelligen" - + "ce/v1p1beta1;videointelligence\252\002(Google." - + "Cloud.VideoIntelligence.V1P1Beta1\312\002(Goog" - + "le\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+G" - + "oogle::Cloud::VideoIntelligence::V1p1bet" - + "a1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { - "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor, - new java.lang.String[] { - "Segments", - "LabelDetectionConfig", - "ShotChangeDetectionConfig", - "ExplicitContentDetectionConfig", - "SpeechTranscriptionConfig", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { - "LabelDetectionMode", "StationaryCamera", "Model", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor, - new java.lang.String[] { - "StartTimeOffset", "EndTimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor, - new java.lang.String[] { - "EntityId", "Description", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor, - new java.lang.String[] { - "Entity", "CategoryEntities", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "PornographyLikelihood", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { - "Frames", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { - "InputUri", - "SegmentLabelAnnotations", - "ShotLabelAnnotations", - "FrameLabelAnnotations", - "ShotAnnotations", - "ExplicitAnnotation", - "SpeechTranscriptions", - "Error", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { - "AnnotationResults", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { - "InputUri", "ProgressPercent", "StartTime", "UpdateTime", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { - "AnnotationProgress", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { - "LanguageCode", - "MaxAlternatives", - "FilterProfanity", - "SpeechContexts", - "EnableAutomaticPunctuation", - "AudioTracks", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor, - new java.lang.String[] { - "Phrases", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor, - new java.lang.String[] { - "Alternatives", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { - "Transcript", "Confidence", "Words", - }); - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Word", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 8dae6909e..000000000 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface AnnotateVideoProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress( - int index); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - int getAnnotationProgressCount(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 2bbc1b5ff..000000000 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface AnnotateVideoResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( - int index); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * - */ - int getAnnotationResultsCount(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java deleted file mode 100644 index 1d3e21e97..000000000 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index 794bebaaf..000000000 --- a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,526 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p2bet" - + "a1/video_intelligence.proto\022(google.clou" - + "d.videointelligence.v1p2beta1\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032#g" - + "oogle/longrunning/operations.proto\032\036goog" - + "le/protobuf/duration.proto\032\037google/proto" - + "buf/timestamp.proto\032\027google/rpc/status.p" - + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" - + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" - + "res\030\002 \003(\01621.google.cloud.videointelligen" - + "ce.v1p2beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" - + "xt\030\003 \001(\01326.google.cloud.videointelligenc" - + "e.v1p2beta1.VideoContext\022\027\n\noutput_uri\030\004" - + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\366\003\n\014" - + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." - + "cloud.videointelligence.v1p2beta1.VideoS" - + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" - + ".google.cloud.videointelligence.v1p2beta" - + "1.LabelDetectionConfig\022i\n\034shot_change_de" - + "tection_config\030\003 \001(\0132C.google.cloud.vide" - + "ointelligence.v1p2beta1.ShotChangeDetect" - + "ionConfig\022s\n!explicit_content_detection_" - + "config\030\004 \001(\0132H.google.cloud.videointelli" - + "gence.v1p2beta1.ExplicitContentDetection" - + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." - + "google.cloud.videointelligence.v1p2beta1" - + ".TextDetectionConfig\"\234\001\n\024LabelDetectionC" - + "onfig\022Z\n\024label_detection_mode\030\001 \001(\0162<.go" - + "ogle.cloud.videointelligence.v1p2beta1.L" - + "abelDetectionMode\022\031\n\021stationary_camera\030\002" - + " \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotChangeDetecti" - + "onConfig\022\r\n\005model\030\001 \001(\t\"/\n\036ExplicitConte" - + "ntDetectionConfig\022\r\n\005model\030\001 \001(\t\"-\n\023Text" - + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\"" - + "x\n\014VideoSegment\0224\n\021start_time_offset\030\001 \001" - + "(\0132\031.google.protobuf.Duration\0222\n\017end_tim" - + "e_offset\030\002 \001(\0132\031.google.protobuf.Duratio" - + "n\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\01326.goo" - + "gle.cloud.videointelligence.v1p2beta1.Vi" - + "deoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelF" - + "rame\022.\n\013time_offset\030\001 \001(\0132\031.google.proto" - + "buf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Enti" - + "ty\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 \001" - + "(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017LabelAnnot" - + "ation\022@\n\006entity\030\001 \001(\01320.google.cloud.vid" - + "eointelligence.v1p2beta1.Entity\022K\n\021categ" - + "ory_entities\030\002 \003(\01320.google.cloud.videoi" - + "ntelligence.v1p2beta1.Entity\022H\n\010segments" - + "\030\003 \003(\01326.google.cloud.videointelligence." - + "v1p2beta1.LabelSegment\022D\n\006frames\030\004 \003(\01324" - + ".google.cloud.videointelligence.v1p2beta" - + "1.LabelFrame\"\234\001\n\024ExplicitContentFrame\022.\n" - + "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" - + "ation\022T\n\026pornography_likelihood\030\002 \001(\01624." - + "google.cloud.videointelligence.v1p2beta1" - + ".Likelihood\"k\n\031ExplicitContentAnnotation" - + "\022N\n\006frames\030\001 \003(\0132>.google.cloud.videoint" - + "elligence.v1p2beta1.ExplicitContentFrame" - + "\"Q\n\025NormalizedBoundingBox\022\014\n\004left\030\001 \001(\002\022" - + "\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 " - + "\001(\002\"\313\005\n\026VideoAnnotationResults\022\021\n\tinput_" - + "uri\030\001 \001(\t\022\\\n\031segment_label_annotations\030\002" - + " \003(\01329.google.cloud.videointelligence.v1" - + "p2beta1.LabelAnnotation\022Y\n\026shot_label_an" - + "notations\030\003 \003(\01329.google.cloud.videointe" - + "lligence.v1p2beta1.LabelAnnotation\022Z\n\027fr" - + "ame_label_annotations\030\004 \003(\01329.google.clo" - + "ud.videointelligence.v1p2beta1.LabelAnno" - + "tation\022P\n\020shot_annotations\030\006 \003(\01326.googl" - + "e.cloud.videointelligence.v1p2beta1.Vide" - + "oSegment\022`\n\023explicit_annotation\030\007 \001(\0132C." - + "google.cloud.videointelligence.v1p2beta1" - + ".ExplicitContentAnnotation\022R\n\020text_annot" - + "ations\030\014 \003(\01328.google.cloud.videointelli" - + "gence.v1p2beta1.TextAnnotation\022^\n\022object" - + "_annotations\030\016 \003(\0132B.google.cloud.videoi" - + "ntelligence.v1p2beta1.ObjectTrackingAnno" - + "tation\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu" - + "s\"u\n\025AnnotateVideoResponse\022\\\n\022annotation" - + "_results\030\001 \003(\0132@.google.cloud.videointel" - + "ligence.v1p2beta1.VideoAnnotationResults" - + "\"\247\001\n\027VideoAnnotationProgress\022\021\n\tinput_ur" - + "i\030\001 \001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nsta" - + "rt_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\"w\n\025AnnotateVideoProgress\022^\n\023a" - + "nnotation_progress\030\001 \003(\0132A.google.cloud." - + "videointelligence.v1p2beta1.VideoAnnotat" - + "ionProgress\"(\n\020NormalizedVertex\022\t\n\001x\030\001 \001" - + "(\002\022\t\n\001y\030\002 \001(\002\"f\n\026NormalizedBoundingPoly\022" - + "L\n\010vertices\030\001 \003(\0132:.google.cloud.videoin" - + "telligence.v1p2beta1.NormalizedVertex\"\257\001" - + "\n\013TextSegment\022G\n\007segment\030\001 \001(\01326.google." - + "cloud.videointelligence.v1p2beta1.VideoS" - + "egment\022\022\n\nconfidence\030\002 \001(\002\022C\n\006frames\030\003 \003" - + "(\01323.google.cloud.videointelligence.v1p2" - + "beta1.TextFrame\"\233\001\n\tTextFrame\022^\n\024rotated" - + "_bounding_box\030\001 \001(\0132@.google.cloud.video" - + "intelligence.v1p2beta1.NormalizedBoundin" - + "gPoly\022.\n\013time_offset\030\002 \001(\0132\031.google.prot" - + "obuf.Duration\"g\n\016TextAnnotation\022\014\n\004text\030" - + "\001 \001(\t\022G\n\010segments\030\002 \003(\01325.google.cloud.v" - + "ideointelligence.v1p2beta1.TextSegment\"\247" - + "\001\n\023ObjectTrackingFrame\022`\n\027normalized_bou" - + "nding_box\030\001 \001(\0132?.google.cloud.videointe" - + "lligence.v1p2beta1.NormalizedBoundingBox" - + "\022.\n\013time_offset\030\002 \001(\0132\031.google.protobuf." - + "Duration\"\254\002\n\030ObjectTrackingAnnotation\022I\n" - + "\007segment\030\003 \001(\01326.google.cloud.videointel" - + "ligence.v1p2beta1.VideoSegmentH\000\022\022\n\010trac" - + "k_id\030\005 \001(\003H\000\022@\n\006entity\030\001 \001(\01320.google.cl" - + "oud.videointelligence.v1p2beta1.Entity\022\022" - + "\n\nconfidence\030\004 \001(\002\022M\n\006frames\030\002 \003(\0132=.goo" - + "gle.cloud.videointelligence.v1p2beta1.Ob" - + "jectTrackingFrameB\014\n\ntrack_info*\233\001\n\007Feat" - + "ure\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DE" - + "TECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032" - + "EXPLICIT_CONTENT_DETECTION\020\003\022\022\n\016TEXT_DET" - + "ECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t*r\n\022LabelDe" - + "tectionMode\022$\n LABEL_DETECTION_MODE_UNSP" - + "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" - + "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikelihood\022" - + "\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLI" - + "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI" - + "KELY\020\004\022\017\n\013VERY_LIKELY\020\0052\316\002\n\030VideoIntelli" - + "genceService\022\333\001\n\rAnnotateVideo\022>.google." - + "cloud.videointelligence.v1p2beta1.Annota" - + "teVideoRequest\032\035.google.longrunning.Oper" - + "ation\"k\202\323\344\223\002\037\"\032/v1p2beta1/videos:annotat" - + "e:\001*\332A\022input_uri,features\312A.\n\025AnnotateVi" - + "deoResponse\022\025AnnotateVideoProgress\032T\312A v" - + "ideointelligence.googleapis.com\322A.https:" - + "//www.googleapis.com/auth/cloud-platform" - + "B\256\002\n,com.google.cloud.videointelligence." - + "v1p2beta1B\035VideoIntelligenceServiceProto" - + "P\001ZYgoogle.golang.org/genproto/googleapi" - + "s/cloud/videointelligence/v1p2beta1;vide" - + "ointelligence\252\002(Google.Cloud.VideoIntell" - + "igence.V1P2Beta1\312\002(Google\\Cloud\\VideoInt" - + "elligence\\V1p2beta1\352\002+Google::Cloud::Vid" - + "eoIntelligence::V1p2beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { - "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor, - new java.lang.String[] { - "Segments", - "LabelDetectionConfig", - "ShotChangeDetectionConfig", - "ExplicitContentDetectionConfig", - "TextDetectionConfig", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { - "LabelDetectionMode", "StationaryCamera", "Model", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor, - new java.lang.String[] { - "LanguageHints", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor, - new java.lang.String[] { - "StartTimeOffset", "EndTimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor, - new java.lang.String[] { - "EntityId", "Description", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor, - new java.lang.String[] { - "Entity", "CategoryEntities", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "PornographyLikelihood", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { - "Frames", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { - "Left", "Top", "Right", "Bottom", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { - "InputUri", - "SegmentLabelAnnotations", - "ShotLabelAnnotations", - "FrameLabelAnnotations", - "ShotAnnotations", - "ExplicitAnnotation", - "TextAnnotations", - "ObjectAnnotations", - "Error", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { - "AnnotationResults", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { - "InputUri", "ProgressPercent", "StartTime", "UpdateTime", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { - "AnnotationProgress", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", "Frames", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor, - new java.lang.String[] { - "RotatedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor, - new java.lang.String[] { - "Text", "Segments", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { - "NormalizedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { - "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 586a327c9..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface AnnotateVideoProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List - getAnnotationProgressList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress( - int index); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - int getAnnotationProgressCount(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> - getAnnotationProgressOrBuilderList(); - /** - * - * - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - * - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder - getAnnotationProgressOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 5ef8905ed..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,91 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface AnnotateVideoResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List - getAnnotationResultsList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( - int index); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * - */ - int getAnnotationResultsCount(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * - */ - java.util.List< - ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> - getAnnotationResultsOrBuilderList(); - /** - * - * - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - * - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder - getAnnotationResultsOrBuilder(int index); -} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java deleted file mode 100644 index b98005e50..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java deleted file mode 100644 index 11dd267fa..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingExplicitContentDetectionConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java deleted file mode 100644 index 851141eaf..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingObjectTrackingConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java deleted file mode 100644 index 28c8e4fb8..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java +++ /dev/null @@ -1,24 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingShotChangeDetectionConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index 45caccf30..000000000 --- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,1111 +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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p3bet" - + "a1/video_intelligence.proto\022(google.clou" - + "d.videointelligence.v1p3beta1\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032#g" - + "oogle/longrunning/operations.proto\032\036goog" - + "le/protobuf/duration.proto\032\037google/proto" - + "buf/timestamp.proto\032\027google/rpc/status.p" - + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" - + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" - + "res\030\002 \003(\01621.google.cloud.videointelligen" - + "ce.v1p3beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" - + "xt\030\003 \001(\01326.google.cloud.videointelligenc" - + "e.v1p3beta1.VideoContext\022\027\n\noutput_uri\030\004" - + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\200\007\n\014" - + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." - + "cloud.videointelligence.v1p3beta1.VideoS" - + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" - + ".google.cloud.videointelligence.v1p3beta" - + "1.LabelDetectionConfig\022i\n\034shot_change_de" - + "tection_config\030\003 \001(\0132C.google.cloud.vide" - + "ointelligence.v1p3beta1.ShotChangeDetect" - + "ionConfig\022s\n!explicit_content_detection_" - + "config\030\004 \001(\0132H.google.cloud.videointelli" - + "gence.v1p3beta1.ExplicitContentDetection" - + "Config\022\\\n\025face_detection_config\030\005 \001(\0132=." - + "google.cloud.videointelligence.v1p3beta1" - + ".FaceDetectionConfig\022h\n\033speech_transcrip" - + "tion_config\030\006 \001(\0132C.google.cloud.videoin" - + "telligence.v1p3beta1.SpeechTranscription" - + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." - + "google.cloud.videointelligence.v1p3beta1" - + ".TextDetectionConfig\022`\n\027person_detection" - + "_config\030\013 \001(\0132?.google.cloud.videointell" - + "igence.v1p3beta1.PersonDetectionConfig\022^" - + "\n\026object_tracking_config\030\r \001(\0132>.google." - + "cloud.videointelligence.v1p3beta1.Object" - + "TrackingConfig\"\344\001\n\024LabelDetectionConfig\022" - + "Z\n\024label_detection_mode\030\001 \001(\0162<.google.c" - + "loud.videointelligence.v1p3beta1.LabelDe" - + "tectionMode\022\031\n\021stationary_camera\030\002 \001(\010\022\r" - + "\n\005model\030\003 \001(\t\022\"\n\032frame_confidence_thresh" - + "old\030\004 \001(\002\022\"\n\032video_confidence_threshold\030" - + "\005 \001(\002\"*\n\031ShotChangeDetectionConfig\022\r\n\005mo" - + "del\030\001 \001(\t\"%\n\024ObjectTrackingConfig\022\r\n\005mod" - + "el\030\001 \001(\t\"/\n\036ExplicitContentDetectionConf" - + "ig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDetectionConfig" - + "\022\r\n\005model\030\001 \001(\t\022\036\n\026include_bounding_boxe" - + "s\030\002 \001(\010\022\032\n\022include_attributes\030\005 \001(\010\"s\n\025P" - + "ersonDetectionConfig\022\036\n\026include_bounding" - + "_boxes\030\001 \001(\010\022\036\n\026include_pose_landmarks\030\002" - + " \001(\010\022\032\n\022include_attributes\030\003 \001(\010\"<\n\023Text" - + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\022" - + "\r\n\005model\030\002 \001(\t\"x\n\014VideoSegment\0224\n\021start_" - + "time_offset\030\001 \001(\0132\031.google.protobuf.Dura" - + "tion\0222\n\017end_time_offset\030\002 \001(\0132\031.google.p" - + "rotobuf.Duration\"k\n\014LabelSegment\022G\n\007segm" - + "ent\030\001 \001(\01326.google.cloud.videointelligen" - + "ce.v1p3beta1.VideoSegment\022\022\n\nconfidence\030" - + "\002 \001(\002\"P\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\013" - + "2\031.google.protobuf.Duration\022\022\n\nconfidenc" - + "e\030\002 \001(\002\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013" - + "description\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t" - + "\"\260\002\n\017LabelAnnotation\022@\n\006entity\030\001 \001(\01320.g" - + "oogle.cloud.videointelligence.v1p3beta1." - + "Entity\022K\n\021category_entities\030\002 \003(\01320.goog" - + "le.cloud.videointelligence.v1p3beta1.Ent" - + "ity\022H\n\010segments\030\003 \003(\01326.google.cloud.vid" - + "eointelligence.v1p3beta1.LabelSegment\022D\n" - + "\006frames\030\004 \003(\01324.google.cloud.videointell" - + "igence.v1p3beta1.LabelFrame\"\234\001\n\024Explicit" - + "ContentFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog" - + "le.protobuf.Duration\022T\n\026pornography_like" - + "lihood\030\002 \001(\01624.google.cloud.videointelli" - + "gence.v1p3beta1.Likelihood\"k\n\031ExplicitCo" - + "ntentAnnotation\022N\n\006frames\030\001 \003(\0132>.google" - + ".cloud.videointelligence.v1p3beta1.Expli" - + "citContentFrame\"Q\n\025NormalizedBoundingBox" - + "\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001" - + "(\002\022\016\n\006bottom\030\004 \001(\002\"\317\002\n\021TimestampedObject" - + "\022`\n\027normalized_bounding_box\030\001 \001(\0132?.goog" - + "le.cloud.videointelligence.v1p3beta1.Nor" - + "malizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132" - + "\031.google.protobuf.Duration\022T\n\nattributes" - + "\030\003 \003(\0132;.google.cloud.videointelligence." - + "v1p3beta1.DetectedAttributeB\003\340A\001\022R\n\tland" - + "marks\030\004 \003(\0132:.google.cloud.videointellig" - + "ence.v1p3beta1.DetectedLandmarkB\003\340A\001\"\231\002\n" - + "\005Track\022G\n\007segment\030\001 \001(\01326.google.cloud.v" - + "ideointelligence.v1p3beta1.VideoSegment\022" - + "X\n\023timestamped_objects\030\002 \003(\0132;.google.cl" - + "oud.videointelligence.v1p3beta1.Timestam" - + "pedObject\022T\n\nattributes\030\003 \003(\0132;.google.c" - + "loud.videointelligence.v1p3beta1.Detecte" - + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" - + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" - + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"D\n\tCelebr" - + "ity\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" - + "\023\n\013description\030\003 \001(\t\"\253\002\n\016CelebrityTrack\022" - + "a\n\013celebrities\030\001 \003(\0132L.google.cloud.vide" - + "ointelligence.v1p3beta1.CelebrityTrack.R" - + "ecognizedCelebrity\022C\n\nface_track\030\003 \001(\0132/" - + ".google.cloud.videointelligence.v1p3beta" - + "1.Track\032q\n\023RecognizedCelebrity\022F\n\tcelebr" - + "ity\030\001 \001(\01323.google.cloud.videointelligen" - + "ce.v1p3beta1.Celebrity\022\022\n\nconfidence\030\002 \001" - + "(\002\"t\n\036CelebrityRecognitionAnnotation\022R\n\020" - + "celebrity_tracks\030\001 \003(\01328.google.cloud.vi" - + "deointelligence.v1p3beta1.CelebrityTrack" - + "\"\177\n\020DetectedLandmark\022\014\n\004name\030\001 \001(\t\022I\n\005po" - + "int\030\002 \001(\0132:.google.cloud.videointelligen" - + "ce.v1p3beta1.NormalizedVertex\022\022\n\nconfide" - + "nce\030\003 \001(\002\"m\n\027FaceDetectionAnnotation\022?\n\006" - + "tracks\030\003 \003(\0132/.google.cloud.videointelli" - + "gence.v1p3beta1.Track\022\021\n\tthumbnail\030\004 \001(\014" - + "\"\\\n\031PersonDetectionAnnotation\022?\n\006tracks\030" - + "\001 \003(\0132/.google.cloud.videointelligence.v" - + "1p3beta1.Track\"\357\013\n\026VideoAnnotationResult" - + "s\022\021\n\tinput_uri\030\001 \001(\t\022G\n\007segment\030\n \001(\01326." - + "google.cloud.videointelligence.v1p3beta1" - + ".VideoSegment\022\\\n\031segment_label_annotatio" - + "ns\030\002 \003(\01329.google.cloud.videointelligenc" - + "e.v1p3beta1.LabelAnnotation\022e\n\"segment_p" - + "resence_label_annotations\030\027 \003(\01329.google" - + ".cloud.videointelligence.v1p3beta1.Label" - + "Annotation\022Y\n\026shot_label_annotations\030\003 \003" - + "(\01329.google.cloud.videointelligence.v1p3" - + "beta1.LabelAnnotation\022b\n\037shot_presence_l" - + "abel_annotations\030\030 \003(\01329.google.cloud.vi" - + "deointelligence.v1p3beta1.LabelAnnotatio" - + "n\022Z\n\027frame_label_annotations\030\004 \003(\01329.goo" - + "gle.cloud.videointelligence.v1p3beta1.La" - + "belAnnotation\022e\n\032face_detection_annotati" - + "ons\030\r \003(\0132A.google.cloud.videointelligen" - + "ce.v1p3beta1.FaceDetectionAnnotation\022P\n\020" - + "shot_annotations\030\006 \003(\01326.google.cloud.vi" - + "deointelligence.v1p3beta1.VideoSegment\022`" - + "\n\023explicit_annotation\030\007 \001(\0132C.google.clo" - + "ud.videointelligence.v1p3beta1.ExplicitC" - + "ontentAnnotation\022\\\n\025speech_transcription" - + "s\030\013 \003(\0132=.google.cloud.videointelligence" - + ".v1p3beta1.SpeechTranscription\022R\n\020text_a" - + "nnotations\030\014 \003(\01328.google.cloud.videoint" - + "elligence.v1p3beta1.TextAnnotation\022^\n\022ob" - + "ject_annotations\030\016 \003(\0132B.google.cloud.vi" - + "deointelligence.v1p3beta1.ObjectTracking" - + "Annotation\022i\n\034logo_recognition_annotatio" - + "ns\030\023 \003(\0132C.google.cloud.videointelligenc" - + "e.v1p3beta1.LogoRecognitionAnnotation\022i\n" - + "\034person_detection_annotations\030\024 \003(\0132C.go" - + "ogle.cloud.videointelligence.v1p3beta1.P" - + "ersonDetectionAnnotation\022s\n!celebrity_re" - + "cognition_annotations\030\025 \001(\0132H.google.clo" - + "ud.videointelligence.v1p3beta1.Celebrity" - + "RecognitionAnnotation\022!\n\005error\030\t \001(\0132\022.g" - + "oogle.rpc.Status\"u\n\025AnnotateVideoRespons" - + "e\022\\\n\022annotation_results\030\001 \003(\0132@.google.c" - + "loud.videointelligence.v1p3beta1.VideoAn" - + "notationResults\"\264\002\n\027VideoAnnotationProgr" - + "ess\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_perce" - + "nt\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032." - + "google.protobuf.Timestamp\022B\n\007feature\030\005 \001" - + "(\01621.google.cloud.videointelligence.v1p3" - + "beta1.Feature\022G\n\007segment\030\006 \001(\01326.google." - + "cloud.videointelligence.v1p3beta1.VideoS" - + "egment\"w\n\025AnnotateVideoProgress\022^\n\023annot" - + "ation_progress\030\001 \003(\0132A.google.cloud.vide" - + "ointelligence.v1p3beta1.VideoAnnotationP" - + "rogress\"\210\003\n\031SpeechTranscriptionConfig\022\032\n" - + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" - + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" - + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" - + "e.cloud.videointelligence.v1p3beta1.Spee" - + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" - + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" - + "\003\340A\001\022\'\n\032enable_speaker_diarization\030\007 \001(\010" - + "B\003\340A\001\022&\n\031diarization_speaker_count\030\010 \001(\005" - + "B\003\340A\001\022#\n\026enable_word_confidence\030\t \001(\010B\003\340" - + "A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003\340A" - + "\001\"\217\001\n\023SpeechTranscription\022\\\n\014alternative" - + "s\030\001 \003(\0132F.google.cloud.videointelligence" - + ".v1p3beta1.SpeechRecognitionAlternative\022" - + "\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\223\001\n\034SpeechRe" - + "cognitionAlternative\022\022\n\ntranscript\030\001 \001(\t" - + "\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022F\n\005words\030\003 \003(\013" - + "22.google.cloud.videointelligence.v1p3be" - + "ta1.WordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_" - + "time\030\001 \001(\0132\031.google.protobuf.Duration\022+\n" - + "\010end_time\030\002 \001(\0132\031.google.protobuf.Durati" - + "on\022\014\n\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A" - + "\003\022\030\n\013speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020Normalize" - + "dVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"f\n\026Normali" - + "zedBoundingPoly\022L\n\010vertices\030\001 \003(\0132:.goog" - + "le.cloud.videointelligence.v1p3beta1.Nor" - + "malizedVertex\"\257\001\n\013TextSegment\022G\n\007segment" - + "\030\001 \001(\01326.google.cloud.videointelligence." - + "v1p3beta1.VideoSegment\022\022\n\nconfidence\030\002 \001" - + "(\002\022C\n\006frames\030\003 \003(\01323.google.cloud.videoi" - + "ntelligence.v1p3beta1.TextFrame\"\233\001\n\tText" - + "Frame\022^\n\024rotated_bounding_box\030\001 \001(\0132@.go" - + "ogle.cloud.videointelligence.v1p3beta1.N" - + "ormalizedBoundingPoly\022.\n\013time_offset\030\002 \001" - + "(\0132\031.google.protobuf.Duration\"g\n\016TextAnn" - + "otation\022\014\n\004text\030\001 \001(\t\022G\n\010segments\030\002 \003(\0132" - + "5.google.cloud.videointelligence.v1p3bet" - + "a1.TextSegment\"\247\001\n\023ObjectTrackingFrame\022`" - + "\n\027normalized_bounding_box\030\001 \001(\0132?.google" - + ".cloud.videointelligence.v1p3beta1.Norma" - + "lizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031." - + "google.protobuf.Duration\"\254\002\n\030ObjectTrack" - + "ingAnnotation\022I\n\007segment\030\003 \001(\01326.google." - + "cloud.videointelligence.v1p3beta1.VideoS" - + "egmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\022@\n\006entity\030\001" - + " \001(\01320.google.cloud.videointelligence.v1" - + "p3beta1.Entity\022\022\n\nconfidence\030\004 \001(\002\022M\n\006fr" - + "ames\030\002 \003(\0132=.google.cloud.videointellige" - + "nce.v1p3beta1.ObjectTrackingFrameB\014\n\ntra" - + "ck_info\"\350\001\n\031LogoRecognitionAnnotation\022@\n" - + "\006entity\030\001 \001(\01320.google.cloud.videointell" - + "igence.v1p3beta1.Entity\022?\n\006tracks\030\002 \003(\0132" - + "/.google.cloud.videointelligence.v1p3bet" - + "a1.Track\022H\n\010segments\030\003 \003(\01326.google.clou" - + "d.videointelligence.v1p3beta1.VideoSegme" - + "nt\"\245\001\n\035StreamingAnnotateVideoRequest\022V\n\014" - + "video_config\030\001 \001(\0132>.google.cloud.videoi" - + "ntelligence.v1p3beta1.StreamingVideoConf" - + "igH\000\022\027\n\rinput_content\030\002 \001(\014H\000B\023\n\021streami" - + "ng_request\"\212\010\n\024StreamingVideoConfig\022t\n\034s" - + "hot_change_detection_config\030\002 \001(\0132L.goog" - + "le.cloud.videointelligence.v1p3beta1.Str" - + "eamingShotChangeDetectionConfigH\000\022i\n\026lab" - + "el_detection_config\030\003 \001(\0132G.google.cloud" - + ".videointelligence.v1p3beta1.StreamingLa" - + "belDetectionConfigH\000\022~\n!explicit_content" - + "_detection_config\030\004 \001(\0132Q.google.cloud.v" - + "ideointelligence.v1p3beta1.StreamingExpl" - + "icitContentDetectionConfigH\000\022i\n\026object_t" - + "racking_config\030\005 \001(\0132G.google.cloud.vide" - + "ointelligence.v1p3beta1.StreamingObjectT" - + "rackingConfigH\000\022|\n automl_action_recogni" - + "tion_config\030\027 \001(\0132P.google.cloud.videoin" - + "telligence.v1p3beta1.StreamingAutomlActi" - + "onRecognitionConfigH\000\022u\n\034automl_classifi" - + "cation_config\030\025 \001(\0132M.google.cloud.video" - + "intelligence.v1p3beta1.StreamingAutomlCl" - + "assificationConfigH\000\022v\n\035automl_object_tr" - + "acking_config\030\026 \001(\0132M.google.cloud.video" - + "intelligence.v1p3beta1.StreamingAutomlOb" - + "jectTrackingConfigH\000\022K\n\007feature\030\001 \001(\0162:." - + "google.cloud.videointelligence.v1p3beta1" - + ".StreamingFeature\022X\n\016storage_config\030\036 \001(" - + "\0132@.google.cloud.videointelligence.v1p3b" - + "eta1.StreamingStorageConfigB\022\n\020streaming" - + "_config\"\312\001\n\036StreamingAnnotateVideoRespon" - + "se\022!\n\005error\030\001 \001(\0132\022.google.rpc.Status\022e\n" - + "\022annotation_results\030\002 \001(\0132I.google.cloud" - + ".videointelligence.v1p3beta1.StreamingVi" - + "deoAnnotationResults\022\036\n\026annotation_resul" - + "ts_uri\030\003 \001(\t\"\213\003\n\037StreamingVideoAnnotatio" - + "nResults\022P\n\020shot_annotations\030\001 \003(\01326.goo" - + "gle.cloud.videointelligence.v1p3beta1.Vi" - + "deoSegment\022T\n\021label_annotations\030\002 \003(\01329." - + "google.cloud.videointelligence.v1p3beta1" - + ".LabelAnnotation\022`\n\023explicit_annotation\030" - + "\003 \001(\0132C.google.cloud.videointelligence.v" - + "1p3beta1.ExplicitContentAnnotation\022^\n\022ob" - + "ject_annotations\030\004 \003(\0132B.google.cloud.vi" - + "deointelligence.v1p3beta1.ObjectTracking" - + "Annotation\"$\n\"StreamingShotChangeDetecti" - + "onConfig\":\n\035StreamingLabelDetectionConfi" - + "g\022\031\n\021stationary_camera\030\001 \001(\010\")\n\'Streamin" - + "gExplicitContentDetectionConfig\"\037\n\035Strea" - + "mingObjectTrackingConfig\"<\n&StreamingAut" - + "omlActionRecognitionConfig\022\022\n\nmodel_name" - + "\030\001 \001(\t\"9\n#StreamingAutomlClassificationC" - + "onfig\022\022\n\nmodel_name\030\001 \001(\t\"9\n#StreamingAu" - + "tomlObjectTrackingConfig\022\022\n\nmodel_name\030\001" - + " \001(\t\"o\n\026StreamingStorageConfig\022(\n enable" - + "_storage_annotation_result\030\001 \001(\010\022+\n#anno" - + "tation_result_storage_directory\030\003 \001(\t*r\n" - + "\022LabelDetectionMode\022$\n LABEL_DETECTION_M" - + "ODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAM" - + "E_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLik" - + "elihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rV" - + "ERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE" - + "\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*\266\002\n\020Stre" - + "amingFeature\022!\n\035STREAMING_FEATURE_UNSPEC" - + "IFIED\020\000\022\035\n\031STREAMING_LABEL_DETECTION\020\001\022#" - + "\n\037STREAMING_SHOT_CHANGE_DETECTION\020\002\022(\n$S" - + "TREAMING_EXPLICIT_CONTENT_DETECTION\020\003\022\035\n" - + "\031STREAMING_OBJECT_TRACKING\020\004\022\'\n#STREAMIN" - + "G_AUTOML_ACTION_RECOGNITION\020\027\022#\n\037STREAMI" - + "NG_AUTOML_CLASSIFICATION\020\025\022$\n STREAMING_" - + "AUTOML_OBJECT_TRACKING\020\026*\220\002\n\007Feature\022\027\n\023" - + "FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION" - + "\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICI" - + "T_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTION\020" - + "\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_DETE" - + "CTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_REC" - + "OGNITION\020\014\022\031\n\025CELEBRITY_RECOGNITION\020\r\022\024\n" - + "\020PERSON_DETECTION\020\0162\316\002\n\030VideoIntelligenc" - + "eService\022\333\001\n\rAnnotateVideo\022>.google.clou" - + "d.videointelligence.v1p3beta1.AnnotateVi" - + "deoRequest\032\035.google.longrunning.Operatio" - + "n\"k\202\323\344\223\002\037\"\032/v1p3beta1/videos:annotate:\001*" - + "\332A\022input_uri,features\312A.\n\025AnnotateVideoR" - + "esponse\022\025AnnotateVideoProgress\032T\312A video" - + "intelligence.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platform2\255\002\n" - + "!StreamingVideoIntelligenceService\022\261\001\n\026S" - + "treamingAnnotateVideo\022G.google.cloud.vid" - + "eointelligence.v1p3beta1.StreamingAnnota" - + "teVideoRequest\032H.google.cloud.videointel" - + "ligence.v1p3beta1.StreamingAnnotateVideo" - + "Response\"\000(\0010\001\032T\312A videointelligence.goo" - + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\256\002\n,com.google.clou" - + "d.videointelligence.v1p3beta1B\035VideoInte" - + "lligenceServiceProtoP\001ZYgoogle.golang.or" - + "g/genproto/googleapis/cloud/videointelli" - + "gence/v1p3beta1;videointelligence\252\002(Goog" - + "le.Cloud.VideoIntelligence.V1P3Beta1\312\002(G" - + "oogle\\Cloud\\VideoIntelligence\\V1p3beta1\352" - + "\002+Google::Cloud::VideoIntelligence::V1p3" - + "beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { - "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor, - new java.lang.String[] { - "Segments", - "LabelDetectionConfig", - "ShotChangeDetectionConfig", - "ExplicitContentDetectionConfig", - "FaceDetectionConfig", - "SpeechTranscriptionConfig", - "TextDetectionConfig", - "PersonDetectionConfig", - "ObjectTrackingConfig", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { - "LabelDetectionMode", - "StationaryCamera", - "Model", - "FrameConfidenceThreshold", - "VideoConfidenceThreshold", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor, - new java.lang.String[] { - "Model", "IncludeBoundingBoxes", "IncludeAttributes", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor, - new java.lang.String[] { - "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor, - new java.lang.String[] { - "LanguageHints", "Model", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor, - new java.lang.String[] { - "StartTimeOffset", "EndTimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor, - new java.lang.String[] { - "EntityId", "Description", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor, - new java.lang.String[] { - "Entity", "CategoryEntities", "Segments", "Frames", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { - "TimeOffset", "PornographyLikelihood", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { - "Frames", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { - "Left", "Top", "Right", "Bottom", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor, - new java.lang.String[] { - "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor, - new java.lang.String[] { - "Segment", "TimestampedObjects", "Attributes", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor, - new java.lang.String[] { - "Name", "Confidence", "Value", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Description", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor, - new java.lang.String[] { - "Celebrities", "FaceTrack", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor = - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor, - new java.lang.String[] { - "Celebrity", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor, - new java.lang.String[] { - "CelebrityTracks", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor, - new java.lang.String[] { - "Name", "Point", "Confidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor, - new java.lang.String[] { - "Tracks", "Thumbnail", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor, - new java.lang.String[] { - "Tracks", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { - "InputUri", - "Segment", - "SegmentLabelAnnotations", - "SegmentPresenceLabelAnnotations", - "ShotLabelAnnotations", - "ShotPresenceLabelAnnotations", - "FrameLabelAnnotations", - "FaceDetectionAnnotations", - "ShotAnnotations", - "ExplicitAnnotation", - "SpeechTranscriptions", - "TextAnnotations", - "ObjectAnnotations", - "LogoRecognitionAnnotations", - "PersonDetectionAnnotations", - "CelebrityRecognitionAnnotations", - "Error", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { - "AnnotationResults", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { - "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { - "AnnotationProgress", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { - "LanguageCode", - "MaxAlternatives", - "FilterProfanity", - "SpeechContexts", - "EnableAutomaticPunctuation", - "AudioTracks", - "EnableSpeakerDiarization", - "DiarizationSpeakerCount", - "EnableWordConfidence", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor, - new java.lang.String[] { - "Phrases", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor, - new java.lang.String[] { - "Alternatives", "LanguageCode", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { - "Transcript", "Confidence", "Words", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor, - new java.lang.String[] { - "Segment", "Confidence", "Frames", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor, - new java.lang.String[] { - "RotatedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor, - new java.lang.String[] { - "Text", "Segments", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { - "NormalizedBoundingBox", "TimeOffset", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { - "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor, - new java.lang.String[] { - "Entity", "Tracks", "Segments", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor, - new java.lang.String[] { - "VideoConfig", "InputContent", "StreamingRequest", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor, - new java.lang.String[] { - "ShotChangeDetectionConfig", - "LabelDetectionConfig", - "ExplicitContentDetectionConfig", - "ObjectTrackingConfig", - "AutomlActionRecognitionConfig", - "AutomlClassificationConfig", - "AutomlObjectTrackingConfig", - "Feature", - "StorageConfig", - "StreamingConfig", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor, - new java.lang.String[] { - "Error", "AnnotationResults", "AnnotationResultsUri", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor, - new java.lang.String[] { - "ShotAnnotations", "LabelAnnotations", "ExplicitAnnotation", "ObjectAnnotations", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor, - new java.lang.String[] { - "StationaryCamera", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor, - new java.lang.String[] { - "ModelName", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor, - new java.lang.String[] { - "ModelName", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor, - new java.lang.String[] { - "ModelName", - }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor, - new java.lang.String[] { - "EnableStorageAnnotationResult", "AnnotationResultStorageDirectory", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 7d1fe7e2aae9b64b4999c048faa52ad648aaeb31 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 01:56:35 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/VideoIntelligenceServiceClient.java | 6 +- .../v1/VideoIntelligenceServiceSettings.java | 7 +- .../videointelligence/v1/gapic_metadata.json | 0 .../videointelligence/v1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../HttpJsonVideoIntelligenceServiceStub.java | 1 - .../v1/stub/VideoIntelligenceServiceStub.java | 0 .../VideoIntelligenceServiceStubSettings.java | 6 +- .../VideoIntelligenceServiceClient.java | 6 +- .../VideoIntelligenceServiceSettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../HttpJsonVideoIntelligenceServiceStub.java | 1 - .../stub/VideoIntelligenceServiceStub.java | 0 .../VideoIntelligenceServiceStubSettings.java | 6 +- .../VideoIntelligenceServiceClient.java | 6 +- .../VideoIntelligenceServiceSettings.java | 7 +- .../v1p1beta1/gapic_metadata.json | 0 .../v1p1beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../HttpJsonVideoIntelligenceServiceStub.java | 1 - .../stub/VideoIntelligenceServiceStub.java | 0 .../VideoIntelligenceServiceStubSettings.java | 6 +- .../VideoIntelligenceServiceClient.java | 6 +- .../VideoIntelligenceServiceSettings.java | 7 +- .../v1p2beta1/gapic_metadata.json | 0 .../v1p2beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../HttpJsonVideoIntelligenceServiceStub.java | 1 - .../stub/VideoIntelligenceServiceStub.java | 0 .../VideoIntelligenceServiceStubSettings.java | 6 +- ...reamingVideoIntelligenceServiceClient.java | 6 +- ...amingVideoIntelligenceServiceSettings.java | 7 +- .../VideoIntelligenceServiceClient.java | 6 +- .../VideoIntelligenceServiceSettings.java | 7 +- .../v1p3beta1/gapic_metadata.json | 0 .../v1p3beta1/package-info.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 ...StreamingVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../GrpcVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 ...StreamingVideoIntelligenceServiceStub.java | 0 ...deoIntelligenceServiceCallableFactory.java | 0 .../HttpJsonVideoIntelligenceServiceStub.java | 1 - ...StreamingVideoIntelligenceServiceStub.java | 0 ...gVideoIntelligenceServiceStubSettings.java | 6 +- .../stub/VideoIntelligenceServiceStub.java | 0 .../VideoIntelligenceServiceStubSettings.java | 6 +- .../v1/MockVideoIntelligenceService.java | 0 .../v1/MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 0 .../VideoIntelligenceServiceClientTest.java | 0 .../v1beta2/MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 0 .../VideoIntelligenceServiceClientTest.java | 0 .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 0 .../VideoIntelligenceServiceClientTest.java | 0 .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 0 .../VideoIntelligenceServiceClientTest.java | 0 ...MockStreamingVideoIntelligenceService.java | 0 ...StreamingVideoIntelligenceServiceImpl.java | 0 .../MockVideoIntelligenceService.java | 0 .../MockVideoIntelligenceServiceImpl.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 2 +- ...ingVideoIntelligenceServiceClientTest.java | 0 ...IntelligenceServiceClientHttpJsonTest.java | 0 .../VideoIntelligenceServiceClientTest.java | 0 .../v1/VideoIntelligenceServiceGrpc.java | 215 +- .../v1beta2/VideoIntelligenceServiceGrpc.java | 218 +- .../VideoIntelligenceServiceGrpc.java | 218 +- .../VideoIntelligenceServiceGrpc.java | 218 +- ...StreamingVideoIntelligenceServiceGrpc.java | 362 ++ .../VideoIntelligenceServiceGrpc.java | 218 +- .../v1/AnnotateVideoProgressOrBuilder.java | 53 - .../v1/AnnotateVideoResponseOrBuilder.java | 53 - .../v1/NormalizedVertexOrBuilder.java | 29 - .../v1/VideoIntelligenceServiceProto.java | 771 --- .../AnnotateVideoProgressOrBuilder.java | 53 - .../AnnotateVideoResponseOrBuilder.java | 53 - .../VideoIntelligenceServiceProto.java | 411 -- .../AnnotateVideoProgressOrBuilder.java | 53 - .../AnnotateVideoResponseOrBuilder.java | 53 - .../VideoIntelligenceServiceProto.java | 417 -- .../AnnotateVideoProgressOrBuilder.java | 53 - .../AnnotateVideoResponseOrBuilder.java | 53 - .../v1p2beta1/NormalizedVertexOrBuilder.java | 29 - .../VideoIntelligenceServiceProto.java | 475 -- ...StreamingVideoIntelligenceServiceGrpc.java | 285 -- .../AnnotateVideoProgressOrBuilder.java | 53 - .../AnnotateVideoResponseOrBuilder.java | 53 - .../v1p3beta1/NormalizedVertexOrBuilder.java | 29 - ...plicitContentDetectionConfigOrBuilder.java | 9 - ...treamingObjectTrackingConfigOrBuilder.java | 9 - ...ingShotChangeDetectionConfigOrBuilder.java | 9 - .../VideoIntelligenceServiceProto.java | 1000 ---- .../v1/AnnotateVideoProgress.java | 511 +- .../v1/AnnotateVideoProgressOrBuilder.java | 89 + .../v1/AnnotateVideoRequest.java | 807 ++-- .../v1/AnnotateVideoRequestOrBuilder.java | 94 +- .../v1/AnnotateVideoResponse.java | 511 +- .../v1/AnnotateVideoResponseOrBuilder.java | 89 + .../v1/DetectedAttribute.java | 430 +- .../v1/DetectedAttributeOrBuilder.java | 39 +- .../v1/DetectedLandmark.java | 450 +- .../v1/DetectedLandmarkOrBuilder.java | 38 +- .../cloud/videointelligence/v1/Entity.java | 459 +- .../videointelligence/v1/EntityOrBuilder.java | 45 +- .../v1/ExplicitContentAnnotation.java | 490 +- .../ExplicitContentAnnotationOrBuilder.java | 45 +- .../v1/ExplicitContentDetectionConfig.java | 350 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1/ExplicitContentFrame.java | 400 +- .../v1/ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1/FaceAnnotation.java | 562 ++- .../v1/FaceAnnotationOrBuilder.java | 58 +- .../v1/FaceDetectionAnnotation.java | 507 +- .../v1/FaceDetectionAnnotationOrBuilder.java | 48 +- .../v1/FaceDetectionConfig.java | 388 +- .../v1/FaceDetectionConfigOrBuilder.java | 33 +- .../cloud/videointelligence/v1/FaceFrame.java | 603 ++- .../v1/FaceFrameOrBuilder.java | 65 +- .../videointelligence/v1/FaceSegment.java | 336 +- .../v1/FaceSegmentOrBuilder.java | 26 +- .../cloud/videointelligence/v1/Feature.java | 133 +- .../videointelligence/v1/LabelAnnotation.java | 832 ++-- .../v1/LabelAnnotationOrBuilder.java | 89 +- .../v1/LabelDetectionConfig.java | 500 +- .../v1/LabelDetectionConfigOrBuilder.java | 42 +- .../v1/LabelDetectionMode.java | 91 +- .../videointelligence/v1/LabelFrame.java | 363 +- .../v1/LabelFrameOrBuilder.java | 29 +- .../videointelligence/v1/LabelSegment.java | 371 +- .../v1/LabelSegmentOrBuilder.java | 29 +- .../videointelligence/v1/Likelihood.java | 107 +- .../v1/LogoRecognitionAnnotation.java | 642 ++- .../LogoRecognitionAnnotationOrBuilder.java | 62 +- .../v1/NormalizedBoundingBox.java | 388 +- .../v1/NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1/NormalizedBoundingPoly.java | 384 +- .../v1/NormalizedBoundingPolyOrBuilder.java | 36 +- .../v1/NormalizedVertex.java | 316 +- .../v1/NormalizedVertexOrBuilder.java | 51 + .../v1/ObjectTrackingAnnotation.java | 822 ++-- .../v1/ObjectTrackingAnnotationOrBuilder.java | 73 +- .../v1/ObjectTrackingConfig.java | 314 +- .../v1/ObjectTrackingConfigOrBuilder.java | 27 +- .../v1/ObjectTrackingFrame.java | 486 +- .../v1/ObjectTrackingFrameOrBuilder.java | 46 +- .../v1/PersonDetectionAnnotation.java | 484 +- .../PersonDetectionAnnotationOrBuilder.java | 45 +- .../v1/PersonDetectionConfig.java | 349 +- .../v1/PersonDetectionConfigOrBuilder.java | 27 +- .../v1/ShotChangeDetectionConfig.java | 335 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../videointelligence/v1/SpeechContext.java | 343 +- .../v1/SpeechContextOrBuilder.java | 36 +- .../v1/SpeechRecognitionAlternative.java | 622 ++- ...SpeechRecognitionAlternativeOrBuilder.java | 68 +- .../v1/SpeechTranscription.java | 603 ++- .../v1/SpeechTranscriptionConfig.java | 881 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 89 +- .../v1/SpeechTranscriptionOrBuilder.java | 66 +- .../videointelligence/v1/TextAnnotation.java | 536 ++- .../v1/TextAnnotationOrBuilder.java | 54 +- .../v1/TextDetectionConfig.java | 425 +- .../v1/TextDetectionConfigOrBuilder.java | 45 +- .../cloud/videointelligence/v1/TextFrame.java | 476 +- .../v1/TextFrameOrBuilder.java | 46 +- .../videointelligence/v1/TextSegment.java | 515 +- .../v1/TextSegmentOrBuilder.java | 47 +- .../v1/TimestampedObject.java | 961 ++-- .../v1/TimestampedObjectOrBuilder.java | 119 +- .../cloud/videointelligence/v1/Track.java | 849 ++-- .../videointelligence/v1/TrackOrBuilder.java | 93 +- .../v1/VideoAnnotationProgress.java | 693 ++- .../v1/VideoAnnotationProgressOrBuilder.java | 60 +- .../v1/VideoAnnotationResults.java | 4005 ++++++++++----- .../v1/VideoAnnotationResultsOrBuilder.java | 513 +- .../videointelligence/v1/VideoContext.java | 1670 +++++-- .../v1/VideoContextOrBuilder.java | 190 +- .../v1/VideoIntelligenceServiceProto.java | 864 ++++ .../videointelligence/v1/VideoSegment.java | 437 +- .../v1/VideoSegmentOrBuilder.java | 34 +- .../cloud/videointelligence/v1/WordInfo.java | 548 ++- .../v1/WordInfoOrBuilder.java | 49 +- .../v1/video_intelligence.proto | 0 .../v1beta2/AnnotateVideoProgress.java | 542 ++- .../AnnotateVideoProgressOrBuilder.java | 91 + .../v1beta2/AnnotateVideoRequest.java | 840 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1beta2/AnnotateVideoResponse.java | 536 ++- .../AnnotateVideoResponseOrBuilder.java | 90 + .../videointelligence/v1beta2/Entity.java | 469 +- .../v1beta2/EntityOrBuilder.java | 45 +- .../v1beta2/ExplicitContentAnnotation.java | 494 +- .../ExplicitContentAnnotationOrBuilder.java | 33 +- .../ExplicitContentDetectionConfig.java | 370 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1beta2/ExplicitContentFrame.java | 427 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../v1beta2/FaceAnnotation.java | 547 ++- .../v1beta2/FaceAnnotationOrBuilder.java | 57 +- .../v1beta2/FaceDetectionConfig.java | 369 +- .../v1beta2/FaceDetectionConfigOrBuilder.java | 30 +- .../videointelligence/v1beta2/FaceFrame.java | 613 ++- .../v1beta2/FaceFrameOrBuilder.java | 68 +- .../v1beta2/FaceSegment.java | 339 +- .../v1beta2/FaceSegmentOrBuilder.java | 26 +- .../videointelligence/v1beta2/Feature.java | 100 +- .../v1beta2/LabelAnnotation.java | 761 ++- .../v1beta2/LabelAnnotationOrBuilder.java | 77 +- .../v1beta2/LabelDetectionConfig.java | 471 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1beta2/LabelDetectionMode.java | 91 +- .../videointelligence/v1beta2/LabelFrame.java | 369 +- .../v1beta2/LabelFrameOrBuilder.java | 29 +- .../v1beta2/LabelSegment.java | 374 +- .../v1beta2/LabelSegmentOrBuilder.java | 29 +- .../videointelligence/v1beta2/Likelihood.java | 107 +- .../v1beta2/NormalizedBoundingBox.java | 409 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1beta2/ShotChangeDetectionConfig.java | 347 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1beta2/VideoAnnotationProgress.java | 561 ++- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1beta2/VideoAnnotationResults.java | 1928 +++++--- .../VideoAnnotationResultsOrBuilder.java | 231 +- .../v1beta2/VideoContext.java | 1085 +++-- .../v1beta2/VideoContextOrBuilder.java | 128 +- .../VideoIntelligenceServiceProto.java | 457 ++ .../v1beta2/VideoSegment.java | 440 +- .../v1beta2/VideoSegmentOrBuilder.java | 34 +- .../v1beta2/video_intelligence.proto | 0 .../v1p1beta1/AnnotateVideoProgress.java | 554 ++- .../AnnotateVideoProgressOrBuilder.java | 91 + .../v1p1beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p1beta1/AnnotateVideoResponse.java | 554 ++- .../AnnotateVideoResponseOrBuilder.java | 91 + .../videointelligence/v1p1beta1/Entity.java | 469 +- .../v1p1beta1/EntityOrBuilder.java | 45 +- .../v1p1beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p1beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1p1beta1/Feature.java | 101 +- .../v1p1beta1/LabelAnnotation.java | 789 ++- .../v1p1beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p1beta1/LabelDetectionConfig.java | 480 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1p1beta1/LabelDetectionMode.java | 92 +- .../v1p1beta1/LabelFrame.java | 369 +- .../v1p1beta1/LabelFrameOrBuilder.java | 29 +- .../v1p1beta1/LabelSegment.java | 377 +- .../v1p1beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p1beta1/Likelihood.java | 108 +- .../v1p1beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p1beta1/SpeechContext.java | 346 +- .../v1p1beta1/SpeechContextOrBuilder.java | 36 +- .../SpeechRecognitionAlternative.java | 542 ++- ...SpeechRecognitionAlternativeOrBuilder.java | 48 +- .../v1p1beta1/SpeechTranscription.java | 557 ++- .../v1p1beta1/SpeechTranscriptionConfig.java | 829 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 79 +- .../SpeechTranscriptionOrBuilder.java | 61 +- .../v1p1beta1/VideoAnnotationProgress.java | 561 ++- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1p1beta1/VideoAnnotationResults.java | 1976 +++++--- .../VideoAnnotationResultsOrBuilder.java | 246 +- .../v1p1beta1/VideoContext.java | 1134 +++-- .../v1p1beta1/VideoContextOrBuilder.java | 134 +- .../VideoIntelligenceServiceProto.java | 468 ++ .../v1p1beta1/VideoSegment.java | 440 +- .../v1p1beta1/VideoSegmentOrBuilder.java | 34 +- .../videointelligence/v1p1beta1/WordInfo.java | 492 +- .../v1p1beta1/WordInfoOrBuilder.java | 43 +- .../v1p1beta1/video_intelligence.proto | 0 .../v1p2beta1/AnnotateVideoProgress.java | 554 ++- .../AnnotateVideoProgressOrBuilder.java | 91 + .../v1p2beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p2beta1/AnnotateVideoResponse.java | 554 ++- .../AnnotateVideoResponseOrBuilder.java | 91 + .../videointelligence/v1p2beta1/Entity.java | 469 +- .../v1p2beta1/EntityOrBuilder.java | 45 +- .../v1p2beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p2beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../videointelligence/v1p2beta1/Feature.java | 108 +- .../v1p2beta1/LabelAnnotation.java | 789 ++- .../v1p2beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p2beta1/LabelDetectionConfig.java | 480 +- .../LabelDetectionConfigOrBuilder.java | 42 +- .../v1p2beta1/LabelDetectionMode.java | 92 +- .../v1p2beta1/LabelFrame.java | 369 +- .../v1p2beta1/LabelFrameOrBuilder.java | 29 +- .../v1p2beta1/LabelSegment.java | 377 +- .../v1p2beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p2beta1/Likelihood.java | 108 +- .../v1p2beta1/NormalizedBoundingBox.java | 421 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1p2beta1/NormalizedBoundingPoly.java | 493 +- .../NormalizedBoundingPolyOrBuilder.java | 33 +- .../v1p2beta1/NormalizedVertex.java | 324 +- .../v1p2beta1/NormalizedVertexOrBuilder.java | 51 + .../v1p2beta1/ObjectTrackingAnnotation.java | 850 ++-- .../ObjectTrackingAnnotationOrBuilder.java | 62 +- .../v1p2beta1/ObjectTrackingFrame.java | 534 +- .../ObjectTrackingFrameOrBuilder.java | 49 +- .../v1p2beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p2beta1/TextAnnotation.java | 467 +- .../v1p2beta1/TextAnnotationOrBuilder.java | 45 +- .../v1p2beta1/TextDetectionConfig.java | 367 +- .../TextDetectionConfigOrBuilder.java | 36 +- .../v1p2beta1/TextFrame.java | 509 +- .../v1p2beta1/TextFrameOrBuilder.java | 49 +- .../v1p2beta1/TextSegment.java | 513 +- .../v1p2beta1/TextSegmentOrBuilder.java | 47 +- .../v1p2beta1/VideoAnnotationProgress.java | 561 ++- .../VideoAnnotationProgressOrBuilder.java | 46 +- .../v1p2beta1/VideoAnnotationResults.java | 2252 ++++++--- .../VideoAnnotationResultsOrBuilder.java | 275 +- .../v1p2beta1/VideoContext.java | 1112 +++-- .../v1p2beta1/VideoContextOrBuilder.java | 128 +- .../VideoIntelligenceServiceProto.java | 526 ++ .../v1p2beta1/VideoSegment.java | 440 +- .../v1p2beta1/VideoSegmentOrBuilder.java | 34 +- .../v1p2beta1/video_intelligence.proto | 0 .../v1p3beta1/AnnotateVideoProgress.java | 554 ++- .../AnnotateVideoProgressOrBuilder.java | 91 + .../v1p3beta1/AnnotateVideoRequest.java | 851 ++-- .../AnnotateVideoRequestOrBuilder.java | 94 +- .../v1p3beta1/AnnotateVideoResponse.java | 554 ++- .../AnnotateVideoResponseOrBuilder.java | 91 + .../v1p3beta1/Celebrity.java | 472 +- .../v1p3beta1/CelebrityOrBuilder.java | 45 +- .../CelebrityRecognitionAnnotation.java | 583 ++- ...lebrityRecognitionAnnotationOrBuilder.java | 47 +- .../v1p3beta1/CelebrityTrack.java | 1128 +++-- .../v1p3beta1/CelebrityTrackOrBuilder.java | 70 +- .../v1p3beta1/DetectedAttribute.java | 448 +- .../v1p3beta1/DetectedAttributeOrBuilder.java | 39 +- .../v1p3beta1/DetectedLandmark.java | 465 +- .../v1p3beta1/DetectedLandmarkOrBuilder.java | 38 +- .../videointelligence/v1p3beta1/Entity.java | 469 +- .../v1p3beta1/EntityOrBuilder.java | 45 +- .../v1p3beta1/ExplicitContentAnnotation.java | 522 +- .../ExplicitContentAnnotationOrBuilder.java | 49 +- .../ExplicitContentDetectionConfig.java | 413 +- ...plicitContentDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/ExplicitContentFrame.java | 435 +- .../ExplicitContentFrameOrBuilder.java | 32 +- .../v1p3beta1/FaceDetectionAnnotation.java | 453 +- .../FaceDetectionAnnotationOrBuilder.java | 39 +- .../v1p3beta1/FaceDetectionConfig.java | 409 +- .../FaceDetectionConfigOrBuilder.java | 33 +- .../videointelligence/v1p3beta1/Feature.java | 141 +- .../v1p3beta1/LabelAnnotation.java | 789 ++- .../v1p3beta1/LabelAnnotationOrBuilder.java | 74 +- .../v1p3beta1/LabelDetectionConfig.java | 554 ++- .../LabelDetectionConfigOrBuilder.java | 48 +- .../v1p3beta1/LabelDetectionMode.java | 92 +- .../v1p3beta1/LabelFrame.java | 369 +- .../v1p3beta1/LabelFrameOrBuilder.java | 29 +- .../v1p3beta1/LabelSegment.java | 377 +- .../v1p3beta1/LabelSegmentOrBuilder.java | 29 +- .../v1p3beta1/Likelihood.java | 108 +- .../v1p3beta1/LogoRecognitionAnnotation.java | 676 ++- .../LogoRecognitionAnnotationOrBuilder.java | 59 +- .../v1p3beta1/NormalizedBoundingBox.java | 421 +- .../NormalizedBoundingBoxOrBuilder.java | 30 +- .../v1p3beta1/NormalizedBoundingPoly.java | 493 +- .../NormalizedBoundingPolyOrBuilder.java | 33 +- .../v1p3beta1/NormalizedVertex.java | 324 +- .../v1p3beta1/NormalizedVertexOrBuilder.java | 51 + .../v1p3beta1/ObjectTrackingAnnotation.java | 850 ++-- .../ObjectTrackingAnnotationOrBuilder.java | 62 +- .../v1p3beta1/ObjectTrackingConfig.java | 343 +- .../ObjectTrackingConfigOrBuilder.java | 27 +- .../v1p3beta1/ObjectTrackingFrame.java | 534 +- .../ObjectTrackingFrameOrBuilder.java | 49 +- .../v1p3beta1/PersonDetectionAnnotation.java | 420 +- .../PersonDetectionAnnotationOrBuilder.java | 36 +- .../v1p3beta1/PersonDetectionConfig.java | 382 +- .../PersonDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/ShotChangeDetectionConfig.java | 350 +- .../ShotChangeDetectionConfigOrBuilder.java | 27 +- .../v1p3beta1/SpeechContext.java | 346 +- .../v1p3beta1/SpeechContextOrBuilder.java | 36 +- .../SpeechRecognitionAlternative.java | 634 ++- ...SpeechRecognitionAlternativeOrBuilder.java | 68 +- .../v1p3beta1/SpeechTranscription.java | 636 ++- .../v1p3beta1/SpeechTranscriptionConfig.java | 937 ++-- .../SpeechTranscriptionConfigOrBuilder.java | 88 +- .../SpeechTranscriptionOrBuilder.java | 70 +- .../StreamingAnnotateVideoRequest.java | 587 ++- ...treamingAnnotateVideoRequestOrBuilder.java | 39 +- .../StreamingAnnotateVideoResponse.java | 683 ++- ...reamingAnnotateVideoResponseOrBuilder.java | 61 +- ...treamingAutomlActionRecognitionConfig.java | 431 +- ...utomlActionRecognitionConfigOrBuilder.java | 27 +- .../StreamingAutomlClassificationConfig.java | 429 +- ...ngAutomlClassificationConfigOrBuilder.java | 27 +- .../StreamingAutomlObjectTrackingConfig.java | 429 +- ...ngAutomlObjectTrackingConfigOrBuilder.java | 27 +- ...reamingExplicitContentDetectionConfig.java | 359 +- ...plicitContentDetectionConfigOrBuilder.java | 24 + .../v1p3beta1/StreamingFeature.java | 122 +- .../StreamingLabelDetectionConfig.java | 371 +- ...treamingLabelDetectionConfigOrBuilder.java | 21 +- .../StreamingObjectTrackingConfig.java | 334 +- ...treamingObjectTrackingConfigOrBuilder.java | 24 + .../StreamingShotChangeDetectionConfig.java | 344 +- ...ingShotChangeDetectionConfigOrBuilder.java | 24 + .../v1p3beta1/StreamingStorageConfig.java | 398 +- .../StreamingStorageConfigOrBuilder.java | 30 +- .../StreamingVideoAnnotationResults.java | 1323 +++-- ...eamingVideoAnnotationResultsOrBuilder.java | 145 +- .../v1p3beta1/StreamingVideoConfig.java | 2228 ++++++--- .../StreamingVideoConfigOrBuilder.java | 229 +- .../v1p3beta1/TextAnnotation.java | 467 +- .../v1p3beta1/TextAnnotationOrBuilder.java | 45 +- .../v1p3beta1/TextDetectionConfig.java | 446 +- .../TextDetectionConfigOrBuilder.java | 45 +- .../v1p3beta1/TextFrame.java | 509 +- .../v1p3beta1/TextFrameOrBuilder.java | 49 +- .../v1p3beta1/TextSegment.java | 513 +- .../v1p3beta1/TextSegmentOrBuilder.java | 47 +- .../v1p3beta1/TimestampedObject.java | 1073 +++-- .../v1p3beta1/TimestampedObjectOrBuilder.java | 118 +- .../videointelligence/v1p3beta1/Track.java | 921 ++-- .../v1p3beta1/TrackOrBuilder.java | 101 +- .../v1p3beta1/VideoAnnotationProgress.java | 735 ++- .../VideoAnnotationProgressOrBuilder.java | 60 +- .../v1p3beta1/VideoAnnotationResults.java | 4276 ++++++++++++----- .../VideoAnnotationResultsOrBuilder.java | 559 ++- .../v1p3beta1/VideoContext.java | 1820 ++++--- .../v1p3beta1/VideoContextOrBuilder.java | 220 +- .../VideoIntelligenceServiceProto.java | 1111 +++++ .../v1p3beta1/VideoSegment.java | 440 +- .../v1p3beta1/VideoSegmentOrBuilder.java | 34 +- .../videointelligence/v1p3beta1/WordInfo.java | 561 ++- .../v1p3beta1/WordInfoOrBuilder.java | 49 +- .../v1p3beta1/video_intelligence.proto | 0 .../annotatevideo/SyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideoLRO.java | 0 .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncAnnotateVideoStringListfeature.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 0 .../annotatevideo/SyncAnnotateVideo.java | 0 .../annotatevideo/SyncAnnotateVideo.java | 3 +- .../annotatevideo/AsyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideoLRO.java | 3 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncAnnotateVideoStringListfeature.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 3 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../annotatevideo/SyncAnnotateVideo.java | 6 +- .../annotatevideo/AsyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncAnnotateVideoStringListfeature.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../annotatevideo/SyncAnnotateVideo.java | 6 +- .../annotatevideo/AsyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncAnnotateVideoStringListfeature.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 6 +- .../AsyncStreamingAnnotateVideo.java | 6 +- .../SyncStreamingAnnotateVideo.java | 6 +- .../SyncStreamingAnnotateVideo.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 6 +- .../annotatevideo/AsyncAnnotateVideo.java | 0 .../annotatevideo/AsyncAnnotateVideoLRO.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 .../SyncAnnotateVideoStringListfeature.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 6 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 6 +- .../annotatevideo/SyncAnnotateVideo.java | 0 517 files changed, 82082 insertions(+), 43542 deletions(-) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java (98%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java (98%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java (98%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java (99%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java (98%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java (98%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java (99%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java (98%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java (96%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java (98%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java (96%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java (99%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java (97%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java (97%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p3beta1/google-cloud-video-intelligence => google-cloud-video-intelligence}/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1 => grpc-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java (56%) rename {owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2 => grpc-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java (56%) rename {owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1 => grpc-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java (56%) rename {owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1 => grpc-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java (56%) create mode 100644 grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java rename {owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1 => grpc-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java (56%) delete mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java delete mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java delete mode 100644 owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java (65%) create mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java (65%) create mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Entity.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Feature.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java (68%) create mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/Track.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java (70%) create mode 100644 proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1 => proto-google-cloud-video-intelligence-v1}/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java (62%) create mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java (78%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java (63%) create mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java (78%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java (56%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java (53%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java (66%) create mode 100644 proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2 => proto-google-cloud-video-intelligence-v1beta2}/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto (100%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java (73%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java (78%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java (71%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java (64%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java (65%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java (58%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java (67%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java (71%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java (68%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java (77%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java (68%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java (69%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java (68%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java (70%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java (66%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java (69%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java (65%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java (67%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java (65%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java (76%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java (78%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java (72%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java (75%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java (64%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java (70%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java (74%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java (57%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java (70%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java (74%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java (64%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java (60%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java (63%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java (60%) create mode 100644 proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java (71%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java (74%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java (76%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java (81%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1 => proto-google-cloud-video-intelligence-v1p1beta1}/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto (100%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java (73%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java (77%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java (64%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java (65%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java (58%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java (67%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java (77%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java (70%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java (66%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java (65%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java (67%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java (66%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java (56%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java (67%) create mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java (82%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java (63%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java (59%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java (65%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java (73%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java (72%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java (65%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java (57%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java (74%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java (76%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java (73%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java (65%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java (64%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java (63%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java (64%) create mode 100644 proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java (74%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1 => proto-google-cloud-video-intelligence-v1p2beta1}/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto (100%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java (73%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java (77%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java (63%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java (63%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java (52%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java (70%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java (72%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java (58%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java (58%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java (67%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java (68%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java (70%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java (72%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java (77%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java (72%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java (77%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java (68%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java (70%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java (69%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java (67%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java (75%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java (83%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java (56%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java (68%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java (68%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java (67%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java (73%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java (84%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java (53%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java (63%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java (59%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java (69%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java (69%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java (76%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java (78%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java (67%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java (66%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java (72%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java (78%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java (63%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java (76%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java (62%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java (56%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java (57%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java (57%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java (53%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java (56%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java (53%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java (50%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java (58%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java (50%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java (53%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java (52%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java (76%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java (60%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java (58%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java (51%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java (51%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java (73%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java (68%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java (72%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java (74%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java (65%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java (57%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java (74%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java (76%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java (61%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java (54%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java (63%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java (56%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java (81%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java (64%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java (62%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java (60%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java (61%) create mode 100644 proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java (71%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java (74%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java (77%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java (84%) rename {owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1 => proto-google-cloud-video-intelligence-v1p3beta1}/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java (88%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (88%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (88%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java (94%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java (95%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java (87%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (88%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (87%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java (94%) rename {owl-bot-staging/v1beta2/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java (89%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java (91%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java (87%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (88%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (87%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java (88%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java (89%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java (91%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java (87%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (88%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (87%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java (88%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (87%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (87%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java (87%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java (88%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java (88%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java (88%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java (89%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java (91%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java (100%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java (87%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java (88%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java (87%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java (88%) rename {owl-bot-staging/v1p3beta1/samples => samples}/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java index fcc231af0..81d6e2be3 100644 --- a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java @@ -56,13 +56,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. *
* diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java index 4270dfbff..58f79e67e 100644 --- a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -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.videointelligence.v1.stub.VideoIntelligenceServiceStubSettings; @@ -42,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java index d624e7a44..fd46d7322 100644 --- a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java index ca20187dc..ea297375e 100644 --- a/owl-bot-staging/v1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java @@ -58,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java index 15eaab77b..1210b11b6 100644 --- a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClient.java @@ -57,13 +57,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. *
* diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java index f502caf25..3e7eac72b 100644 --- a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -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.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings; @@ -42,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/package-info.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java index 6e953e012..e3e3fb67a 100644 --- a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java index 186cedaf6..e1df10967 100644 --- a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/VideoIntelligenceServiceStubSettings.java @@ -58,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java similarity index 98% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java index d522cac3d..501a5f6f0 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClient.java @@ -57,13 +57,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. *
* diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java index 6fd8bfded..97b237b10 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -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.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings; @@ -42,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/package-info.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java similarity index 99% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java index 5b1f24c7e..aa9e9d868 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java index 124f15982..8ccb5e583 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -58,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java similarity index 98% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java index 82dba859c..10e3b3e14 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClient.java @@ -57,13 +57,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. *
* diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java index 440d5b212..765f744b9 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -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.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings; @@ -42,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/package-info.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java similarity index 99% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java index e1f0ac371..c690ebd11 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java index ec56d05e2..0eea0109a 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -58,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java similarity index 96% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java index 225a364ce..58525f685 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java @@ -55,13 +55,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. *
* diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java index 33ca03cbb..036b6091b 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.StreamingCallSettings; -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.videointelligence.v1p3beta1.stub.StreamingVideoIntelligenceServiceStubSettings; @@ -41,10 +40,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java similarity index 98% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java index 8207692ea..49cec9781 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java @@ -57,13 +57,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. *
* diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java similarity index 96% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java index 70ffcb49f..44b5e9440 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -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.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; @@ -42,10 +41,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcStreamingVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/GrpcVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceCallableFactory.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java similarity index 99% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java index 709fa6d17..6bf6af456 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonVideoIntelligenceServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java similarity index 97% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java index b4dc2875b..72f3a93b4 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java @@ -53,10 +53,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStub.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java rename to google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java index ced1f3647..82dfac4a6 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java +++ b/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/VideoIntelligenceServiceStubSettings.java @@ -58,10 +58,10 @@ *

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

    - *
  • The default service address (videointelligence.googleapis.com) and default port (443) are + *
  • The default service address (videointelligence.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. + *
  • 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 diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceService.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceService.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceService.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceService.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceService.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockStreamingVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceService.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/MockVideoIntelligenceServiceImpl.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java similarity index 97% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java index a370b9311..693271857 100644 --- a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java +++ b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java @@ -65,6 +65,6 @@ public void tearDown() throws Exception { @Test public void streamingAnnotateVideoUnsupportedMethodTest() throws Exception { // The streamingAnnotateVideo() method is not supported in REST transport. - //This empty test is generated for technical reasons. + // This empty test is generated for technical reasons. } } diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java b/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p3beta1/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java rename to google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java rename to grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java index 93df2a63f..ad470171b 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java +++ b/grpc-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.videointelligence.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * Service that implements the Video Intelligence API.
  * 
@@ -15,92 +32,110 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1.VideoIntelligenceService"; + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { - io.grpc.MethodDescriptor getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) + == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = + getAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -108,32 +143,36 @@ public static abstract class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1.AnnotateVideoRequest, - com.google.longrunning.Operation>( - this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1.AnnotateVideoRequest, + com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -144,6 +183,8 @@ protected VideoIntelligenceServiceStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -151,19 +192,25 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -176,6 +223,8 @@ protected VideoIntelligenceServiceBlockingStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -183,18 +232,22 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -207,6 +260,8 @@ protected VideoIntelligenceServiceFutureStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -214,8 +269,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture annotateVideo( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture + annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -223,11 +278,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -241,7 +296,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo( + (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -260,8 +316,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -303,10 +360,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java similarity index 56% rename from owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java rename to grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java index 8366729e7..d42eef814 100644 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java +++ b/grpc-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.videointelligence.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -15,92 +32,110 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"; + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { - io.grpc.MethodDescriptor getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) + == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = + getAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -108,32 +143,36 @@ public static abstract class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, - com.google.longrunning.Operation>( - this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest, + com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -144,6 +183,8 @@ protected VideoIntelligenceServiceStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -151,19 +192,25 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -176,6 +223,8 @@ protected VideoIntelligenceServiceBlockingStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -183,18 +232,22 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -207,6 +260,8 @@ protected VideoIntelligenceServiceFutureStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -214,8 +269,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture annotateVideo( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture + annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -223,11 +278,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -241,7 +296,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) request, + serviceImpl.annotateVideo( + (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -260,13 +316,15 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor(); + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .getDescriptor(); } @java.lang.Override @@ -303,10 +361,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java rename to grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java index 2426af58e..7ac8c9581 100644 --- a/owl-bot-staging/v1p1beta1/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java +++ b/grpc-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.videointelligence.v1p1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -15,92 +32,110 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { - io.grpc.MethodDescriptor getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) + == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = + getAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -108,32 +143,36 @@ public static abstract class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>( - this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -144,6 +183,8 @@ protected VideoIntelligenceServiceStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -151,19 +192,25 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -176,6 +223,8 @@ protected VideoIntelligenceServiceBlockingStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -183,18 +232,22 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -207,6 +260,8 @@ protected VideoIntelligenceServiceFutureStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -214,8 +269,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture annotateVideo( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture + annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -223,11 +278,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -241,7 +296,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo( + (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -260,13 +316,15 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor(); + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .getDescriptor(); } @java.lang.Override @@ -303,10 +361,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java rename to grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java index 6131496e5..11176386e 100644 --- a/owl-bot-staging/v1p2beta1/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java +++ b/grpc-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.videointelligence.v1p2beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Service that implements Google Cloud Video Intelligence API.
  * 
@@ -15,92 +32,110 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { - io.grpc.MethodDescriptor getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) + == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = + getAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -108,32 +143,36 @@ public static abstract class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>( - this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -144,6 +183,8 @@ protected VideoIntelligenceServiceStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -151,19 +192,25 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -176,6 +223,8 @@ protected VideoIntelligenceServiceBlockingStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -183,18 +232,22 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** + * + * *
    * Service that implements Google Cloud Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -207,6 +260,8 @@ protected VideoIntelligenceServiceFutureStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -214,8 +269,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture annotateVideo( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture + annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -223,11 +278,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -241,7 +296,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo( + (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -260,13 +316,15 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor(); + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .getDescriptor(); } @java.lang.Override @@ -303,10 +361,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java new file mode 100644 index 000000000..a7aa03783 --- /dev/null +++ b/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java @@ -0,0 +1,362 @@ +/* + * 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.videointelligence.v1p3beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service that implements streaming Video Intelligence API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StreamingVideoIntelligenceServiceGrpc { + + private StreamingVideoIntelligenceServiceGrpc() {} + + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> + getStreamingAnnotateVideoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StreamingAnnotateVideo", + requestType = + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, + responseType = + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> + getStreamingAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> + getStreamingAnnotateVideoMethod; + if ((getStreamingAnnotateVideoMethod = + StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) + == null) { + synchronized (StreamingVideoIntelligenceServiceGrpc.class) { + if ((getStreamingAnnotateVideoMethod = + StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) + == null) { + StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod = + getStreamingAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "StreamingAnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAnnotateVideoRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAnnotateVideoResponse.getDefaultInstance())) + .setSchemaDescriptor( + new StreamingVideoIntelligenceServiceMethodDescriptorSupplier( + "StreamingAnnotateVideo")) + .build(); + } + } + } + return getStreamingAnnotateVideoMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static StreamingVideoIntelligenceServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static StreamingVideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public StreamingVideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; + return StreamingVideoIntelligenceServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public abstract static class StreamingVideoIntelligenceServiceImplBase + implements io.grpc.BindableService { + + /** + * + * + *
+     * Performs video annotation with bidirectional streaming: emitting results
+     * while sending video/audio bytes.
+     * This method is only available via the gRPC API (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest> + streamingAnnotateVideo( + io.grpc.stub.StreamObserver< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> + responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getStreamingAnnotateVideoMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getStreamingAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>( + this, METHODID_STREAMING_ANNOTATE_VIDEO))) + .build(); + } + } + + /** + * + * + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private StreamingVideoIntelligenceServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Performs video annotation with bidirectional streaming: emitting results
+     * while sending video/audio bytes.
+     * This method is only available via the gRPC API (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest> + streamingAnnotateVideo( + io.grpc.stub.StreamObserver< + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> + responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getStreamingAnnotateVideoMethod(), getCallOptions()), + responseObserver); + } + } + + /** + * + * + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private StreamingVideoIntelligenceServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); + } + } + + /** + * + * + *
+   * Service that implements streaming Video Intelligence API.
+   * 
+ */ + public static final class StreamingVideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private StreamingVideoIntelligenceServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected StreamingVideoIntelligenceServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); + } + } + + private static final int METHODID_STREAMING_ANNOTATE_VIDEO = 0; + + 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 StreamingVideoIntelligenceServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(StreamingVideoIntelligenceServiceImplBase 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) { + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_STREAMING_ANNOTATE_VIDEO: + return (io.grpc.stub.StreamObserver) + serviceImpl.streamingAnnotateVideo( + (io.grpc.stub.StreamObserver< + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAnnotateVideoResponse>) + responseObserver); + default: + throw new AssertionError(); + } + } + } + + private abstract static class StreamingVideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + StreamingVideoIntelligenceServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("StreamingVideoIntelligenceService"); + } + } + + private static final class StreamingVideoIntelligenceServiceFileDescriptorSupplier + extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier { + StreamingVideoIntelligenceServiceFileDescriptorSupplier() {} + } + + private static final class StreamingVideoIntelligenceServiceMethodDescriptorSupplier + extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + StreamingVideoIntelligenceServiceMethodDescriptorSupplier(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 (StreamingVideoIntelligenceServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor( + new StreamingVideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getStreamingAnnotateVideoMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java b/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java similarity index 56% rename from owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java rename to grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java index d872d630c..b2d2557ff 100644 --- a/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java +++ b/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.videointelligence.v1p3beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Service that implements the Video Intelligence API.
  * 
@@ -15,92 +32,110 @@ public final class VideoIntelligenceServiceGrpc { private VideoIntelligenceServiceGrpc() {} - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService"; + public static final String SERVICE_NAME = + "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnnotateVideoMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo", requestType = com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnnotateVideoMethod() { - io.grpc.MethodDescriptor getAnnotateVideoMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, + com.google.longrunning.Operation> + getAnnotateVideoMethod; if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { synchronized (VideoIntelligenceServiceGrpc.class) { - if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) == null) { - VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = getAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) - .build(); + if ((getAnnotateVideoMethod = VideoIntelligenceServiceGrpc.getAnnotateVideoMethod) + == null) { + VideoIntelligenceServiceGrpc.getAnnotateVideoMethod = + getAnnotateVideoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new VideoIntelligenceServiceMethodDescriptorSupplier("AnnotateVideo")) + .build(); } } } return getAnnotateVideoMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static VideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceStub(channel, callOptions); + } + }; return VideoIntelligenceServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static VideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static VideoIntelligenceServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceBlockingStub(channel, callOptions); + } + }; return VideoIntelligenceServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static VideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static VideoIntelligenceServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public VideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new VideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public VideoIntelligenceServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new VideoIntelligenceServiceFutureStub(channel, callOptions); + } + }; return VideoIntelligenceServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static abstract class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { + public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -108,32 +143,36 @@ public static abstract class VideoIntelligenceServiceImplBase implements io.grpc
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnnotateVideoMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, - com.google.longrunning.Operation>( - this, METHODID_ANNOTATE_VIDEO))) + getAnnotateVideoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest, + com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO))) .build(); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private VideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class VideoIntelligenceServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private VideoIntelligenceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -144,6 +183,8 @@ protected VideoIntelligenceServiceStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -151,19 +192,25 @@ protected VideoIntelligenceServiceStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public void annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, + public void annotateVideo( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class VideoIntelligenceServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private VideoIntelligenceServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -176,6 +223,8 @@ protected VideoIntelligenceServiceBlockingStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -183,18 +232,22 @@ protected VideoIntelligenceServiceBlockingStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.longrunning.Operation annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { + public com.google.longrunning.Operation annotateVideo( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnnotateVideoMethod(), getCallOptions(), request); } } /** + * + * *
    * Service that implements the Video Intelligence API.
    * 
*/ - public static final class VideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class VideoIntelligenceServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private VideoIntelligenceServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -207,6 +260,8 @@ protected VideoIntelligenceServiceFutureStub build( } /** + * + * *
      * Performs asynchronous video annotation. Progress and results can be
      * retrieved through the `google.longrunning.Operations` interface.
@@ -214,8 +269,8 @@ protected VideoIntelligenceServiceFutureStub build(
      * `Operation.response` contains `AnnotateVideoResponse` (results).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture annotateVideo( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { + public com.google.common.util.concurrent.ListenableFuture + annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request); } @@ -223,11 +278,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 VideoIntelligenceServiceImplBase serviceImpl; private final int methodId; @@ -241,7 +296,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_ANNOTATE_VIDEO: - serviceImpl.annotateVideo((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) request, + serviceImpl.annotateVideo( + (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -260,13 +316,15 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class VideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class VideoIntelligenceServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { VideoIntelligenceServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor(); + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor(); } @java.lang.Override @@ -303,10 +361,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (VideoIntelligenceServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getAnnotateVideoMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier()) + .addMethod(getAnnotateVideoMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 714958960..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface AnnotateVideoProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - */ - int getAnnotationProgressCount(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 7fb4e122b..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface AnnotateVideoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - */ - int getAnnotationResultsCount(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java deleted file mode 100644 index 60eb9cf84..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public interface NormalizedVertexOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * @return The x. - */ - float getX(); - - /** - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * @return The y. - */ - float getY(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java deleted file mode 100644 index f7edf5e3a..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,771 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_Track_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n:google/cloud/videointelligence/v1/vide" + - "o_intelligence.proto\022!google.cloud.video" + - "intelligence.v1\032\034google/api/annotations." + - "proto\032\027google/api/client.proto\032\037google/a" + - "pi/field_behavior.proto\032#google/longrunn" + - "ing/operations.proto\032\036google/protobuf/du" + - "ration.proto\032\037google/protobuf/timestamp." + - "proto\032\027google/rpc/status.proto\"\376\001\n\024Annot" + - "ateVideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rin" + - "put_content\030\006 \001(\014\022A\n\010features\030\002 \003(\0162*.go" + - "ogle.cloud.videointelligence.v1.FeatureB" + - "\003\340A\002\022F\n\rvideo_context\030\003 \001(\0132/.google.clo" + - "ud.videointelligence.v1.VideoContext\022\027\n\n" + - "output_uri\030\004 \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001" + - "(\tB\003\340A\001\"\301\006\n\014VideoContext\022A\n\010segments\030\001 \003" + - "(\0132/.google.cloud.videointelligence.v1.V" + - "ideoSegment\022W\n\026label_detection_config\030\002 " + - "\001(\01327.google.cloud.videointelligence.v1." + - "LabelDetectionConfig\022b\n\034shot_change_dete" + - "ction_config\030\003 \001(\0132<.google.cloud.videoi" + - "ntelligence.v1.ShotChangeDetectionConfig" + - "\022l\n!explicit_content_detection_config\030\004 " + - "\001(\0132A.google.cloud.videointelligence.v1." + - "ExplicitContentDetectionConfig\022U\n\025face_d" + - "etection_config\030\005 \001(\01326.google.cloud.vid" + - "eointelligence.v1.FaceDetectionConfig\022a\n" + - "\033speech_transcription_config\030\006 \001(\0132<.goo" + - "gle.cloud.videointelligence.v1.SpeechTra" + - "nscriptionConfig\022U\n\025text_detection_confi" + - "g\030\010 \001(\01326.google.cloud.videointelligence" + - ".v1.TextDetectionConfig\022Y\n\027person_detect" + - "ion_config\030\013 \001(\01328.google.cloud.videoint" + - "elligence.v1.PersonDetectionConfig\022W\n\026ob" + - "ject_tracking_config\030\r \001(\01327.google.clou" + - "d.videointelligence.v1.ObjectTrackingCon" + - "fig\"\335\001\n\024LabelDetectionConfig\022S\n\024label_de" + - "tection_mode\030\001 \001(\01625.google.cloud.videoi" + - "ntelligence.v1.LabelDetectionMode\022\031\n\021sta" + - "tionary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\022\"\n\032f" + - "rame_confidence_threshold\030\004 \001(\002\022\"\n\032video" + - "_confidence_threshold\030\005 \001(\002\"*\n\031ShotChang" + - "eDetectionConfig\022\r\n\005model\030\001 \001(\t\"%\n\024Objec" + - "tTrackingConfig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDe" + - "tectionConfig\022\r\n\005model\030\001 \001(\t\022\036\n\026include_" + - "bounding_boxes\030\002 \001(\010\022\032\n\022include_attribut" + - "es\030\005 \001(\010\"s\n\025PersonDetectionConfig\022\036\n\026inc" + - "lude_bounding_boxes\030\001 \001(\010\022\036\n\026include_pos" + - "e_landmarks\030\002 \001(\010\022\032\n\022include_attributes\030" + - "\003 \001(\010\"/\n\036ExplicitContentDetectionConfig\022" + - "\r\n\005model\030\001 \001(\t\"<\n\023TextDetectionConfig\022\026\n" + - "\016language_hints\030\001 \003(\t\022\r\n\005model\030\002 \001(\t\"x\n\014" + - "VideoSegment\0224\n\021start_time_offset\030\001 \001(\0132" + - "\031.google.protobuf.Duration\0222\n\017end_time_o" + - "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"d" + - "\n\014LabelSegment\022@\n\007segment\030\001 \001(\0132/.google" + - ".cloud.videointelligence.v1.VideoSegment" + - "\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelFrame\022.\n\013ti" + - "me_offset\030\001 \001(\0132\031.google.protobuf.Durati" + - "on\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\tenti" + - "ty_id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\025\n\rlang" + - "uage_code\030\003 \001(\t\"\245\002\n\017LabelAnnotation\0229\n\006e" + - "ntity\030\001 \001(\0132).google.cloud.videointellig" + - "ence.v1.Entity\022D\n\021category_entities\030\002 \003(" + - "\0132).google.cloud.videointelligence.v1.En" + - "tity\022A\n\010segments\030\003 \003(\0132/.google.cloud.vi" + - "deointelligence.v1.LabelSegment\022=\n\006frame" + - "s\030\004 \003(\0132-.google.cloud.videointelligence" + - ".v1.LabelFrame\022\017\n\007version\030\005 \001(\t\"\225\001\n\024Expl" + - "icitContentFrame\022.\n\013time_offset\030\001 \001(\0132\031." + - "google.protobuf.Duration\022M\n\026pornography_" + - "likelihood\030\002 \001(\0162-.google.cloud.videoint" + - "elligence.v1.Likelihood\"u\n\031ExplicitConte" + - "ntAnnotation\022G\n\006frames\030\001 \003(\01327.google.cl" + - "oud.videointelligence.v1.ExplicitContent" + - "Frame\022\017\n\007version\030\002 \001(\t\"Q\n\025NormalizedBoun" + - "dingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005ri" + - "ght\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"w\n\027FaceDetecti" + - "onAnnotation\0228\n\006tracks\030\003 \003(\0132(.google.cl" + - "oud.videointelligence.v1.Track\022\021\n\tthumbn" + - "ail\030\004 \001(\014\022\017\n\007version\030\005 \001(\t\"f\n\031PersonDete" + - "ctionAnnotation\0228\n\006tracks\030\001 \003(\0132(.google" + - ".cloud.videointelligence.v1.Track\022\017\n\007ver" + - "sion\030\002 \001(\t\"O\n\013FaceSegment\022@\n\007segment\030\001 \001" + - "(\0132/.google.cloud.videointelligence.v1.V" + - "ideoSegment\"\234\001\n\tFaceFrame\022[\n\031normalized_" + - "bounding_boxes\030\001 \003(\01328.google.cloud.vide" + - "ointelligence.v1.NormalizedBoundingBox\022." + - "\n\013time_offset\030\002 \001(\0132\031.google.protobuf.Du" + - "ration:\002\030\001\"\247\001\n\016FaceAnnotation\022\021\n\tthumbna" + - "il\030\001 \001(\014\022@\n\010segments\030\002 \003(\0132..google.clou" + - "d.videointelligence.v1.FaceSegment\022<\n\006fr" + - "ames\030\003 \003(\0132,.google.cloud.videointellige" + - "nce.v1.FaceFrame:\002\030\001\"\272\002\n\021TimestampedObje" + - "ct\022Y\n\027normalized_bounding_box\030\001 \001(\01328.go" + - "ogle.cloud.videointelligence.v1.Normaliz" + - "edBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031.goo" + - "gle.protobuf.Duration\022M\n\nattributes\030\003 \003(" + - "\01324.google.cloud.videointelligence.v1.De" + - "tectedAttributeB\003\340A\001\022K\n\tlandmarks\030\004 \003(\0132" + - "3.google.cloud.videointelligence.v1.Dete" + - "ctedLandmarkB\003\340A\001\"\204\002\n\005Track\022@\n\007segment\030\001" + - " \001(\0132/.google.cloud.videointelligence.v1" + - ".VideoSegment\022Q\n\023timestamped_objects\030\002 \003" + - "(\01324.google.cloud.videointelligence.v1.T" + - "imestampedObject\022M\n\nattributes\030\003 \003(\01324.g" + - "oogle.cloud.videointelligence.v1.Detecte" + - "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + - "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + - "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"x\n\020Detect" + - "edLandmark\022\014\n\004name\030\001 \001(\t\022B\n\005point\030\002 \001(\0132" + - "3.google.cloud.videointelligence.v1.Norm" + - "alizedVertex\022\022\n\nconfidence\030\003 \001(\002\"\351\n\n\026Vid" + - "eoAnnotationResults\022\021\n\tinput_uri\030\001 \001(\t\022@" + - "\n\007segment\030\n \001(\0132/.google.cloud.videointe" + - "lligence.v1.VideoSegment\022U\n\031segment_labe" + - "l_annotations\030\002 \003(\01322.google.cloud.video" + - "intelligence.v1.LabelAnnotation\022^\n\"segme" + - "nt_presence_label_annotations\030\027 \003(\01322.go" + - "ogle.cloud.videointelligence.v1.LabelAnn" + - "otation\022R\n\026shot_label_annotations\030\003 \003(\0132" + - "2.google.cloud.videointelligence.v1.Labe" + - "lAnnotation\022[\n\037shot_presence_label_annot" + - "ations\030\030 \003(\01322.google.cloud.videointelli" + - "gence.v1.LabelAnnotation\022S\n\027frame_label_" + - "annotations\030\004 \003(\01322.google.cloud.videoin" + - "telligence.v1.LabelAnnotation\022O\n\020face_an" + - "notations\030\005 \003(\01321.google.cloud.videointe" + - "lligence.v1.FaceAnnotationB\002\030\001\022^\n\032face_d" + - "etection_annotations\030\r \003(\0132:.google.clou" + - "d.videointelligence.v1.FaceDetectionAnno" + - "tation\022I\n\020shot_annotations\030\006 \003(\0132/.googl" + - "e.cloud.videointelligence.v1.VideoSegmen" + - "t\022Y\n\023explicit_annotation\030\007 \001(\0132<.google." + - "cloud.videointelligence.v1.ExplicitConte" + - "ntAnnotation\022U\n\025speech_transcriptions\030\013 " + - "\003(\01326.google.cloud.videointelligence.v1." + - "SpeechTranscription\022K\n\020text_annotations\030" + - "\014 \003(\01321.google.cloud.videointelligence.v" + - "1.TextAnnotation\022W\n\022object_annotations\030\016" + - " \003(\0132;.google.cloud.videointelligence.v1" + - ".ObjectTrackingAnnotation\022b\n\034logo_recogn" + - "ition_annotations\030\023 \003(\0132<.google.cloud.v" + - "ideointelligence.v1.LogoRecognitionAnnot" + - "ation\022b\n\034person_detection_annotations\030\024 " + - "\003(\0132<.google.cloud.videointelligence.v1." + - "PersonDetectionAnnotation\022!\n\005error\030\t \001(\013" + - "2\022.google.rpc.Status\"n\n\025AnnotateVideoRes" + - "ponse\022U\n\022annotation_results\030\001 \003(\01329.goog" + - "le.cloud.videointelligence.v1.VideoAnnot" + - "ationResults\"\246\002\n\027VideoAnnotationProgress" + - "\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_percent\030" + - "\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022;\n\007feature\030\005 \001(\0162" + - "*.google.cloud.videointelligence.v1.Feat" + - "ure\022@\n\007segment\030\006 \001(\0132/.google.cloud.vide" + - "ointelligence.v1.VideoSegment\"p\n\025Annotat" + - "eVideoProgress\022W\n\023annotation_progress\030\001 " + - "\003(\0132:.google.cloud.videointelligence.v1." + - "VideoAnnotationProgress\"\201\003\n\031SpeechTransc" + - "riptionConfig\022\032\n\rlanguage_code\030\001 \001(\tB\003\340A" + - "\002\022\035\n\020max_alternatives\030\002 \001(\005B\003\340A\001\022\035\n\020filt" + - "er_profanity\030\003 \001(\010B\003\340A\001\022N\n\017speech_contex" + - "ts\030\004 \003(\01320.google.cloud.videointelligenc" + - "e.v1.SpeechContextB\003\340A\001\022)\n\034enable_automa" + - "tic_punctuation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_trac" + - "ks\030\006 \003(\005B\003\340A\001\022\'\n\032enable_speaker_diarizat" + - "ion\030\007 \001(\010B\003\340A\001\022&\n\031diarization_speaker_co" + - "unt\030\010 \001(\005B\003\340A\001\022#\n\026enable_word_confidence" + - "\030\t \001(\010B\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030" + - "\001 \003(\tB\003\340A\001\"\210\001\n\023SpeechTranscription\022U\n\014al" + - "ternatives\030\001 \003(\0132?.google.cloud.videoint" + - "elligence.v1.SpeechRecognitionAlternativ" + - "e\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\214\001\n\034Speech" + - "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" + - "(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022?\n\005words\030\003 \003" + - "(\0132+.google.cloud.videointelligence.v1.W" + - "ordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_time\030" + - "\001 \001(\0132\031.google.protobuf.Duration\022+\n\010end_" + - "time\030\002 \001(\0132\031.google.protobuf.Duration\022\014\n" + - "\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A\003\022\030\n\013" + - "speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020NormalizedVert" + - "ex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"_\n\026NormalizedBo" + - "undingPoly\022E\n\010vertices\030\001 \003(\01323.google.cl" + - "oud.videointelligence.v1.NormalizedVerte" + - "x\"\241\001\n\013TextSegment\022@\n\007segment\030\001 \001(\0132/.goo" + - "gle.cloud.videointelligence.v1.VideoSegm" + - "ent\022\022\n\nconfidence\030\002 \001(\002\022<\n\006frames\030\003 \003(\0132" + - ",.google.cloud.videointelligence.v1.Text" + - "Frame\"\224\001\n\tTextFrame\022W\n\024rotated_bounding_" + - "box\030\001 \001(\01329.google.cloud.videointelligen" + - "ce.v1.NormalizedBoundingPoly\022.\n\013time_off" + - "set\030\002 \001(\0132\031.google.protobuf.Duration\"q\n\016" + - "TextAnnotation\022\014\n\004text\030\001 \001(\t\022@\n\010segments" + - "\030\002 \003(\0132..google.cloud.videointelligence." + - "v1.TextSegment\022\017\n\007version\030\003 \001(\t\"\240\001\n\023Obje" + - "ctTrackingFrame\022Y\n\027normalized_bounding_b" + - "ox\030\001 \001(\01328.google.cloud.videointelligenc" + - "e.v1.NormalizedBoundingBox\022.\n\013time_offse" + - "t\030\002 \001(\0132\031.google.protobuf.Duration\"\250\002\n\030O" + - "bjectTrackingAnnotation\022B\n\007segment\030\003 \001(\013" + - "2/.google.cloud.videointelligence.v1.Vid" + - "eoSegmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\0229\n\006entit" + - "y\030\001 \001(\0132).google.cloud.videointelligence" + - ".v1.Entity\022\022\n\nconfidence\030\004 \001(\002\022F\n\006frames" + - "\030\002 \003(\01326.google.cloud.videointelligence." + - "v1.ObjectTrackingFrame\022\017\n\007version\030\006 \001(\tB" + - "\014\n\ntrack_info\"\323\001\n\031LogoRecognitionAnnotat" + - "ion\0229\n\006entity\030\001 \001(\0132).google.cloud.video" + - "intelligence.v1.Entity\0228\n\006tracks\030\002 \003(\0132(" + - ".google.cloud.videointelligence.v1.Track" + - "\022A\n\010segments\030\003 \003(\0132/.google.cloud.videoi" + - "ntelligence.v1.VideoSegment*\365\001\n\007Feature\022" + - "\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECT" + - "ION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPL" + - "ICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTI" + - "ON\020\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_D" + - "ETECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_" + - "RECOGNITION\020\014\022\024\n\020PERSON_DETECTION\020\016*r\n\022L" + - "abelDetectionMode\022$\n LABEL_DETECTION_MOD" + - "E_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_" + - "MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikel" + - "ihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVER" + - "Y_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003" + - "\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\300\002\n\030VideoI" + - "ntelligenceService\022\315\001\n\rAnnotateVideo\0227.g" + - "oogle.cloud.videointelligence.v1.Annotat" + - "eVideoRequest\032\035.google.longrunning.Opera" + - "tion\"d\202\323\344\223\002\030\"\023/v1/videos:annotate:\001*\332A\022i" + - "nput_uri,features\312A.\n\025AnnotateVideoRespo" + - "nse\022\025AnnotateVideoProgress\032T\312A videointe" + - "lligence.googleapis.com\322A.https://www.go" + - "ogleapis.com/auth/cloud-platformB\213\002\n%com" + - ".google.cloud.videointelligence.v1B\035Vide" + - "oIntelligenceServiceProtoP\001ZRgoogle.gola" + - "ng.org/genproto/googleapis/cloud/videoin" + - "telligence/v1;videointelligence\252\002!Google" + - ".Cloud.VideoIntelligence.V1\312\002!Google\\Clo" + - "ud\\VideoIntelligence\\V1\352\002$Google::Cloud:" + - ":VideoIntelligence::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor, - new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", "SpeechTranscriptionConfig", "TextDetectionConfig", "PersonDetectionConfig", "ObjectTrackingConfig", }); - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor, - new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", "FrameConfidenceThreshold", "VideoConfidenceThreshold", }); - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor, - new java.lang.String[] { "Model", "IncludeBoundingBoxes", "IncludeAttributes", }); - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor, - new java.lang.String[] { "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor, - new java.lang.String[] { "LanguageHints", "Model", }); - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor, - new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", }); - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor, - new java.lang.String[] { "TimeOffset", "Confidence", }); - internal_static_google_cloud_videointelligence_v1_Entity_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_Entity_descriptor, - new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor, - new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", "Version", }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor, - new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { "Frames", "Version", }); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor, - new java.lang.String[] { "Tracks", "Thumbnail", "Version", }); - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor, - new java.lang.String[] { "Tracks", "Version", }); - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor, - new java.lang.String[] { "Segment", }); - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor, - new java.lang.String[] { "NormalizedBoundingBoxes", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor, - new java.lang.String[] { "Thumbnail", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor, - new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", }); - internal_static_google_cloud_videointelligence_v1_Track_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_Track_descriptor, - new java.lang.String[] { "Segment", "TimestampedObjects", "Attributes", "Confidence", }); - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor, - new java.lang.String[] { "Name", "Confidence", "Value", }); - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor, - new java.lang.String[] { "Name", "Point", "Confidence", }); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor, - new java.lang.String[] { "InputUri", "Segment", "SegmentLabelAnnotations", "SegmentPresenceLabelAnnotations", "ShotLabelAnnotations", "ShotPresenceLabelAnnotations", "FrameLabelAnnotations", "FaceAnnotations", "FaceDetectionAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "TextAnnotations", "ObjectAnnotations", "LogoRecognitionAnnotations", "PersonDetectionAnnotations", "Error", }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { "AnnotationResults", }); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", }); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { "AnnotationProgress", }); - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", "EnableSpeakerDiarization", "DiarizationSpeakerCount", "EnableWordConfidence", }); - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor, - new java.lang.String[] { "Phrases", }); - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor, - new java.lang.String[] { "Alternatives", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { "Transcript", "Confidence", "Words", }); - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", }); - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor, - new java.lang.String[] { "X", "Y", }); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { "Vertices", }); - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", "Frames", }); - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor, - new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor, - new java.lang.String[] { "Text", "Segments", "Version", }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "Version", "TrackInfo", }); - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor, - new java.lang.String[] { "Entity", "Tracks", "Segments", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index c145c18b6..000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public interface AnnotateVideoProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - */ - int getAnnotationProgressCount(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 6fd146d09..000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public interface AnnotateVideoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - */ - int getAnnotationResultsCount(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java deleted file mode 100644 index c008dc716..000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,411 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package com.google.cloud.videointelligence.v1beta2; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n?google/cloud/videointelligence/v1beta2" + - "/video_intelligence.proto\022&google.cloud." + - "videointelligence.v1beta2\032\034google/api/an" + - "notations.proto\032\027google/api/client.proto" + - "\032\037google/api/field_behavior.proto\032#googl" + - "e/longrunning/operations.proto\032\036google/p" + - "rotobuf/duration.proto\032\037google/protobuf/" + - "timestamp.proto\032\027google/rpc/status.proto" + - "\"\210\002\n\024AnnotateVideoRequest\022\021\n\tinput_uri\030\001" + - " \001(\t\022\025\n\rinput_content\030\006 \001(\014\022F\n\010features\030" + - "\002 \003(\0162/.google.cloud.videointelligence.v" + - "1beta2.FeatureB\003\340A\002\022K\n\rvideo_context\030\003 \001" + - "(\01324.google.cloud.videointelligence.v1be" + - "ta2.VideoContext\022\027\n\noutput_uri\030\004 \001(\tB\003\340A" + - "\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\354\003\n\014VideoCon" + - "text\022F\n\010segments\030\001 \003(\01324.google.cloud.vi" + - "deointelligence.v1beta2.VideoSegment\022\\\n\026" + - "label_detection_config\030\002 \001(\0132<.google.cl" + - "oud.videointelligence.v1beta2.LabelDetec" + - "tionConfig\022g\n\034shot_change_detection_conf" + - "ig\030\003 \001(\0132A.google.cloud.videointelligenc" + - "e.v1beta2.ShotChangeDetectionConfig\022q\n!e" + - "xplicit_content_detection_config\030\004 \001(\0132F" + - ".google.cloud.videointelligence.v1beta2." + - "ExplicitContentDetectionConfig\022Z\n\025face_d" + - "etection_config\030\005 \001(\0132;.google.cloud.vid" + - "eointelligence.v1beta2.FaceDetectionConf" + - "ig\"\232\001\n\024LabelDetectionConfig\022X\n\024label_det" + - "ection_mode\030\001 \001(\0162:.google.cloud.videoin" + - "telligence.v1beta2.LabelDetectionMode\022\031\n" + - "\021stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"" + - "*\n\031ShotChangeDetectionConfig\022\r\n\005model\030\001 " + - "\001(\t\"/\n\036ExplicitContentDetectionConfig\022\r\n" + - "\005model\030\001 \001(\t\"D\n\023FaceDetectionConfig\022\r\n\005m" + - "odel\030\001 \001(\t\022\036\n\026include_bounding_boxes\030\002 \001" + - "(\010\"x\n\014VideoSegment\0224\n\021start_time_offset\030" + - "\001 \001(\0132\031.google.protobuf.Duration\0222\n\017end_" + - "time_offset\030\002 \001(\0132\031.google.protobuf.Dura" + - "tion\"i\n\014LabelSegment\022E\n\007segment\030\001 \001(\01324." + - "google.cloud.videointelligence.v1beta2.V" + - "ideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabel" + - "Frame\022.\n\013time_offset\030\001 \001(\0132\031.google.prot" + - "obuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Ent" + - "ity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 " + - "\001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\250\002\n\017LabelAnno" + - "tation\022>\n\006entity\030\001 \001(\0132..google.cloud.vi" + - "deointelligence.v1beta2.Entity\022I\n\021catego" + - "ry_entities\030\002 \003(\0132..google.cloud.videoin" + - "telligence.v1beta2.Entity\022F\n\010segments\030\003 " + - "\003(\01324.google.cloud.videointelligence.v1b" + - "eta2.LabelSegment\022B\n\006frames\030\004 \003(\01322.goog" + - "le.cloud.videointelligence.v1beta2.Label" + - "Frame\"\232\001\n\024ExplicitContentFrame\022.\n\013time_o" + - "ffset\030\001 \001(\0132\031.google.protobuf.Duration\022R" + - "\n\026pornography_likelihood\030\002 \001(\01622.google." + - "cloud.videointelligence.v1beta2.Likeliho" + - "od\"i\n\031ExplicitContentAnnotation\022L\n\006frame" + - "s\030\001 \003(\0132<.google.cloud.videointelligence" + - ".v1beta2.ExplicitContentFrame\"Q\n\025Normali" + - "zedBoundingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(" + - "\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"T\n\013Face" + - "Segment\022E\n\007segment\030\001 \001(\01324.google.cloud." + - "videointelligence.v1beta2.VideoSegment\"\235" + - "\001\n\tFaceFrame\022`\n\031normalized_bounding_boxe" + - "s\030\001 \003(\0132=.google.cloud.videointelligence" + - ".v1beta2.NormalizedBoundingBox\022.\n\013time_o" + - "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"\255" + - "\001\n\016FaceAnnotation\022\021\n\tthumbnail\030\001 \001(\014\022E\n\010" + - "segments\030\002 \003(\01323.google.cloud.videointel" + - "ligence.v1beta2.FaceSegment\022A\n\006frames\030\003 " + - "\003(\01321.google.cloud.videointelligence.v1b" + - "eta2.FaceFrame\"\337\004\n\026VideoAnnotationResult" + - "s\022\021\n\tinput_uri\030\001 \001(\t\022Z\n\031segment_label_an" + - "notations\030\002 \003(\01327.google.cloud.videointe" + - "lligence.v1beta2.LabelAnnotation\022W\n\026shot" + - "_label_annotations\030\003 \003(\01327.google.cloud." + - "videointelligence.v1beta2.LabelAnnotatio" + - "n\022X\n\027frame_label_annotations\030\004 \003(\01327.goo" + - "gle.cloud.videointelligence.v1beta2.Labe" + - "lAnnotation\022P\n\020face_annotations\030\005 \003(\01326." + - "google.cloud.videointelligence.v1beta2.F" + - "aceAnnotation\022N\n\020shot_annotations\030\006 \003(\0132" + - "4.google.cloud.videointelligence.v1beta2" + - ".VideoSegment\022^\n\023explicit_annotation\030\007 \001" + - "(\0132A.google.cloud.videointelligence.v1be" + - "ta2.ExplicitContentAnnotation\022!\n\005error\030\t" + - " \001(\0132\022.google.rpc.Status\"s\n\025AnnotateVide" + - "oResponse\022Z\n\022annotation_results\030\001 \003(\0132>." + - "google.cloud.videointelligence.v1beta2.V" + - "ideoAnnotationResults\"\247\001\n\027VideoAnnotatio" + - "nProgress\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress" + - "_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022/\n\013update_time\030\004 " + - "\001(\0132\032.google.protobuf.Timestamp\"u\n\025Annot" + - "ateVideoProgress\022\\\n\023annotation_progress\030" + - "\001 \003(\0132?.google.cloud.videointelligence.v" + - "1beta2.VideoAnnotationProgress*\206\001\n\007Featu" + - "re\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DET" + - "ECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032E" + - "XPLICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETE" + - "CTION\020\004*r\n\022LabelDetectionMode\022$\n LABEL_D" + - "ETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE" + - "\020\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MOD" + - "E\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIF" + - "IED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014" + - "\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020" + - "\0052\312\002\n\030VideoIntelligenceService\022\327\001\n\rAnnot" + - "ateVideo\022<.google.cloud.videointelligenc" + - "e.v1beta2.AnnotateVideoRequest\032\035.google." + - "longrunning.Operation\"i\202\323\344\223\002\035\"\030/v1beta2/" + - "videos:annotate:\001*\332A\022input_uri,features\312" + - "A.\n\025AnnotateVideoResponse\022\025AnnotateVideo" + - "Progress\032T\312A videointelligence.googleapi" + - "s.com\322A.https://www.googleapis.com/auth/" + - "cloud-platformB\244\002\n*com.google.cloud.vide" + - "ointelligence.v1beta2B\035VideoIntelligence" + - "ServiceProtoP\001ZWgoogle.golang.org/genpro" + - "to/googleapis/cloud/videointelligence/v1" + - "beta2;videointelligence\252\002&Google.Cloud.V" + - "ideoIntelligence.V1Beta2\312\002&Google\\Cloud\\" + - "VideoIntelligence\\V1beta2\352\002)Google::Clou" + - "d::VideoIntelligence::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor, - new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor, - new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", }); - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor, - new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor, - new java.lang.String[] { "Model", "IncludeBoundingBoxes", }); - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor, - new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", }); - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor, - new java.lang.String[] { "TimeOffset", "Confidence", }); - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor, - new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor, - new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor, - new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { "Frames", }); - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor, - new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor, - new java.lang.String[] { "Segment", }); - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor, - new java.lang.String[] { "NormalizedBoundingBoxes", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor, - new java.lang.String[] { "Thumbnail", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor, - new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "FaceAnnotations", "ShotAnnotations", "ExplicitAnnotation", "Error", }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor, - new java.lang.String[] { "AnnotationResults", }); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor, - new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor, - new java.lang.String[] { "AnnotationProgress", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 4632ff94c..000000000 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public interface AnnotateVideoProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - */ - int getAnnotationProgressCount(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 10fce9b23..000000000 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public interface AnnotateVideoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - */ - int getAnnotationResultsCount(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index a03028fa9..000000000 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,417 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p1beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p1bet" + - "a1/video_intelligence.proto\022(google.clou" + - "d.videointelligence.v1p1beta1\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032#g" + - "oogle/longrunning/operations.proto\032\036goog" + - "le/protobuf/duration.proto\032\037google/proto" + - "buf/timestamp.proto\032\027google/rpc/status.p" + - "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + - "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + - "res\030\002 \003(\01621.google.cloud.videointelligen" + - "ce.v1p1beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + - "xt\030\003 \001(\01326.google.cloud.videointelligenc" + - "e.v1p1beta1.VideoContext\022\027\n\noutput_uri\030\004" + - " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\202\004\n\014" + - "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + - "cloud.videointelligence.v1p1beta1.VideoS" + - "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + - ".google.cloud.videointelligence.v1p1beta" + - "1.LabelDetectionConfig\022i\n\034shot_change_de" + - "tection_config\030\003 \001(\0132C.google.cloud.vide" + - "ointelligence.v1p1beta1.ShotChangeDetect" + - "ionConfig\022s\n!explicit_content_detection_" + - "config\030\004 \001(\0132H.google.cloud.videointelli" + - "gence.v1p1beta1.ExplicitContentDetection" + - "Config\022h\n\033speech_transcription_config\030\006 " + - "\001(\0132C.google.cloud.videointelligence.v1p" + - "1beta1.SpeechTranscriptionConfig\"\234\001\n\024Lab" + - "elDetectionConfig\022Z\n\024label_detection_mod" + - "e\030\001 \001(\0162<.google.cloud.videointelligence" + - ".v1p1beta1.LabelDetectionMode\022\031\n\021station" + - "ary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotC" + - "hangeDetectionConfig\022\r\n\005model\030\001 \001(\t\"/\n\036E" + - "xplicitContentDetectionConfig\022\r\n\005model\030\001" + - " \001(\t\"x\n\014VideoSegment\0224\n\021start_time_offse" + - "t\030\001 \001(\0132\031.google.protobuf.Duration\0222\n\017en" + - "d_time_offset\030\002 \001(\0132\031.google.protobuf.Du" + - "ration\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\0132" + - "6.google.cloud.videointelligence.v1p1bet" + - "a1.VideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nL" + - "abelFrame\022.\n\013time_offset\030\001 \001(\0132\031.google." + - "protobuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n" + - "\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013descriptio" + - "n\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017Label" + - "Annotation\022@\n\006entity\030\001 \001(\01320.google.clou" + - "d.videointelligence.v1p1beta1.Entity\022K\n\021" + - "category_entities\030\002 \003(\01320.google.cloud.v" + - "ideointelligence.v1p1beta1.Entity\022H\n\010seg" + - "ments\030\003 \003(\01326.google.cloud.videointellig" + - "ence.v1p1beta1.LabelSegment\022D\n\006frames\030\004 " + - "\003(\01324.google.cloud.videointelligence.v1p" + - "1beta1.LabelFrame\"\234\001\n\024ExplicitContentFra" + - "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu" + - "f.Duration\022T\n\026pornography_likelihood\030\002 \001" + - "(\01624.google.cloud.videointelligence.v1p1" + - "beta1.Likelihood\"k\n\031ExplicitContentAnnot" + - "ation\022N\n\006frames\030\001 \003(\0132>.google.cloud.vid" + - "eointelligence.v1p1beta1.ExplicitContent" + - "Frame\"\365\004\n\026VideoAnnotationResults\022\021\n\tinpu" + - "t_uri\030\001 \001(\t\022\\\n\031segment_label_annotations" + - "\030\002 \003(\01329.google.cloud.videointelligence." + - "v1p1beta1.LabelAnnotation\022Y\n\026shot_label_" + - "annotations\030\003 \003(\01329.google.cloud.videoin" + - "telligence.v1p1beta1.LabelAnnotation\022Z\n\027" + - "frame_label_annotations\030\004 \003(\01329.google.c" + - "loud.videointelligence.v1p1beta1.LabelAn" + - "notation\022P\n\020shot_annotations\030\006 \003(\01326.goo" + - "gle.cloud.videointelligence.v1p1beta1.Vi" + - "deoSegment\022`\n\023explicit_annotation\030\007 \001(\0132" + - "C.google.cloud.videointelligence.v1p1bet" + - "a1.ExplicitContentAnnotation\022\\\n\025speech_t" + - "ranscriptions\030\013 \003(\0132=.google.cloud.video" + - "intelligence.v1p1beta1.SpeechTranscripti" + - "on\022!\n\005error\030\t \001(\0132\022.google.rpc.Status\"u\n" + - "\025AnnotateVideoResponse\022\\\n\022annotation_res" + - "ults\030\001 \003(\0132@.google.cloud.videointellige" + - "nce.v1p1beta1.VideoAnnotationResults\"\247\001\n" + - "\027VideoAnnotationProgress\022\021\n\tinput_uri\030\001 " + - "\001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nstart_t" + - "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n" + - "\013update_time\030\004 \001(\0132\032.google.protobuf.Tim" + - "estamp\"w\n\025AnnotateVideoProgress\022^\n\023annot" + - "ation_progress\030\001 \003(\0132A.google.cloud.vide" + - "ointelligence.v1p1beta1.VideoAnnotationP" + - "rogress\"\222\002\n\031SpeechTranscriptionConfig\022\032\n" + - "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + - "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + - "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + - "e.cloud.videointelligence.v1p1beta1.Spee" + - "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + - "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + - "\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003" + - "\340A\001\"s\n\023SpeechTranscription\022\\\n\014alternativ" + - "es\030\001 \003(\0132F.google.cloud.videointelligenc" + - "e.v1p1beta1.SpeechRecognitionAlternative" + - "\"\216\001\n\034SpeechRecognitionAlternative\022\022\n\ntra" + - "nscript\030\001 \001(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022A" + - "\n\005words\030\003 \003(\01322.google.cloud.videointell" + - "igence.v1p1beta1.WordInfo\"t\n\010WordInfo\022-\n" + - "\nstart_time\030\001 \001(\0132\031.google.protobuf.Dura" + - "tion\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf" + - ".Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007Feature\022\027\n\023F" + - "EATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION\020" + - "\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICIT" + - "_CONTENT_DETECTION\020\003\022\030\n\024SPEECH_TRANSCRIP" + - "TION\020\006*r\n\022LabelDetectionMode\022$\n LABEL_DE" + - "TECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020" + - "\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE" + - "\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFI" + - "ED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n" + - "\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005" + - "2\316\002\n\030VideoIntelligenceService\022\333\001\n\rAnnota" + - "teVideo\022>.google.cloud.videointelligence" + - ".v1p1beta1.AnnotateVideoRequest\032\035.google" + - ".longrunning.Operation\"k\202\323\344\223\002\037\"\032/v1p1bet" + - "a1/videos:annotate:\001*\332A\022input_uri,featur" + - "es\312A.\n\025AnnotateVideoResponse\022\025AnnotateVi" + - "deoProgress\032T\312A videointelligence.google" + - "apis.com\322A.https://www.googleapis.com/au" + - "th/cloud-platformB\256\002\n,com.google.cloud.v" + - "ideointelligence.v1p1beta1B\035VideoIntelli" + - "genceServiceProtoP\001ZYgoogle.golang.org/g" + - "enproto/googleapis/cloud/videointelligen" + - "ce/v1p1beta1;videointelligence\252\002(Google." + - "Cloud.VideoIntelligence.V1P1Beta1\312\002(Goog" + - "le\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+G" + - "oogle::Cloud::VideoIntelligence::V1p1bet" + - "a1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor, - new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "SpeechTranscriptionConfig", }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor, - new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor, - new java.lang.String[] { "TimeOffset", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor, - new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor, - new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { "Frames", }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "Error", }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { "AnnotationResults", }); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { "AnnotationProgress", }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor, - new java.lang.String[] { "Phrases", }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor, - new java.lang.String[] { "Alternatives", }); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { "Transcript", "Confidence", "Words", }); - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Word", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 235ee3f23..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface AnnotateVideoProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - */ - int getAnnotationProgressCount(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index 04695f6ee..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface AnnotateVideoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - */ - int getAnnotationResultsCount(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java deleted file mode 100644 index f7a2a9947..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public interface NormalizedVertexOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * @return The x. - */ - float getX(); - - /** - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * @return The y. - */ - float getY(); -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index a8b5a0385..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,475 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p2beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p2bet" + - "a1/video_intelligence.proto\022(google.clou" + - "d.videointelligence.v1p2beta1\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032#g" + - "oogle/longrunning/operations.proto\032\036goog" + - "le/protobuf/duration.proto\032\037google/proto" + - "buf/timestamp.proto\032\027google/rpc/status.p" + - "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + - "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + - "res\030\002 \003(\01621.google.cloud.videointelligen" + - "ce.v1p2beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + - "xt\030\003 \001(\01326.google.cloud.videointelligenc" + - "e.v1p2beta1.VideoContext\022\027\n\noutput_uri\030\004" + - " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\366\003\n\014" + - "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + - "cloud.videointelligence.v1p2beta1.VideoS" + - "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + - ".google.cloud.videointelligence.v1p2beta" + - "1.LabelDetectionConfig\022i\n\034shot_change_de" + - "tection_config\030\003 \001(\0132C.google.cloud.vide" + - "ointelligence.v1p2beta1.ShotChangeDetect" + - "ionConfig\022s\n!explicit_content_detection_" + - "config\030\004 \001(\0132H.google.cloud.videointelli" + - "gence.v1p2beta1.ExplicitContentDetection" + - "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + - "google.cloud.videointelligence.v1p2beta1" + - ".TextDetectionConfig\"\234\001\n\024LabelDetectionC" + - "onfig\022Z\n\024label_detection_mode\030\001 \001(\0162<.go" + - "ogle.cloud.videointelligence.v1p2beta1.L" + - "abelDetectionMode\022\031\n\021stationary_camera\030\002" + - " \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotChangeDetecti" + - "onConfig\022\r\n\005model\030\001 \001(\t\"/\n\036ExplicitConte" + - "ntDetectionConfig\022\r\n\005model\030\001 \001(\t\"-\n\023Text" + - "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\"" + - "x\n\014VideoSegment\0224\n\021start_time_offset\030\001 \001" + - "(\0132\031.google.protobuf.Duration\0222\n\017end_tim" + - "e_offset\030\002 \001(\0132\031.google.protobuf.Duratio" + - "n\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\01326.goo" + - "gle.cloud.videointelligence.v1p2beta1.Vi" + - "deoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelF" + - "rame\022.\n\013time_offset\030\001 \001(\0132\031.google.proto" + - "buf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Enti" + - "ty\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 \001" + - "(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017LabelAnnot" + - "ation\022@\n\006entity\030\001 \001(\01320.google.cloud.vid" + - "eointelligence.v1p2beta1.Entity\022K\n\021categ" + - "ory_entities\030\002 \003(\01320.google.cloud.videoi" + - "ntelligence.v1p2beta1.Entity\022H\n\010segments" + - "\030\003 \003(\01326.google.cloud.videointelligence." + - "v1p2beta1.LabelSegment\022D\n\006frames\030\004 \003(\01324" + - ".google.cloud.videointelligence.v1p2beta" + - "1.LabelFrame\"\234\001\n\024ExplicitContentFrame\022.\n" + - "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" + - "ation\022T\n\026pornography_likelihood\030\002 \001(\01624." + - "google.cloud.videointelligence.v1p2beta1" + - ".Likelihood\"k\n\031ExplicitContentAnnotation" + - "\022N\n\006frames\030\001 \003(\0132>.google.cloud.videoint" + - "elligence.v1p2beta1.ExplicitContentFrame" + - "\"Q\n\025NormalizedBoundingBox\022\014\n\004left\030\001 \001(\002\022" + - "\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 " + - "\001(\002\"\313\005\n\026VideoAnnotationResults\022\021\n\tinput_" + - "uri\030\001 \001(\t\022\\\n\031segment_label_annotations\030\002" + - " \003(\01329.google.cloud.videointelligence.v1" + - "p2beta1.LabelAnnotation\022Y\n\026shot_label_an" + - "notations\030\003 \003(\01329.google.cloud.videointe" + - "lligence.v1p2beta1.LabelAnnotation\022Z\n\027fr" + - "ame_label_annotations\030\004 \003(\01329.google.clo" + - "ud.videointelligence.v1p2beta1.LabelAnno" + - "tation\022P\n\020shot_annotations\030\006 \003(\01326.googl" + - "e.cloud.videointelligence.v1p2beta1.Vide" + - "oSegment\022`\n\023explicit_annotation\030\007 \001(\0132C." + - "google.cloud.videointelligence.v1p2beta1" + - ".ExplicitContentAnnotation\022R\n\020text_annot" + - "ations\030\014 \003(\01328.google.cloud.videointelli" + - "gence.v1p2beta1.TextAnnotation\022^\n\022object" + - "_annotations\030\016 \003(\0132B.google.cloud.videoi" + - "ntelligence.v1p2beta1.ObjectTrackingAnno" + - "tation\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu" + - "s\"u\n\025AnnotateVideoResponse\022\\\n\022annotation" + - "_results\030\001 \003(\0132@.google.cloud.videointel" + - "ligence.v1p2beta1.VideoAnnotationResults" + - "\"\247\001\n\027VideoAnnotationProgress\022\021\n\tinput_ur" + - "i\030\001 \001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nsta" + - "rt_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" + - ".Timestamp\"w\n\025AnnotateVideoProgress\022^\n\023a" + - "nnotation_progress\030\001 \003(\0132A.google.cloud." + - "videointelligence.v1p2beta1.VideoAnnotat" + - "ionProgress\"(\n\020NormalizedVertex\022\t\n\001x\030\001 \001" + - "(\002\022\t\n\001y\030\002 \001(\002\"f\n\026NormalizedBoundingPoly\022" + - "L\n\010vertices\030\001 \003(\0132:.google.cloud.videoin" + - "telligence.v1p2beta1.NormalizedVertex\"\257\001" + - "\n\013TextSegment\022G\n\007segment\030\001 \001(\01326.google." + - "cloud.videointelligence.v1p2beta1.VideoS" + - "egment\022\022\n\nconfidence\030\002 \001(\002\022C\n\006frames\030\003 \003" + - "(\01323.google.cloud.videointelligence.v1p2" + - "beta1.TextFrame\"\233\001\n\tTextFrame\022^\n\024rotated" + - "_bounding_box\030\001 \001(\0132@.google.cloud.video" + - "intelligence.v1p2beta1.NormalizedBoundin" + - "gPoly\022.\n\013time_offset\030\002 \001(\0132\031.google.prot" + - "obuf.Duration\"g\n\016TextAnnotation\022\014\n\004text\030" + - "\001 \001(\t\022G\n\010segments\030\002 \003(\01325.google.cloud.v" + - "ideointelligence.v1p2beta1.TextSegment\"\247" + - "\001\n\023ObjectTrackingFrame\022`\n\027normalized_bou" + - "nding_box\030\001 \001(\0132?.google.cloud.videointe" + - "lligence.v1p2beta1.NormalizedBoundingBox" + - "\022.\n\013time_offset\030\002 \001(\0132\031.google.protobuf." + - "Duration\"\254\002\n\030ObjectTrackingAnnotation\022I\n" + - "\007segment\030\003 \001(\01326.google.cloud.videointel" + - "ligence.v1p2beta1.VideoSegmentH\000\022\022\n\010trac" + - "k_id\030\005 \001(\003H\000\022@\n\006entity\030\001 \001(\01320.google.cl" + - "oud.videointelligence.v1p2beta1.Entity\022\022" + - "\n\nconfidence\030\004 \001(\002\022M\n\006frames\030\002 \003(\0132=.goo" + - "gle.cloud.videointelligence.v1p2beta1.Ob" + - "jectTrackingFrameB\014\n\ntrack_info*\233\001\n\007Feat" + - "ure\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DE" + - "TECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032" + - "EXPLICIT_CONTENT_DETECTION\020\003\022\022\n\016TEXT_DET" + - "ECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t*r\n\022LabelDe" + - "tectionMode\022$\n LABEL_DETECTION_MODE_UNSP" + - "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" + - "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikelihood\022" + - "\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLI" + - "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI" + - "KELY\020\004\022\017\n\013VERY_LIKELY\020\0052\316\002\n\030VideoIntelli" + - "genceService\022\333\001\n\rAnnotateVideo\022>.google." + - "cloud.videointelligence.v1p2beta1.Annota" + - "teVideoRequest\032\035.google.longrunning.Oper" + - "ation\"k\202\323\344\223\002\037\"\032/v1p2beta1/videos:annotat" + - "e:\001*\332A\022input_uri,features\312A.\n\025AnnotateVi" + - "deoResponse\022\025AnnotateVideoProgress\032T\312A v" + - "ideointelligence.googleapis.com\322A.https:" + - "//www.googleapis.com/auth/cloud-platform" + - "B\256\002\n,com.google.cloud.videointelligence." + - "v1p2beta1B\035VideoIntelligenceServiceProto" + - "P\001ZYgoogle.golang.org/genproto/googleapi" + - "s/cloud/videointelligence/v1p2beta1;vide" + - "ointelligence\252\002(Google.Cloud.VideoIntell" + - "igence.V1P2Beta1\312\002(Google\\Cloud\\VideoInt" + - "elligence\\V1p2beta1\352\002+Google::Cloud::Vid" + - "eoIntelligence::V1p2beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor, - new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "TextDetectionConfig", }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor, - new java.lang.String[] { "LanguageHints", }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor, - new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor, - new java.lang.String[] { "TimeOffset", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor, - new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor, - new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { "Frames", }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { "InputUri", "SegmentLabelAnnotations", "ShotLabelAnnotations", "FrameLabelAnnotations", "ShotAnnotations", "ExplicitAnnotation", "TextAnnotations", "ObjectAnnotations", "Error", }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { "AnnotationResults", }); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", }); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { "AnnotationProgress", }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor, - new java.lang.String[] { "X", "Y", }); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { "Vertices", }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", "Frames", }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor, - new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor, - new java.lang.String[] { "Text", "Segments", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java b/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java deleted file mode 100644 index 9b2beb0f3..000000000 --- a/owl-bot-staging/v1p3beta1/grpc-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java +++ /dev/null @@ -1,285 +0,0 @@ -package com.google.cloud.videointelligence.v1p3beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service that implements streaming Video Intelligence API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StreamingVideoIntelligenceServiceGrpc { - - private StreamingVideoIntelligenceServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StreamingAnnotateVideo", - requestType = com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, - responseType = com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod() { - io.grpc.MethodDescriptor getStreamingAnnotateVideoMethod; - if ((getStreamingAnnotateVideoMethod = StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) == null) { - synchronized (StreamingVideoIntelligenceServiceGrpc.class) { - if ((getStreamingAnnotateVideoMethod = StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod) == null) { - StreamingVideoIntelligenceServiceGrpc.getStreamingAnnotateVideoMethod = getStreamingAnnotateVideoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingAnnotateVideo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance())) - .setSchemaDescriptor(new StreamingVideoIntelligenceServiceMethodDescriptorSupplier("StreamingAnnotateVideo")) - .build(); - } - } - } - return getStreamingAnnotateVideoMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static StreamingVideoIntelligenceServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static StreamingVideoIntelligenceServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public StreamingVideoIntelligenceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); - } - }; - return StreamingVideoIntelligenceServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static abstract class StreamingVideoIntelligenceServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Performs video annotation with bidirectional streaming: emitting results
-     * while sending video/audio bytes.
-     * This method is only available via the gRPC API (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver streamingAnnotateVideo( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getStreamingAnnotateVideoMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getStreamingAnnotateVideoMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest, - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>( - this, METHODID_STREAMING_ANNOTATE_VIDEO))) - .build(); - } - } - - /** - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceStub extends io.grpc.stub.AbstractAsyncStub { - private StreamingVideoIntelligenceServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceStub(channel, callOptions); - } - - /** - *
-     * Performs video annotation with bidirectional streaming: emitting results
-     * while sending video/audio bytes.
-     * This method is only available via the gRPC API (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver streamingAnnotateVideo( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getStreamingAnnotateVideoMethod(), getCallOptions()), responseObserver); - } - } - - /** - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private StreamingVideoIntelligenceServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceBlockingStub(channel, callOptions); - } - } - - /** - *
-   * Service that implements streaming Video Intelligence API.
-   * 
- */ - public static final class StreamingVideoIntelligenceServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private StreamingVideoIntelligenceServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected StreamingVideoIntelligenceServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new StreamingVideoIntelligenceServiceFutureStub(channel, callOptions); - } - } - - private static final int METHODID_STREAMING_ANNOTATE_VIDEO = 0; - - 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 StreamingVideoIntelligenceServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(StreamingVideoIntelligenceServiceImplBase 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) { - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_STREAMING_ANNOTATE_VIDEO: - return (io.grpc.stub.StreamObserver) serviceImpl.streamingAnnotateVideo( - (io.grpc.stub.StreamObserver) responseObserver); - default: - throw new AssertionError(); - } - } - } - - private static abstract class StreamingVideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - StreamingVideoIntelligenceServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("StreamingVideoIntelligenceService"); - } - } - - private static final class StreamingVideoIntelligenceServiceFileDescriptorSupplier - extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier { - StreamingVideoIntelligenceServiceFileDescriptorSupplier() {} - } - - private static final class StreamingVideoIntelligenceServiceMethodDescriptorSupplier - extends StreamingVideoIntelligenceServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - StreamingVideoIntelligenceServiceMethodDescriptorSupplier(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 (StreamingVideoIntelligenceServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new StreamingVideoIntelligenceServiceFileDescriptorSupplier()) - .addMethod(getStreamingAnnotateVideoMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java deleted file mode 100644 index 38d0d95e5..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface AnnotateVideoProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - */ - int getAnnotationProgressCount(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - */ - java.util.List - getAnnotationProgressOrBuilderList(); - /** - *
-   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java deleted file mode 100644 index da8110b02..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface AnnotateVideoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - */ - int getAnnotationResultsCount(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - */ - java.util.List - getAnnotationResultsOrBuilderList(); - /** - *
-   * Annotation results for all videos specified in `AnnotateVideoRequest`.
-   * 
- * - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; - */ - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java deleted file mode 100644 index b2c7c11b9..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface NormalizedVertexOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * @return The x. - */ - float getX(); - - /** - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * @return The y. - */ - float getY(); -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java deleted file mode 100644 index 435b3bb86..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingExplicitContentDetectionConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java deleted file mode 100644 index 828b142f0..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingObjectTrackingConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java deleted file mode 100644 index 9ce7e3f84..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public interface StreamingShotChangeDetectionConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java b/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java deleted file mode 100644 index 06a8911ab..000000000 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java +++ /dev/null @@ -1,1000 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package com.google.cloud.videointelligence.v1p3beta1; - -public final class VideoIntelligenceServiceProto { - private VideoIntelligenceServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/videointelligence/v1p3bet" + - "a1/video_intelligence.proto\022(google.clou" + - "d.videointelligence.v1p3beta1\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032#g" + - "oogle/longrunning/operations.proto\032\036goog" + - "le/protobuf/duration.proto\032\037google/proto" + - "buf/timestamp.proto\032\027google/rpc/status.p" + - "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + - "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + - "res\030\002 \003(\01621.google.cloud.videointelligen" + - "ce.v1p3beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + - "xt\030\003 \001(\01326.google.cloud.videointelligenc" + - "e.v1p3beta1.VideoContext\022\027\n\noutput_uri\030\004" + - " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\200\007\n\014" + - "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + - "cloud.videointelligence.v1p3beta1.VideoS" + - "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + - ".google.cloud.videointelligence.v1p3beta" + - "1.LabelDetectionConfig\022i\n\034shot_change_de" + - "tection_config\030\003 \001(\0132C.google.cloud.vide" + - "ointelligence.v1p3beta1.ShotChangeDetect" + - "ionConfig\022s\n!explicit_content_detection_" + - "config\030\004 \001(\0132H.google.cloud.videointelli" + - "gence.v1p3beta1.ExplicitContentDetection" + - "Config\022\\\n\025face_detection_config\030\005 \001(\0132=." + - "google.cloud.videointelligence.v1p3beta1" + - ".FaceDetectionConfig\022h\n\033speech_transcrip" + - "tion_config\030\006 \001(\0132C.google.cloud.videoin" + - "telligence.v1p3beta1.SpeechTranscription" + - "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + - "google.cloud.videointelligence.v1p3beta1" + - ".TextDetectionConfig\022`\n\027person_detection" + - "_config\030\013 \001(\0132?.google.cloud.videointell" + - "igence.v1p3beta1.PersonDetectionConfig\022^" + - "\n\026object_tracking_config\030\r \001(\0132>.google." + - "cloud.videointelligence.v1p3beta1.Object" + - "TrackingConfig\"\344\001\n\024LabelDetectionConfig\022" + - "Z\n\024label_detection_mode\030\001 \001(\0162<.google.c" + - "loud.videointelligence.v1p3beta1.LabelDe" + - "tectionMode\022\031\n\021stationary_camera\030\002 \001(\010\022\r" + - "\n\005model\030\003 \001(\t\022\"\n\032frame_confidence_thresh" + - "old\030\004 \001(\002\022\"\n\032video_confidence_threshold\030" + - "\005 \001(\002\"*\n\031ShotChangeDetectionConfig\022\r\n\005mo" + - "del\030\001 \001(\t\"%\n\024ObjectTrackingConfig\022\r\n\005mod" + - "el\030\001 \001(\t\"/\n\036ExplicitContentDetectionConf" + - "ig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDetectionConfig" + - "\022\r\n\005model\030\001 \001(\t\022\036\n\026include_bounding_boxe" + - "s\030\002 \001(\010\022\032\n\022include_attributes\030\005 \001(\010\"s\n\025P" + - "ersonDetectionConfig\022\036\n\026include_bounding" + - "_boxes\030\001 \001(\010\022\036\n\026include_pose_landmarks\030\002" + - " \001(\010\022\032\n\022include_attributes\030\003 \001(\010\"<\n\023Text" + - "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\022" + - "\r\n\005model\030\002 \001(\t\"x\n\014VideoSegment\0224\n\021start_" + - "time_offset\030\001 \001(\0132\031.google.protobuf.Dura" + - "tion\0222\n\017end_time_offset\030\002 \001(\0132\031.google.p" + - "rotobuf.Duration\"k\n\014LabelSegment\022G\n\007segm" + - "ent\030\001 \001(\01326.google.cloud.videointelligen" + - "ce.v1p3beta1.VideoSegment\022\022\n\nconfidence\030" + - "\002 \001(\002\"P\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\013" + - "2\031.google.protobuf.Duration\022\022\n\nconfidenc" + - "e\030\002 \001(\002\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013" + - "description\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t" + - "\"\260\002\n\017LabelAnnotation\022@\n\006entity\030\001 \001(\01320.g" + - "oogle.cloud.videointelligence.v1p3beta1." + - "Entity\022K\n\021category_entities\030\002 \003(\01320.goog" + - "le.cloud.videointelligence.v1p3beta1.Ent" + - "ity\022H\n\010segments\030\003 \003(\01326.google.cloud.vid" + - "eointelligence.v1p3beta1.LabelSegment\022D\n" + - "\006frames\030\004 \003(\01324.google.cloud.videointell" + - "igence.v1p3beta1.LabelFrame\"\234\001\n\024Explicit" + - "ContentFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog" + - "le.protobuf.Duration\022T\n\026pornography_like" + - "lihood\030\002 \001(\01624.google.cloud.videointelli" + - "gence.v1p3beta1.Likelihood\"k\n\031ExplicitCo" + - "ntentAnnotation\022N\n\006frames\030\001 \003(\0132>.google" + - ".cloud.videointelligence.v1p3beta1.Expli" + - "citContentFrame\"Q\n\025NormalizedBoundingBox" + - "\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001" + - "(\002\022\016\n\006bottom\030\004 \001(\002\"\317\002\n\021TimestampedObject" + - "\022`\n\027normalized_bounding_box\030\001 \001(\0132?.goog" + - "le.cloud.videointelligence.v1p3beta1.Nor" + - "malizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132" + - "\031.google.protobuf.Duration\022T\n\nattributes" + - "\030\003 \003(\0132;.google.cloud.videointelligence." + - "v1p3beta1.DetectedAttributeB\003\340A\001\022R\n\tland" + - "marks\030\004 \003(\0132:.google.cloud.videointellig" + - "ence.v1p3beta1.DetectedLandmarkB\003\340A\001\"\231\002\n" + - "\005Track\022G\n\007segment\030\001 \001(\01326.google.cloud.v" + - "ideointelligence.v1p3beta1.VideoSegment\022" + - "X\n\023timestamped_objects\030\002 \003(\0132;.google.cl" + - "oud.videointelligence.v1p3beta1.Timestam" + - "pedObject\022T\n\nattributes\030\003 \003(\0132;.google.c" + - "loud.videointelligence.v1p3beta1.Detecte" + - "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + - "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + - "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"D\n\tCelebr" + - "ity\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" + - "\023\n\013description\030\003 \001(\t\"\253\002\n\016CelebrityTrack\022" + - "a\n\013celebrities\030\001 \003(\0132L.google.cloud.vide" + - "ointelligence.v1p3beta1.CelebrityTrack.R" + - "ecognizedCelebrity\022C\n\nface_track\030\003 \001(\0132/" + - ".google.cloud.videointelligence.v1p3beta" + - "1.Track\032q\n\023RecognizedCelebrity\022F\n\tcelebr" + - "ity\030\001 \001(\01323.google.cloud.videointelligen" + - "ce.v1p3beta1.Celebrity\022\022\n\nconfidence\030\002 \001" + - "(\002\"t\n\036CelebrityRecognitionAnnotation\022R\n\020" + - "celebrity_tracks\030\001 \003(\01328.google.cloud.vi" + - "deointelligence.v1p3beta1.CelebrityTrack" + - "\"\177\n\020DetectedLandmark\022\014\n\004name\030\001 \001(\t\022I\n\005po" + - "int\030\002 \001(\0132:.google.cloud.videointelligen" + - "ce.v1p3beta1.NormalizedVertex\022\022\n\nconfide" + - "nce\030\003 \001(\002\"m\n\027FaceDetectionAnnotation\022?\n\006" + - "tracks\030\003 \003(\0132/.google.cloud.videointelli" + - "gence.v1p3beta1.Track\022\021\n\tthumbnail\030\004 \001(\014" + - "\"\\\n\031PersonDetectionAnnotation\022?\n\006tracks\030" + - "\001 \003(\0132/.google.cloud.videointelligence.v" + - "1p3beta1.Track\"\357\013\n\026VideoAnnotationResult" + - "s\022\021\n\tinput_uri\030\001 \001(\t\022G\n\007segment\030\n \001(\01326." + - "google.cloud.videointelligence.v1p3beta1" + - ".VideoSegment\022\\\n\031segment_label_annotatio" + - "ns\030\002 \003(\01329.google.cloud.videointelligenc" + - "e.v1p3beta1.LabelAnnotation\022e\n\"segment_p" + - "resence_label_annotations\030\027 \003(\01329.google" + - ".cloud.videointelligence.v1p3beta1.Label" + - "Annotation\022Y\n\026shot_label_annotations\030\003 \003" + - "(\01329.google.cloud.videointelligence.v1p3" + - "beta1.LabelAnnotation\022b\n\037shot_presence_l" + - "abel_annotations\030\030 \003(\01329.google.cloud.vi" + - "deointelligence.v1p3beta1.LabelAnnotatio" + - "n\022Z\n\027frame_label_annotations\030\004 \003(\01329.goo" + - "gle.cloud.videointelligence.v1p3beta1.La" + - "belAnnotation\022e\n\032face_detection_annotati" + - "ons\030\r \003(\0132A.google.cloud.videointelligen" + - "ce.v1p3beta1.FaceDetectionAnnotation\022P\n\020" + - "shot_annotations\030\006 \003(\01326.google.cloud.vi" + - "deointelligence.v1p3beta1.VideoSegment\022`" + - "\n\023explicit_annotation\030\007 \001(\0132C.google.clo" + - "ud.videointelligence.v1p3beta1.ExplicitC" + - "ontentAnnotation\022\\\n\025speech_transcription" + - "s\030\013 \003(\0132=.google.cloud.videointelligence" + - ".v1p3beta1.SpeechTranscription\022R\n\020text_a" + - "nnotations\030\014 \003(\01328.google.cloud.videoint" + - "elligence.v1p3beta1.TextAnnotation\022^\n\022ob" + - "ject_annotations\030\016 \003(\0132B.google.cloud.vi" + - "deointelligence.v1p3beta1.ObjectTracking" + - "Annotation\022i\n\034logo_recognition_annotatio" + - "ns\030\023 \003(\0132C.google.cloud.videointelligenc" + - "e.v1p3beta1.LogoRecognitionAnnotation\022i\n" + - "\034person_detection_annotations\030\024 \003(\0132C.go" + - "ogle.cloud.videointelligence.v1p3beta1.P" + - "ersonDetectionAnnotation\022s\n!celebrity_re" + - "cognition_annotations\030\025 \001(\0132H.google.clo" + - "ud.videointelligence.v1p3beta1.Celebrity" + - "RecognitionAnnotation\022!\n\005error\030\t \001(\0132\022.g" + - "oogle.rpc.Status\"u\n\025AnnotateVideoRespons" + - "e\022\\\n\022annotation_results\030\001 \003(\0132@.google.c" + - "loud.videointelligence.v1p3beta1.VideoAn" + - "notationResults\"\264\002\n\027VideoAnnotationProgr" + - "ess\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_perce" + - "nt\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032." + - "google.protobuf.Timestamp\022B\n\007feature\030\005 \001" + - "(\01621.google.cloud.videointelligence.v1p3" + - "beta1.Feature\022G\n\007segment\030\006 \001(\01326.google." + - "cloud.videointelligence.v1p3beta1.VideoS" + - "egment\"w\n\025AnnotateVideoProgress\022^\n\023annot" + - "ation_progress\030\001 \003(\0132A.google.cloud.vide" + - "ointelligence.v1p3beta1.VideoAnnotationP" + - "rogress\"\210\003\n\031SpeechTranscriptionConfig\022\032\n" + - "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + - "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + - "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + - "e.cloud.videointelligence.v1p3beta1.Spee" + - "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + - "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + - "\003\340A\001\022\'\n\032enable_speaker_diarization\030\007 \001(\010" + - "B\003\340A\001\022&\n\031diarization_speaker_count\030\010 \001(\005" + - "B\003\340A\001\022#\n\026enable_word_confidence\030\t \001(\010B\003\340" + - "A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003\340A" + - "\001\"\217\001\n\023SpeechTranscription\022\\\n\014alternative" + - "s\030\001 \003(\0132F.google.cloud.videointelligence" + - ".v1p3beta1.SpeechRecognitionAlternative\022" + - "\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\223\001\n\034SpeechRe" + - "cognitionAlternative\022\022\n\ntranscript\030\001 \001(\t" + - "\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022F\n\005words\030\003 \003(\013" + - "22.google.cloud.videointelligence.v1p3be" + - "ta1.WordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_" + - "time\030\001 \001(\0132\031.google.protobuf.Duration\022+\n" + - "\010end_time\030\002 \001(\0132\031.google.protobuf.Durati" + - "on\022\014\n\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A" + - "\003\022\030\n\013speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020Normalize" + - "dVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"f\n\026Normali" + - "zedBoundingPoly\022L\n\010vertices\030\001 \003(\0132:.goog" + - "le.cloud.videointelligence.v1p3beta1.Nor" + - "malizedVertex\"\257\001\n\013TextSegment\022G\n\007segment" + - "\030\001 \001(\01326.google.cloud.videointelligence." + - "v1p3beta1.VideoSegment\022\022\n\nconfidence\030\002 \001" + - "(\002\022C\n\006frames\030\003 \003(\01323.google.cloud.videoi" + - "ntelligence.v1p3beta1.TextFrame\"\233\001\n\tText" + - "Frame\022^\n\024rotated_bounding_box\030\001 \001(\0132@.go" + - "ogle.cloud.videointelligence.v1p3beta1.N" + - "ormalizedBoundingPoly\022.\n\013time_offset\030\002 \001" + - "(\0132\031.google.protobuf.Duration\"g\n\016TextAnn" + - "otation\022\014\n\004text\030\001 \001(\t\022G\n\010segments\030\002 \003(\0132" + - "5.google.cloud.videointelligence.v1p3bet" + - "a1.TextSegment\"\247\001\n\023ObjectTrackingFrame\022`" + - "\n\027normalized_bounding_box\030\001 \001(\0132?.google" + - ".cloud.videointelligence.v1p3beta1.Norma" + - "lizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031." + - "google.protobuf.Duration\"\254\002\n\030ObjectTrack" + - "ingAnnotation\022I\n\007segment\030\003 \001(\01326.google." + - "cloud.videointelligence.v1p3beta1.VideoS" + - "egmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\022@\n\006entity\030\001" + - " \001(\01320.google.cloud.videointelligence.v1" + - "p3beta1.Entity\022\022\n\nconfidence\030\004 \001(\002\022M\n\006fr" + - "ames\030\002 \003(\0132=.google.cloud.videointellige" + - "nce.v1p3beta1.ObjectTrackingFrameB\014\n\ntra" + - "ck_info\"\350\001\n\031LogoRecognitionAnnotation\022@\n" + - "\006entity\030\001 \001(\01320.google.cloud.videointell" + - "igence.v1p3beta1.Entity\022?\n\006tracks\030\002 \003(\0132" + - "/.google.cloud.videointelligence.v1p3bet" + - "a1.Track\022H\n\010segments\030\003 \003(\01326.google.clou" + - "d.videointelligence.v1p3beta1.VideoSegme" + - "nt\"\245\001\n\035StreamingAnnotateVideoRequest\022V\n\014" + - "video_config\030\001 \001(\0132>.google.cloud.videoi" + - "ntelligence.v1p3beta1.StreamingVideoConf" + - "igH\000\022\027\n\rinput_content\030\002 \001(\014H\000B\023\n\021streami" + - "ng_request\"\212\010\n\024StreamingVideoConfig\022t\n\034s" + - "hot_change_detection_config\030\002 \001(\0132L.goog" + - "le.cloud.videointelligence.v1p3beta1.Str" + - "eamingShotChangeDetectionConfigH\000\022i\n\026lab" + - "el_detection_config\030\003 \001(\0132G.google.cloud" + - ".videointelligence.v1p3beta1.StreamingLa" + - "belDetectionConfigH\000\022~\n!explicit_content" + - "_detection_config\030\004 \001(\0132Q.google.cloud.v" + - "ideointelligence.v1p3beta1.StreamingExpl" + - "icitContentDetectionConfigH\000\022i\n\026object_t" + - "racking_config\030\005 \001(\0132G.google.cloud.vide" + - "ointelligence.v1p3beta1.StreamingObjectT" + - "rackingConfigH\000\022|\n automl_action_recogni" + - "tion_config\030\027 \001(\0132P.google.cloud.videoin" + - "telligence.v1p3beta1.StreamingAutomlActi" + - "onRecognitionConfigH\000\022u\n\034automl_classifi" + - "cation_config\030\025 \001(\0132M.google.cloud.video" + - "intelligence.v1p3beta1.StreamingAutomlCl" + - "assificationConfigH\000\022v\n\035automl_object_tr" + - "acking_config\030\026 \001(\0132M.google.cloud.video" + - "intelligence.v1p3beta1.StreamingAutomlOb" + - "jectTrackingConfigH\000\022K\n\007feature\030\001 \001(\0162:." + - "google.cloud.videointelligence.v1p3beta1" + - ".StreamingFeature\022X\n\016storage_config\030\036 \001(" + - "\0132@.google.cloud.videointelligence.v1p3b" + - "eta1.StreamingStorageConfigB\022\n\020streaming" + - "_config\"\312\001\n\036StreamingAnnotateVideoRespon" + - "se\022!\n\005error\030\001 \001(\0132\022.google.rpc.Status\022e\n" + - "\022annotation_results\030\002 \001(\0132I.google.cloud" + - ".videointelligence.v1p3beta1.StreamingVi" + - "deoAnnotationResults\022\036\n\026annotation_resul" + - "ts_uri\030\003 \001(\t\"\213\003\n\037StreamingVideoAnnotatio" + - "nResults\022P\n\020shot_annotations\030\001 \003(\01326.goo" + - "gle.cloud.videointelligence.v1p3beta1.Vi" + - "deoSegment\022T\n\021label_annotations\030\002 \003(\01329." + - "google.cloud.videointelligence.v1p3beta1" + - ".LabelAnnotation\022`\n\023explicit_annotation\030" + - "\003 \001(\0132C.google.cloud.videointelligence.v" + - "1p3beta1.ExplicitContentAnnotation\022^\n\022ob" + - "ject_annotations\030\004 \003(\0132B.google.cloud.vi" + - "deointelligence.v1p3beta1.ObjectTracking" + - "Annotation\"$\n\"StreamingShotChangeDetecti" + - "onConfig\":\n\035StreamingLabelDetectionConfi" + - "g\022\031\n\021stationary_camera\030\001 \001(\010\")\n\'Streamin" + - "gExplicitContentDetectionConfig\"\037\n\035Strea" + - "mingObjectTrackingConfig\"<\n&StreamingAut" + - "omlActionRecognitionConfig\022\022\n\nmodel_name" + - "\030\001 \001(\t\"9\n#StreamingAutomlClassificationC" + - "onfig\022\022\n\nmodel_name\030\001 \001(\t\"9\n#StreamingAu" + - "tomlObjectTrackingConfig\022\022\n\nmodel_name\030\001" + - " \001(\t\"o\n\026StreamingStorageConfig\022(\n enable" + - "_storage_annotation_result\030\001 \001(\010\022+\n#anno" + - "tation_result_storage_directory\030\003 \001(\t*r\n" + - "\022LabelDetectionMode\022$\n LABEL_DETECTION_M" + - "ODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAM" + - "E_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLik" + - "elihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rV" + - "ERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE" + - "\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*\266\002\n\020Stre" + - "amingFeature\022!\n\035STREAMING_FEATURE_UNSPEC" + - "IFIED\020\000\022\035\n\031STREAMING_LABEL_DETECTION\020\001\022#" + - "\n\037STREAMING_SHOT_CHANGE_DETECTION\020\002\022(\n$S" + - "TREAMING_EXPLICIT_CONTENT_DETECTION\020\003\022\035\n" + - "\031STREAMING_OBJECT_TRACKING\020\004\022\'\n#STREAMIN" + - "G_AUTOML_ACTION_RECOGNITION\020\027\022#\n\037STREAMI" + - "NG_AUTOML_CLASSIFICATION\020\025\022$\n STREAMING_" + - "AUTOML_OBJECT_TRACKING\020\026*\220\002\n\007Feature\022\027\n\023" + - "FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION" + - "\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICI" + - "T_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTION\020" + - "\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_DETE" + - "CTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_REC" + - "OGNITION\020\014\022\031\n\025CELEBRITY_RECOGNITION\020\r\022\024\n" + - "\020PERSON_DETECTION\020\0162\316\002\n\030VideoIntelligenc" + - "eService\022\333\001\n\rAnnotateVideo\022>.google.clou" + - "d.videointelligence.v1p3beta1.AnnotateVi" + - "deoRequest\032\035.google.longrunning.Operatio" + - "n\"k\202\323\344\223\002\037\"\032/v1p3beta1/videos:annotate:\001*" + - "\332A\022input_uri,features\312A.\n\025AnnotateVideoR" + - "esponse\022\025AnnotateVideoProgress\032T\312A video" + - "intelligence.googleapis.com\322A.https://ww" + - "w.googleapis.com/auth/cloud-platform2\255\002\n" + - "!StreamingVideoIntelligenceService\022\261\001\n\026S" + - "treamingAnnotateVideo\022G.google.cloud.vid" + - "eointelligence.v1p3beta1.StreamingAnnota" + - "teVideoRequest\032H.google.cloud.videointel" + - "ligence.v1p3beta1.StreamingAnnotateVideo" + - "Response\"\000(\0010\001\032T\312A videointelligence.goo" + - "gleapis.com\322A.https://www.googleapis.com" + - "/auth/cloud-platformB\256\002\n,com.google.clou" + - "d.videointelligence.v1p3beta1B\035VideoInte" + - "lligenceServiceProtoP\001ZYgoogle.golang.or" + - "g/genproto/googleapis/cloud/videointelli" + - "gence/v1p3beta1;videointelligence\252\002(Goog" + - "le.Cloud.VideoIntelligence.V1P3Beta1\312\002(G" + - "oogle\\Cloud\\VideoIntelligence\\V1p3beta1\352" + - "\002+Google::Cloud::VideoIntelligence::V1p3" + - "beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor, - new java.lang.String[] { "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor, - new java.lang.String[] { "Segments", "LabelDetectionConfig", "ShotChangeDetectionConfig", "ExplicitContentDetectionConfig", "FaceDetectionConfig", "SpeechTranscriptionConfig", "TextDetectionConfig", "PersonDetectionConfig", "ObjectTrackingConfig", }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor, - new java.lang.String[] { "LabelDetectionMode", "StationaryCamera", "Model", "FrameConfidenceThreshold", "VideoConfidenceThreshold", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { "Model", }); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor, - new java.lang.String[] { "Model", "IncludeBoundingBoxes", "IncludeAttributes", }); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor, - new java.lang.String[] { "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor, - new java.lang.String[] { "LanguageHints", "Model", }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor, - new java.lang.String[] { "StartTimeOffset", "EndTimeOffset", }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor, - new java.lang.String[] { "TimeOffset", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor, - new java.lang.String[] { "EntityId", "Description", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor, - new java.lang.String[] { "Entity", "CategoryEntities", "Segments", "Frames", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor, - new java.lang.String[] { "TimeOffset", "PornographyLikelihood", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor, - new java.lang.String[] { "Frames", }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor, - new java.lang.String[] { "Left", "Top", "Right", "Bottom", }); - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor, - new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", }); - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor, - new java.lang.String[] { "Segment", "TimestampedObjects", "Attributes", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor, - new java.lang.String[] { "Name", "Confidence", "Value", }); - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor, - new java.lang.String[] { "Celebrities", "FaceTrack", }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor = - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor, - new java.lang.String[] { "Celebrity", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor, - new java.lang.String[] { "CelebrityTracks", }); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor, - new java.lang.String[] { "Name", "Point", "Confidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor, - new java.lang.String[] { "Tracks", "Thumbnail", }); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor, - new java.lang.String[] { "Tracks", }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor, - new java.lang.String[] { "InputUri", "Segment", "SegmentLabelAnnotations", "SegmentPresenceLabelAnnotations", "ShotLabelAnnotations", "ShotPresenceLabelAnnotations", "FrameLabelAnnotations", "FaceDetectionAnnotations", "ShotAnnotations", "ExplicitAnnotation", "SpeechTranscriptions", "TextAnnotations", "ObjectAnnotations", "LogoRecognitionAnnotations", "PersonDetectionAnnotations", "CelebrityRecognitionAnnotations", "Error", }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor, - new java.lang.String[] { "AnnotationResults", }); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor, - new java.lang.String[] { "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", }); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor, - new java.lang.String[] { "AnnotationProgress", }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor, - new java.lang.String[] { "LanguageCode", "MaxAlternatives", "FilterProfanity", "SpeechContexts", "EnableAutomaticPunctuation", "AudioTracks", "EnableSpeakerDiarization", "DiarizationSpeakerCount", "EnableWordConfidence", }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor, - new java.lang.String[] { "Phrases", }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor, - new java.lang.String[] { "Alternatives", "LanguageCode", }); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor, - new java.lang.String[] { "Transcript", "Confidence", "Words", }); - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor, - new java.lang.String[] { "X", "Y", }); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor, - new java.lang.String[] { "Vertices", }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor, - new java.lang.String[] { "Segment", "Confidence", "Frames", }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor, - new java.lang.String[] { "RotatedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor, - new java.lang.String[] { "Text", "Segments", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor, - new java.lang.String[] { "NormalizedBoundingBox", "TimeOffset", }); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor, - new java.lang.String[] { "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", }); - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor, - new java.lang.String[] { "Entity", "Tracks", "Segments", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor, - new java.lang.String[] { "VideoConfig", "InputContent", "StreamingRequest", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor, - new java.lang.String[] { "ShotChangeDetectionConfig", "LabelDetectionConfig", "ExplicitContentDetectionConfig", "ObjectTrackingConfig", "AutomlActionRecognitionConfig", "AutomlClassificationConfig", "AutomlObjectTrackingConfig", "Feature", "StorageConfig", "StreamingConfig", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor, - new java.lang.String[] { "Error", "AnnotationResults", "AnnotationResultsUri", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor, - new java.lang.String[] { "ShotAnnotations", "LabelAnnotations", "ExplicitAnnotation", "ObjectAnnotations", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor, - new java.lang.String[] { "StationaryCamera", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor, - new java.lang.String[] { "ModelName", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor, - new java.lang.String[] { "ModelName", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor, - new java.lang.String[] { "ModelName", }); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor, - new java.lang.String[] { "EnableStorageAnnotationResult", "AnnotationResultStorageDirectory", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java index 98bbe232e..1fb6110d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationProgress_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationProgress_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.VideoAnnotationProgress>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationProgress_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.VideoAnnotationProgress.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationProgress_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.VideoAnnotationProgress.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -89,80 +110,108 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class,
+            com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List annotationProgress_;
+  private java.util.List
+      annotationProgress_;
   /**
+   *
+   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress( + int index) { return annotationProgress_.get(index); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationProgress_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoProgress other = + (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList() - .equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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; } /** + * + * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,21 +384,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.class,
+              com.google.cloud.videointelligence.v1.AnnotateVideoProgress.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoProgress.newBuilder()
@@ -350,17 +408,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) {
         getAnnotationProgressFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +432,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +453,8 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoProgress build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1.AnnotateVideoProgress result =
+          new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,38 +473,39 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoProgress 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.videointelligence.v1.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoProgress)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoProgress.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoProgress.getDefaultInstance())
+        return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -472,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoProg
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationProgressFieldBuilder() : null;
+            annotationProgressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationProgressFieldBuilder()
+                    : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -499,7 +561,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.AnnotateVideoProgress) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +571,40 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationProgress_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationProgress_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
+        annotationProgress_ =
+            new java.util.ArrayList(
+                annotationProgress_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
+            com.google.cloud.videointelligence.v1.VideoAnnotationProgress,
+            com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder,
+            com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>
+        annotationProgressBuilder_;
 
     /**
+     *
+     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -537,11 +612,15 @@ public java.util.List * Progress metadata for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -551,13 +630,18 @@ public int getAnnotationProgressCount() { } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress( + int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -565,11 +649,15 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotati } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { @@ -586,14 +674,19 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( - int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -604,13 +697,18 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress( + com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +722,15 @@ public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1.Video return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress value) { @@ -645,11 +747,15 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { @@ -663,14 +769,19 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - int index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -681,18 +792,22 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAllAnnotationProgress( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -700,11 +815,15 @@ public Builder addAllAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -717,11 +836,15 @@ public Builder clearAnnotationProgress() { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -734,39 +857,53 @@ public Builder removeAnnotationProgress(int index) { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder + getAnnotationProgressBuilder(int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); } else { + return annotationProgress_.get(index); + } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +911,67 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder ge } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( - int index) { - return getAnnotationProgressFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder(int index) { + return getAnnotationProgressFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +980,9 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder add } return annotationProgressBuilder_; } + @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); } @@ -833,12 +992,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoProgress) private static final com.google.cloud.videointelligence.v1.AnnotateVideoProgress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoProgress(); } @@ -847,16 +1006,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoProgress getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -871,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..9de663cc7 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,89 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface AnnotateVideoProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1.VideoAnnotationProgress getAnnotationProgress(int index); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + */ + int getAnnotationProgressCount(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressOrBuilderList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java index dd13d0f95..18e04b678 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -29,16 +47,15 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,81 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - features_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 26: { - com.google.cloud.videointelligence.v1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + features_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 26: + { + com.google.cloud.videointelligence.v1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); + } + videoContext_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - outputUri_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: { + outputUri_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - inputContent_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + case 50: + { + inputContent_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +157,7 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -141,22 +166,27 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -172,6 +202,7 @@ private AnnotateVideoRequest(
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -180,14 +211,15 @@ 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 video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -203,16 +235,15 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; + * * @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 { @@ -223,6 +254,8 @@ public java.lang.String getInputUri() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -230,6 +263,7 @@ public java.lang.String getInputUri() {
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -240,34 +274,49 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature> features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature> + features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>() { public com.google.cloud.videointelligence.v1.Feature convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(from); - return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1.Feature result = + com.google.cloud.videointelligence.v1.Feature.valueOf(from); + return result == null + ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>( + features_, features_converter_); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ @java.lang.Override @@ -275,11 +324,16 @@ public int getFeaturesCount() { return features_.size(); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -288,24 +342,33 @@ public com.google.cloud.videointelligence.v1.Feature getFeatures(int index) { return features_converter_.convert(features_.get(index)); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return features_; } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -313,16 +376,20 @@ public com.google.cloud.videointelligence.v1.Feature getFeatures(int index) { public int getFeaturesValue(int index) { return features_.get(index); } + private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1.VideoContext videoContext_; /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -330,18 +397,25 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoContext getVideoContext() { - return videoContext_ == null ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() + : videoContext_; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -356,6 +430,8 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -367,6 +443,7 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ @java.lang.Override @@ -375,14 +452,15 @@ 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; } } /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -394,16 +472,15 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -414,6 +491,8 @@ public java.lang.String getOutputUri() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -422,6 +501,7 @@ public java.lang.String getOutputUri() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ @java.lang.Override @@ -430,14 +510,15 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -446,16 +527,15 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -464,6 +544,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,8 +556,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -515,18 +595,17 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -535,8 +614,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -546,27 +624,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.videointelligence.v1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext() - .equals(other.getVideoContext())) return false; + if (!getVideoContext().equals(other.getVideoContext())) return false; } - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOutputUri().equals(other.getOutputUri())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -600,117 +674,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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; } /** + * + * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoRequest} */ - 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.videointelligence.v1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1.AnnotateVideoRequest.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoRequest.newBuilder() @@ -718,16 +802,15 @@ 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(); @@ -751,9 +834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; } @java.lang.Override @@ -772,7 +855,8 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoRequest build() { @java.lang.Override public com.google.cloud.videointelligence.v1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1.AnnotateVideoRequest result = + new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -796,38 +880,39 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoRequest 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.videointelligence.v1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoRequest)other); + return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoRequest) other); } else { super.mergeFrom(other); return this; @@ -835,7 +920,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.AnnotateVideoRequest.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -883,7 +969,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.AnnotateVideoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -892,10 +979,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -911,13 +1001,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; + * * @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; @@ -926,6 +1016,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -941,15 +1033,14 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 { @@ -957,6 +1048,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -972,20 +1065,22 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1001,15 +1096,18 @@ public Builder setInputUri(
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1025,16 +1123,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; + * * @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; @@ -1042,6 +1140,8 @@ public Builder setInputUriBytes( private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1049,6 +1149,7 @@ public Builder setInputUriBytes(
      * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -1056,6 +1157,8 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1063,19 +1166,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1083,17 +1189,18 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; + * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = - java.util.Collections.emptyList(); + private java.util.List features_ = java.util.Collections.emptyList(); + private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1101,34 +1208,50 @@ private void ensureFeaturesIsMutable() { } } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1.Feature>( + features_, features_converter_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -1136,17 +1259,21 @@ public com.google.cloud.videointelligence.v1.Feature getFeatures(int index) { return features_converter_.convert(features_.get(index)); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. */ - public Builder setFeatures( - int index, com.google.cloud.videointelligence.v1.Feature value) { + public Builder setFeatures(int index, com.google.cloud.videointelligence.v1.Feature value) { if (value == null) { throw new NullPointerException(); } @@ -1156,11 +1283,16 @@ public Builder setFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The features to add. * @return This builder for chaining. */ @@ -1174,11 +1306,16 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1.Feature value) return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The features to add. * @return This builder for chaining. */ @@ -1192,11 +1329,16 @@ public Builder addAllFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1206,23 +1348,32 @@ public Builder clearFeatures() { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1230,28 +1381,37 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue( - int index, int value) { + public Builder setFeaturesValue(int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1262,16 +1422,20 @@ public Builder addFeaturesValue(int value) { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue( - java.lang.Iterable values) { + public Builder addAllFeaturesValue(java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1282,34 +1446,47 @@ public Builder addAllFeaturesValue( private com.google.cloud.videointelligence.v1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder> videoContextBuilder_; + com.google.cloud.videointelligence.v1.VideoContext, + com.google.cloud.videointelligence.v1.VideoContext.Builder, + com.google.cloud.videointelligence.v1.VideoContextOrBuilder> + videoContextBuilder_; /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return The videoContext. */ public com.google.cloud.videointelligence.v1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() + : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1330,6 +1507,8 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1.VideoContex return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1348,6 +1527,8 @@ public Builder setVideoContext( return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1358,7 +1539,9 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1.VideoCont if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoContext.newBuilder(videoContext_) + .mergeFrom(value) + .buildPartial(); } else { videoContext_ = value; } @@ -1370,6 +1553,8 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1.VideoCont return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1388,6 +1573,8 @@ public Builder clearVideoContext() { return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1395,11 +1582,13 @@ public Builder clearVideoContext() { * .google.cloud.videointelligence.v1.VideoContext video_context = 3; */ public com.google.cloud.videointelligence.v1.VideoContext.Builder getVideoContextBuilder() { - + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1410,11 +1599,14 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null ? - com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance() + : videoContext_; } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1422,14 +1614,17 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte * .google.cloud.videointelligence.v1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1.VideoContext, + com.google.cloud.videointelligence.v1.VideoContext.Builder, + com.google.cloud.videointelligence.v1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoContext, com.google.cloud.videointelligence.v1.VideoContext.Builder, com.google.cloud.videointelligence.v1.VideoContextOrBuilder>( - getVideoContext(), - getParentForChildren(), - isClean()); + videoContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoContext, + com.google.cloud.videointelligence.v1.VideoContext.Builder, + com.google.cloud.videointelligence.v1.VideoContextOrBuilder>( + getVideoContext(), getParentForChildren(), isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1437,6 +1632,8 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte private java.lang.Object outputUri_ = ""; /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1448,13 +1645,13 @@ public com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoConte
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1463,6 +1660,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1474,15 +1673,14 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1490,6 +1688,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1501,20 +1701,22 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1526,15 +1728,18 @@ public Builder setOutputUri(
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1546,16 +1751,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1563,6 +1768,8 @@ public Builder setOutputUriBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1571,13 +1778,13 @@ public Builder setOutputUriBytes(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1586,6 +1793,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1594,15 +1803,14 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1610,6 +1818,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1618,20 +1828,22 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1640,15 +1852,18 @@ public Builder setLocationId(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1657,23 +1872,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1683,12 +1898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoRequest) private static final com.google.cloud.videointelligence.v1.AnnotateVideoRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoRequest(); } @@ -1697,16 +1912,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1721,6 +1936,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java index c01cb4d60..3868569cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface AnnotateVideoRequestOrBuilder extends +public interface AnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -23,10 +41,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -42,12 +63,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -55,78 +78,111 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ java.util.List getFeaturesList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ int getFeaturesCount(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1.Feature getFeatures(int index); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - java.util.List - getFeaturesValueList(); + java.util.List getFeaturesValueList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1.VideoContext video_context = 3; + * * @return The videoContext. */ com.google.cloud.videointelligence.v1.VideoContext getVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -136,6 +192,8 @@ public interface AnnotateVideoRequestOrBuilder extends com.google.cloud.videointelligence.v1.VideoContextOrBuilder getVideoContextOrBuilder(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -147,10 +205,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ java.lang.String getOutputUri(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -162,12 +223,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString - getOutputUriBytes(); + com.google.protobuf.ByteString getOutputUriBytes(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -176,10 +239,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -188,8 +254,8 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java index e38f09933..92d5e40b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.VideoAnnotationResults>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationResults_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.VideoAnnotationResults.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationResults_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.VideoAnnotationResults.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -89,80 +110,108 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List annotationResults_;
+  private java.util.List
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults( + int index) { return annotationResults_.get(index); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1.AnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList() - .equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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; } /** + * + * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,21 +384,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1.AnnotateVideoResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.AnnotateVideoResponse.newBuilder()
@@ -350,17 +408,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) {
         getAnnotationResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +432,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +453,8 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoResponse build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1.AnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,38 +473,39 @@ public com.google.cloud.videointelligence.v1.AnnotateVideoResponse 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.videointelligence.v1.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoResponse)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.AnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.AnnotateVideoResponse.getDefaultInstance())
+        return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -472,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.AnnotateVideoResp
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationResultsFieldBuilder() : null;
+            annotationResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationResultsFieldBuilder()
+                    : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -499,7 +561,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.AnnotateVideoResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +571,40 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationResults_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ = new java.util.ArrayList(annotationResults_);
+        annotationResults_ =
+            new java.util.ArrayList(
+                annotationResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1.VideoAnnotationResults,
+            com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -537,11 +612,15 @@ public java.util.List * Annotation results for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -551,13 +630,18 @@ public int getAnnotationResultsCount() { } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults( + int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -565,11 +649,15 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotatio } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { @@ -586,14 +674,19 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( - int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -604,13 +697,18 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public Builder addAnnotationResults(com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { + public Builder addAnnotationResults( + com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +722,15 @@ public Builder addAnnotationResults(com.google.cloud.videointelligence.v1.VideoA return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults value) { @@ -645,11 +747,15 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { @@ -663,14 +769,19 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - int index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -681,18 +792,22 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAllAnnotationResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -700,11 +815,15 @@ public Builder addAllAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -717,11 +836,15 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -734,39 +857,53 @@ public Builder removeAnnotationResults(int index) { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder + getAnnotationResultsBuilder(int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); } else { + return annotationResults_.get(index); + } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +911,67 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder get } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( - int index) { - return getAnnotationResultsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder(int index) { + return getAnnotationResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoAnnotationResults, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +980,9 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder addA } return annotationResultsBuilder_; } + @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); } @@ -833,12 +992,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoResponse) private static final com.google.cloud.videointelligence.v1.AnnotateVideoResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.AnnotateVideoResponse(); } @@ -847,16 +1006,16 @@ public static com.google.cloud.videointelligence.v1.AnnotateVideoResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -871,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.AnnotateVideoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..6b246033a --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,89 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface AnnotateVideoResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1.VideoAnnotationResults getAnnotationResults(int index); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + */ + int getAnnotationResultsCount(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsOrBuilderList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java index 4bec75d33..3f69c98be 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * A generic detected attribute represented by name in string format.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.DetectedAttribute} */ -public final class DetectedAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DetectedAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.DetectedAttribute) DetectedAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DetectedAttribute.newBuilder() to construct. private DetectedAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DetectedAttribute() { name_ = ""; value_ = ""; @@ -26,16 +44,15 @@ private DetectedAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DetectedAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DetectedAttribute( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private DetectedAttribute( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 21: + { + confidence_ = input.readFloat(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,40 @@ private DetectedAttribute( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.DetectedAttribute.class, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1.DetectedAttribute.class, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -122,30 +146,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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * 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 { @@ -156,11 +180,14 @@ public java.lang.String getName() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -171,12 +198,15 @@ public float getConfidence() { public static final int VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object value_; /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The value. */ @java.lang.Override @@ -185,30 +215,30 @@ public java.lang.String getValue() { 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(); value_ = s; return s; } } /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -217,6 +247,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +259,7 @@ 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_); } @@ -252,8 +282,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -266,20 +295,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.videointelligence.v1.DetectedAttribute)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.DetectedAttribute other = (com.google.cloud.videointelligence.v1.DetectedAttribute) obj; + com.google.cloud.videointelligence.v1.DetectedAttribute other = + (com.google.cloud.videointelligence.v1.DetectedAttribute) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getValue() - .equals(other.getValue())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,8 +321,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -304,117 +330,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.DetectedAttribute parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.DetectedAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.DetectedAttribute 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; } /** + * + * *
    * A generic detected attribute represented by name in string format.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.DetectedAttribute} */ - 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.videointelligence.v1.DetectedAttribute) com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.DetectedAttribute.class, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1.DetectedAttribute.class, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.DetectedAttribute.newBuilder() @@ -422,16 +458,15 @@ 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(); @@ -445,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; } @java.lang.Override @@ -466,7 +501,8 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute build() { @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute buildPartial() { - com.google.cloud.videointelligence.v1.DetectedAttribute result = new com.google.cloud.videointelligence.v1.DetectedAttribute(this); + com.google.cloud.videointelligence.v1.DetectedAttribute result = + new com.google.cloud.videointelligence.v1.DetectedAttribute(this); result.name_ = name_; result.confidence_ = confidence_; result.value_ = value_; @@ -478,38 +514,39 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute 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.videointelligence.v1.DetectedAttribute) { - return mergeFrom((com.google.cloud.videointelligence.v1.DetectedAttribute)other); + return mergeFrom((com.google.cloud.videointelligence.v1.DetectedAttribute) other); } else { super.mergeFrom(other); return this; @@ -517,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.DetectedAttribute other) { - if (other == com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -548,7 +586,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.DetectedAttribute) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.DetectedAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,19 +599,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; @@ -581,21 +622,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 { @@ -603,69 +645,79 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -673,30 +725,36 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; @@ -704,19 +762,21 @@ public Builder clearConfidence() { private java.lang.Object value_ = ""; /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; @@ -725,21 +785,22 @@ public java.lang.String getValue() { } } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -747,64 +808,71 @@ public java.lang.String getValue() { } } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -814,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.DetectedAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.DetectedAttribute) private static final com.google.cloud.videointelligence.v1.DetectedAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.DetectedAttribute(); } @@ -828,16 +896,16 @@ public static com.google.cloud.videointelligence.v1.DetectedAttribute getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedAttribute(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedAttribute(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,6 +920,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.DetectedAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java index 2644be6e0..96ead23cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java @@ -1,63 +1,92 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface DetectedAttributeOrBuilder extends +public interface DetectedAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.DetectedAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java index a5afade82..80afeadc0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * A generic detected landmark represented by name in string format and a 2D
  * location.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.DetectedLandmark}
  */
-public final class DetectedLandmark extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DetectedLandmark extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.DetectedLandmark)
     DetectedLandmarkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DetectedLandmark.newBuilder() to construct.
   private DetectedLandmark(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DetectedLandmark() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DetectedLandmark();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DetectedLandmark(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,37 +71,42 @@ private DetectedLandmark(
           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: {
-            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder subBuilder = null;
-            if (point_ != null) {
-              subBuilder = point_.toBuilder();
+              name_ = s;
+              break;
             }
-            point_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedVertex.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(point_);
-              point_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.videointelligence.v1.NormalizedVertex.Builder subBuilder = null;
+              if (point_ != null) {
+                subBuilder = point_.toBuilder();
+              }
+              point_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.NormalizedVertex.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(point_);
+                point_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 29: {
-
-            confidence_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 29:
+            {
+              confidence_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,34 +114,39 @@ private DetectedLandmark(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.DetectedLandmark.class, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
+            com.google.cloud.videointelligence.v1.DetectedLandmark.class,
+            com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -128,29 +155,29 @@ 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 name of this landmark, for example, left_hand, right_shoulder.
    * 
* * 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 { @@ -161,12 +188,15 @@ public java.lang.String getName() { public static final int POINT_FIELD_NUMBER = 2; private com.google.cloud.videointelligence.v1.NormalizedVertex point_; /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ @java.lang.Override @@ -174,19 +204,26 @@ public boolean hasPoint() { return point_ != null; } /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return The point. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedVertex getPoint() { - return point_ == null ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_; + return point_ == null + ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() + : point_; } /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -202,11 +239,14 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
   public static final int CONFIDENCE_FIELD_NUMBER = 3;
   private float confidence_;
   /**
+   *
+   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; + * * @return The confidence. */ @java.lang.Override @@ -215,6 +255,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +267,7 @@ 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_); } @@ -250,12 +290,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (point_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPoint()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -265,23 +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.videointelligence.v1.DetectedLandmark)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.DetectedLandmark other = (com.google.cloud.videointelligence.v1.DetectedLandmark) obj; + com.google.cloud.videointelligence.v1.DetectedLandmark other = + (com.google.cloud.videointelligence.v1.DetectedLandmark) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasPoint() != other.hasPoint()) return false; if (hasPoint()) { - if (!getPoint() - .equals(other.getPoint())) return false; + if (!getPoint().equals(other.getPoint())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,104 +336,111 @@ public int hashCode() { hash = (53 * hash) + getPoint().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.DetectedLandmark parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.DetectedLandmark parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.DetectedLandmark 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; } /** + * + * *
    * A generic detected landmark represented by name in string format and a 2D
    * location.
@@ -405,21 +448,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.DetectedLandmark}
    */
-  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.videointelligence.v1.DetectedLandmark)
       com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.DetectedLandmark.class, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
+              com.google.cloud.videointelligence.v1.DetectedLandmark.class,
+              com.google.cloud.videointelligence.v1.DetectedLandmark.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.DetectedLandmark.newBuilder()
@@ -427,16 +472,15 @@ 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();
@@ -454,9 +498,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
@@ -475,7 +519,8 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.DetectedLandmark buildPartial() {
-      com.google.cloud.videointelligence.v1.DetectedLandmark result = new com.google.cloud.videointelligence.v1.DetectedLandmark(this);
+      com.google.cloud.videointelligence.v1.DetectedLandmark result =
+          new com.google.cloud.videointelligence.v1.DetectedLandmark(this);
       result.name_ = name_;
       if (pointBuilder_ == null) {
         result.point_ = point_;
@@ -491,38 +536,39 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark 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.videointelligence.v1.DetectedLandmark) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.DetectedLandmark)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.DetectedLandmark) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -530,7 +576,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.DetectedLandmark other) {
-      if (other == com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -560,7 +607,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.DetectedLandmark) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.DetectedLandmark) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -572,18 +620,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -592,20 +642,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 { @@ -613,54 +664,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 name of this landmark, for example, left_hand, right_shoulder.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -668,36 +726,49 @@ public Builder setNameBytes( private com.google.cloud.videointelligence.v1.NormalizedVertex point_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> pointBuilder_; + com.google.cloud.videointelligence.v1.NormalizedVertex, + com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> + pointBuilder_; /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ public boolean hasPoint() { return pointBuilder_ != null || point_ != null; } /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return The point. */ public com.google.cloud.videointelligence.v1.NormalizedVertex getPoint() { if (pointBuilder_ == null) { - return point_ == null ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_; + return point_ == null + ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() + : point_; } else { return pointBuilder_.getMessage(); } } /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -719,6 +790,8 @@ public Builder setPoint(com.google.cloud.videointelligence.v1.NormalizedVertex v
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -738,6 +811,8 @@ public Builder setPoint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -749,7 +824,9 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1.NormalizedVertex
       if (pointBuilder_ == null) {
         if (point_ != null) {
           point_ =
-            com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder(point_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder(point_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           point_ = value;
         }
@@ -761,6 +838,8 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1.NormalizedVertex
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -780,6 +859,8 @@ public Builder clearPoint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -788,11 +869,13 @@ public Builder clearPoint() {
      * .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
      */
     public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getPointBuilder() {
-      
+
       onChanged();
       return getPointFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -804,11 +887,14 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
       if (pointBuilder_ != null) {
         return pointBuilder_.getMessageOrBuilder();
       } else {
-        return point_ == null ?
-            com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance() : point_;
+        return point_ == null
+            ? com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()
+            : point_;
       }
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -817,26 +903,32 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointO
      * .google.cloud.videointelligence.v1.NormalizedVertex point = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> 
+            com.google.cloud.videointelligence.v1.NormalizedVertex,
+            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
+            com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
         getPointFieldBuilder() {
       if (pointBuilder_ == null) {
-        pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>(
-                getPoint(),
-                getParentForChildren(),
-                isClean());
+        pointBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.NormalizedVertex,
+                com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
+                com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>(
+                getPoint(), getParentForChildren(), isClean());
         point_ = null;
       }
       return pointBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @return The confidence. */ @java.lang.Override @@ -844,37 +936,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -884,12 +982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.DetectedLandmark) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.DetectedLandmark) private static final com.google.cloud.videointelligence.v1.DetectedLandmark DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.DetectedLandmark(); } @@ -898,16 +996,16 @@ public static com.google.cloud.videointelligence.v1.DetectedLandmark getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedLandmark parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLandmark(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedLandmark parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedLandmark(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1020,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.DetectedLandmark getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java index 648404e70..8c16528c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java @@ -1,53 +1,82 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface DetectedLandmarkOrBuilder extends +public interface DetectedLandmarkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.DetectedLandmark) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ boolean hasPoint(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1.NormalizedVertex point = 2; + * * @return The point. */ com.google.cloud.videointelligence.v1.NormalizedVertex getPoint(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -58,11 +87,14 @@ public interface DetectedLandmarkOrBuilder extends
   com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getPointOrBuilder();
 
   /**
+   *
+   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java index 49154c160..d545c18a1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entityId_ = ""; description_ = ""; @@ -27,16 +45,15 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Entity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Entity( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Entity.class, com.google.cloud.videointelligence.v1.Entity.Builder.class); + com.google.cloud.videointelligence.v1.Entity.class, + com.google.cloud.videointelligence.v1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -117,6 +141,7 @@ private Entity(
    * 
* * string entity_id = 1; + * * @return The entityId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -140,16 +166,15 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getEntityId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDescription() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ 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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -298,19 +329,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.videointelligence.v1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.Entity other = (com.google.cloud.videointelligence.v1.Entity) obj; + com.google.cloud.videointelligence.v1.Entity other = + (com.google.cloud.videointelligence.v1.Entity) obj; - if (!getEntityId() - .equals(other.getEntityId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getEntityId().equals(other.getEntityId())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,118 +362,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.Entity parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.Entity parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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.videointelligence.v1.Entity 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; } /** + * + * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Entity} */ - 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.videointelligence.v1.Entity) com.google.cloud.videointelligence.v1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Entity.class, com.google.cloud.videointelligence.v1.Entity.Builder.class); + com.google.cloud.videointelligence.v1.Entity.class, + com.google.cloud.videointelligence.v1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.Entity.newBuilder() @@ -452,16 +490,15 @@ 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(); @@ -475,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Entity_descriptor; } @java.lang.Override @@ -496,7 +533,8 @@ public com.google.cloud.videointelligence.v1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1.Entity buildPartial() { - com.google.cloud.videointelligence.v1.Entity result = new com.google.cloud.videointelligence.v1.Entity(this); + com.google.cloud.videointelligence.v1.Entity result = + new com.google.cloud.videointelligence.v1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -508,38 +546,39 @@ public com.google.cloud.videointelligence.v1.Entity 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.videointelligence.v1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1.Entity)other); + return mergeFrom((com.google.cloud.videointelligence.v1.Entity) other); } else { super.mergeFrom(other); return this; @@ -591,6 +630,8 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -598,13 +639,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; + * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -613,6 +654,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -620,15 +663,14 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -636,6 +678,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -643,20 +687,22 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId( - java.lang.String value) { + public Builder setEntityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -664,15 +710,18 @@ public Builder setEntityId(
      * 
* * string entity_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -680,16 +729,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; + * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -697,18 +746,20 @@ public Builder setEntityIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -717,20 +768,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -738,54 +790,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -793,18 +852,20 @@ public Builder setDescriptionBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -813,20 +874,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -834,61 +896,68 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -898,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.Entity) private static final com.google.cloud.videointelligence.v1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.Entity(); } @@ -912,16 +981,16 @@ public static com.google.cloud.videointelligence.v1.Entity getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java index 70b7d5a66..5675e881a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -15,10 +33,13 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The entityId. */ java.lang.String getEntityId(); /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -26,48 +47,58 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - com.google.protobuf.ByteString - getEntityIdBytes(); + com.google.protobuf.ByteString getEntityIdBytes(); /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java index bbb9d0daf..6ed7bc177 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExplicitContentAnnotation() {
     frames_ = java.util.Collections.emptyList();
     version_ = "";
@@ -28,16 +46,15 @@ private ExplicitContentAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              frames_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                frames_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.ExplicitContentFrame>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              frames_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.ExplicitContentFrame.parser(),
+                      extensionRegistry));
+              break;
             }
-            frames_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentFrame.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -96,22 +118,27 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class,
+            com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
+   *
+   *
    * 
    * All video frames where explicit content was detected.
    * 
@@ -119,10 +146,13 @@ private ExplicitContentAnnotation( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -130,11 +160,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -146,6 +179,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -157,6 +192,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int return frames_.get(index); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -172,11 +209,14 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -185,29 +225,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -216,6 +256,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +268,7 @@ 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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -245,8 +285,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); @@ -259,17 +298,16 @@ 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.videointelligence.v1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other = + (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) obj; - if (!getFramesList() - .equals(other.getFramesList())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,96 +331,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation 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.videointelligence.v1.ExplicitContentAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation 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; } /** + * + * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -391,21 +437,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.class,
+              com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder()
@@ -413,17 +461,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) {
         getFramesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,13 +487,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance();
     }
 
@@ -460,7 +509,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1.ExplicitContentAnnotation result =
+          new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -480,46 +530,50 @@ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation buildPart
     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.videointelligence.v1.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentAnnotation)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1.ExplicitContentAnnotation other) {
+      if (other
+          == com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance())
+        return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -538,9 +592,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentAn
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFramesFieldBuilder() : null;
+            framesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFramesFieldBuilder()
+                    : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -569,7 +624,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.ExplicitContentAnnotation)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,28 +635,38 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List frames_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ = new java.util.ArrayList(frames_);
+        frames_ =
+            new java.util.ArrayList(
+                frames_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> framesBuilder_;
+            com.google.cloud.videointelligence.v1.ExplicitContentFrame,
+            com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder,
+            com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>
+        framesBuilder_;
 
     /**
+     *
+     *
      * 
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -607,6 +674,8 @@ public java.util.List * All video frames where explicit content was detected. *
@@ -621,6 +690,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -635,6 +706,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -656,6 +729,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -663,7 +738,8 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -674,6 +750,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -694,6 +772,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.ExplicitContentFr return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -715,6 +795,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -733,6 +815,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -740,7 +824,8 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -751,6 +836,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -758,11 +845,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -770,6 +857,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -787,6 +876,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -804,6 +895,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -815,6 +908,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder getFra return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -824,19 +919,23 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder getFra public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -844,6 +943,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -851,10 +952,13 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFr * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
@@ -863,30 +967,37 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFra */ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentFrame, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; @@ -894,18 +1005,20 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder addFra private java.lang.Object version_ = ""; /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -914,20 +1027,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -935,61 +1049,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -999,30 +1120,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1.ExplicitContentAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.ExplicitContentAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ExplicitContentAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,9 +1157,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java index 29fdaf493..69c735df7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentAnnotationOrBuilder extends +public interface ExplicitContentAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -25,6 +44,8 @@ public interface ExplicitContentAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1.ExplicitContentFrame getFrames(int index); /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -33,41 +54,49 @@ public interface ExplicitContentAnnotationOrBuilder extends */ int getFramesCount(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.ExplicitContentFrame frames = 1; */ - com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder getFramesOrBuilder(int index); /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java index 473074f11..86b9a22ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java @@ -1,40 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,33 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +126,7 @@ private ExplicitContentDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +135,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +151,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +168,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +180,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +204,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.videointelligence.v1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig + 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig 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.videointelligence.v1.ExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig 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; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.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(); @@ -345,14 +380,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override @@ -366,7 +403,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buil @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(this); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +414,51 @@ public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig buil 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.videointelligence.v1.ExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +496,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +520,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +529,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +544,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +553,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +576,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +595,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +658,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java index dc6c4578b..6b9473be1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentDetectionConfigOrBuilder extends +public interface ExplicitContentDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java index a5ec9fc27..8622a3807 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - pornographyLikelihood_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pornographyLikelihood_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private ExplicitContentFrame( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -122,12 +147,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -135,6 +163,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -150,31 +180,41 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ - @java.lang.Override public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { + @java.lang.Override + public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Likelihood result = com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); + com.google.cloud.videointelligence.v1.Likelihood result = + com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); return result == null ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,12 +226,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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -204,12 +244,11 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,17 +258,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.videointelligence.v1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1.ExplicitContentFrame other = + (com.google.cloud.videointelligence.v1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -255,117 +294,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ExplicitContentFrame 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; } /** + * + * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ExplicitContentFrame} */ - 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.videointelligence.v1.ExplicitContentFrame) com.google.cloud.videointelligence.v1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1.ExplicitContentFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ExplicitContentFrame.newBuilder() @@ -373,16 +422,15 @@ 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(); @@ -398,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; } @java.lang.Override @@ -419,7 +467,8 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1.ExplicitContentFrame result = + new com.google.cloud.videointelligence.v1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -434,38 +483,39 @@ public com.google.cloud.videointelligence.v1.ExplicitContentFrame 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.videointelligence.v1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1.ExplicitContentFrame) other); } else { super.mergeFrom(other); return this; @@ -473,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.ExplicitContentFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -499,7 +550,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.ExplicitContentFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -511,36 +563,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -562,6 +627,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -569,8 +636,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -581,6 +647,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -592,7 +660,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -604,6 +672,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -623,6 +693,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -631,11 +703,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -647,11 +721,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,14 +737,17 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -675,80 +755,100 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Likelihood result = com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1.Likelihood result = + com.google.cloud.videointelligence.v1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1.Likelihood.UNRECOGNIZED + : result; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1.Likelihood value) { + public Builder setPornographyLikelihood( + com.google.cloud.videointelligence.v1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -758,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentFrame) private static final com.google.cloud.videointelligence.v1.ExplicitContentFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ExplicitContentFrame(); } @@ -772,16 +872,16 @@ public static com.google.cloud.videointelligence.v1.ExplicitContentFrame getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,6 +896,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ExplicitContentFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java index df7511eec..0a1254d6e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ExplicitContentFrameOrBuilder extends +public interface ExplicitContentFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,20 +62,26 @@ public interface ExplicitContentFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1.Likelihood getPornographyLikelihood(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java index 8d9212047..2b642d51b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java @@ -1,24 +1,43 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Deprecated. No effect.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceAnnotation} */ -@java.lang.Deprecated public final class FaceAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +@java.lang.Deprecated +public final class FaceAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceAnnotation) FaceAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceAnnotation.newBuilder() to construct. private FaceAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceAnnotation() { thumbnail_ = com.google.protobuf.ByteString.EMPTY; segments_ = java.util.Collections.emptyList(); @@ -27,16 +46,15 @@ private FaceAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,36 +74,43 @@ private FaceAnnotation( case 0: done = true; break; - case 10: { - - thumbnail_ = input.readBytes(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + thumbnail_ = input.readBytes(); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1.FaceSegment.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.FaceSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1.FaceFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + frames_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.FaceFrame.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,8 +118,7 @@ private FaceAnnotation( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -106,27 +130,33 @@ private FaceAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceAnnotation.class, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceAnnotation.class, + com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); } public static final int THUMBNAIL_FIELD_NUMBER = 1; private com.google.protobuf.ByteString thumbnail_; /** + * + * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ @java.lang.Override @@ -137,6 +167,8 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -148,6 +180,8 @@ public java.util.List getSegm return segments_; } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -155,11 +189,13 @@ public java.util.List getSegm * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -171,6 +207,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -182,6 +220,8 @@ public com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index) return segments_.get(index); } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -197,6 +237,8 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -208,6 +250,8 @@ public java.util.List getFrames return frames_; } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -215,11 +259,13 @@ public java.util.List getFrames * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -231,6 +277,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -242,6 +290,8 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -249,12 +299,12 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +316,7 @@ 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 (!thumbnail_.isEmpty()) { output.writeBytes(1, thumbnail_); } @@ -287,16 +336,13 @@ public int getSerializedSize() { size = 0; if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, thumbnail_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, thumbnail_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -306,19 +352,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.videointelligence.v1.FaceAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceAnnotation other = (com.google.cloud.videointelligence.v1.FaceAnnotation) obj; + com.google.cloud.videointelligence.v1.FaceAnnotation other = + (com.google.cloud.videointelligence.v1.FaceAnnotation) obj; - if (!getThumbnail() - .equals(other.getThumbnail())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getThumbnail().equals(other.getThumbnail())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,117 +390,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation 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; } /** + * + * *
    * Deprecated. No effect.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceAnnotation} */ - 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.videointelligence.v1.FaceAnnotation) com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceAnnotation.class, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceAnnotation.class, + com.google.cloud.videointelligence.v1.FaceAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceAnnotation.newBuilder() @@ -464,18 +517,18 @@ 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) { getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; } @java.lang.Override @@ -518,7 +571,8 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.FaceAnnotation result = new com.google.cloud.videointelligence.v1.FaceAnnotation(this); + com.google.cloud.videointelligence.v1.FaceAnnotation result = + new com.google.cloud.videointelligence.v1.FaceAnnotation(this); int from_bitField0_ = bitField0_; result.thumbnail_ = thumbnail_; if (segmentsBuilder_ == null) { @@ -547,38 +601,39 @@ public com.google.cloud.videointelligence.v1.FaceAnnotation 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.videointelligence.v1.FaceAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceAnnotation) other); } else { super.mergeFrom(other); return this; @@ -586,7 +641,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()) + return this; if (other.getThumbnail() != com.google.protobuf.ByteString.EMPTY) { setThumbnail(other.getThumbnail()); } @@ -608,9 +664,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation ot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -634,9 +691,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceAnnotation ot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000002); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -661,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.FaceAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.FaceAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,15 +729,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ @java.lang.Override @@ -686,51 +749,64 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1.FaceSegment, + com.google.cloud.videointelligence.v1.FaceSegment.Builder, + com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -745,6 +821,8 @@ public java.util.List getSegm } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -759,6 +837,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -773,14 +853,15 @@ public com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index) } } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public Builder setSegments( - int index, com.google.cloud.videointelligence.v1.FaceSegment value) { + public Builder setSegments(int index, com.google.cloud.videointelligence.v1.FaceSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -794,6 +875,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -812,6 +895,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -832,14 +917,15 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.FaceSegment val return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public Builder addSegments( - int index, com.google.cloud.videointelligence.v1.FaceSegment value) { + public Builder addSegments(int index, com.google.cloud.videointelligence.v1.FaceSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,6 +939,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -871,6 +959,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -889,6 +979,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -899,8 +991,7 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -908,6 +999,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -925,6 +1018,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -942,17 +1037,20 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuilder(int index) { return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -962,19 +1060,22 @@ public com.google.cloud.videointelligence.v1.FaceSegment.Builder getSegmentsBuil public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -982,6 +1083,8 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -989,60 +1092,73 @@ public com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrB * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder( - int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceSegment.Builder addSegmentsBuilder(int index) { + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> + com.google.cloud.videointelligence.v1.FaceSegment, + com.google.cloud.videointelligence.v1.FaceSegment.Builder, + com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceSegment, com.google.cloud.videointelligence.v1.FaceSegment.Builder, com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceSegment, + com.google.cloud.videointelligence.v1.FaceSegment.Builder, + com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1.FaceFrame, + com.google.cloud.videointelligence.v1.FaceFrame.Builder, + com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1057,6 +1173,8 @@ public java.util.List getFrames } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1071,6 +1189,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1085,14 +1205,15 @@ public com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index) { } } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public Builder setFrames( - int index, com.google.cloud.videointelligence.v1.FaceFrame value) { + public Builder setFrames(int index, com.google.cloud.videointelligence.v1.FaceFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1106,6 +1227,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1124,6 +1247,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1144,14 +1269,15 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.FaceFrame value) return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public Builder addFrames( - int index, com.google.cloud.videointelligence.v1.FaceFrame value) { + public Builder addFrames(int index, com.google.cloud.videointelligence.v1.FaceFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1165,6 +1291,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1183,6 +1311,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1201,6 +1331,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1211,8 +1343,7 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1220,6 +1351,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1237,6 +1370,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1254,39 +1389,44 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceFrame.Builder getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1294,6 +1434,8 @@ public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuild } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1301,49 +1443,55 @@ public com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuild * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceFrame.Builder addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> + com.google.cloud.videointelligence.v1.FaceFrame, + com.google.cloud.videointelligence.v1.FaceFrame.Builder, + com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceFrame, com.google.cloud.videointelligence.v1.FaceFrame.Builder, com.google.cloud.videointelligence.v1.FaceFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceFrame, + com.google.cloud.videointelligence.v1.FaceFrame.Builder, + com.google.cloud.videointelligence.v1.FaceFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1353,12 +1501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceAnnotation) private static final com.google.cloud.videointelligence.v1.FaceAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceAnnotation(); } @@ -1367,16 +1515,16 @@ public static com.google.cloud.videointelligence.v1.FaceAnnotation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1391,6 +1539,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java index ca5f4107f..db7ed407f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java @@ -1,32 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -@java.lang.Deprecated public interface FaceAnnotationOrBuilder extends +@java.lang.Deprecated +public interface FaceAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -35,6 +58,8 @@ */ com.google.cloud.videointelligence.v1.FaceSegment getSegments(int index); /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -43,34 +68,40 @@ */ int getSegmentsCount(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2; */ - com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder(int index); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -79,6 +110,8 @@ com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( */ com.google.cloud.videointelligence.v1.FaceFrame getFrames(int index); /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -87,21 +120,24 @@ com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder getSegmentsOrBuilder( */ int getFramesCount(); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3; */ - com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.FaceFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java index 5535d88f7..7edbd3cd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Face detection annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionAnnotation} */ -public final class FaceDetectionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceDetectionAnnotation) FaceDetectionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceDetectionAnnotation.newBuilder() to construct. private FaceDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); thumbnail_ = com.google.protobuf.ByteString.EMPTY; @@ -27,16 +45,15 @@ private FaceDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,33 +73,36 @@ private FaceDetectionAnnotation( case 0: done = true; break; - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; - } - case 34: { - - thumbnail_ = input.readBytes(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + thumbnail_ = input.readBytes(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,8 +110,7 @@ private FaceDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -100,22 +119,27 @@ private FaceDetectionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 3; private java.util.List tracks_; /** + * + * *
    * The face tracks with attributes.
    * 
@@ -127,6 +151,8 @@ public java.util.List getTracksList return tracks_; } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -134,11 +160,13 @@ public java.util.List getTracksList * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -150,6 +178,8 @@ public int getTracksCount() { return tracks_.size(); } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -161,6 +191,8 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { return tracks_.get(index); } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -168,19 +200,21 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { return tracks_.get(index); } public static final int THUMBNAIL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString thumbnail_; /** + * + * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ @java.lang.Override @@ -191,11 +225,14 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The version. */ @java.lang.Override @@ -204,29 +241,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -235,6 +272,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +284,7 @@ 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 < tracks_.size(); i++) { output.writeMessage(3, tracks_.get(i)); } @@ -267,12 +304,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tracks_.get(i)); } if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, thumbnail_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, thumbnail_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); @@ -285,19 +320,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.videointelligence.v1.FaceDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other = (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other = + (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) obj; - if (!getTracksList() - .equals(other.getTracksList())) return false; - if (!getThumbnail() - .equals(other.getThumbnail())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getTracksList().equals(other.getTracksList())) return false; + if (!getThumbnail().equals(other.getThumbnail())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,117 +356,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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; } /** + * + * *
    * Face detection annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionAnnotation} */ - 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.videointelligence.v1.FaceDetectionAnnotation) com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.class, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.newBuilder() @@ -441,17 +484,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) { getTracksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,13 +512,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance(); } @@ -490,7 +534,8 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation result = new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(this); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation result = + new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -511,38 +556,39 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation 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.videointelligence.v1.FaceDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) other); } else { super.mergeFrom(other); return this; @@ -550,7 +596,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()) + return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -569,9 +617,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionAnno tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -603,7 +652,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.FaceDetectionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,21 +663,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_; + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder> + tracksBuilder_; /** + * + * *
      * The face tracks with attributes.
      * 
@@ -641,6 +699,8 @@ public java.util.List getTracksList } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -655,6 +715,8 @@ public int getTracksCount() { } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -669,14 +731,15 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { } } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder setTracks( - int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -690,6 +753,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -708,6 +773,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -728,14 +795,15 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) { return this; } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder addTracks( - int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -749,14 +817,15 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public Builder addTracks( - com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { + public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); tracks_.add(builderForValue.build()); @@ -767,6 +836,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -785,6 +856,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -795,8 +868,7 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -804,6 +876,8 @@ public Builder addAllTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -821,6 +895,8 @@ public Builder clearTracks() { return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -838,39 +914,44 @@ public Builder removeTracks(int index) { return this; } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder( - int index) { + public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) { return getTracksFieldBuilder().getBuilder(index); } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); } else { + return tracks_.get(index); + } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -878,6 +959,8 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -885,42 +968,48 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + return getTracksFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( - int index) { - return getTracksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) { + return getTracksFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>( - tracks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tracksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder>( + tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tracks_ = null; } return tracksBuilder_; @@ -928,11 +1017,14 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ @java.lang.Override @@ -940,33 +1032,39 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; @@ -974,18 +1072,20 @@ public Builder clearThumbnail() { private java.lang.Object version_ = ""; /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -994,20 +1094,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1015,61 +1116,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1079,12 +1187,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1.FaceDetectionAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.FaceDetectionAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceDetectionAnnotation(); } @@ -1093,16 +1202,16 @@ public static com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1117,6 +1226,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java index 32353557b..bb8dab491 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceDetectionAnnotationOrBuilder extends +public interface FaceDetectionAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - java.util.List - getTracksList(); + java.util.List getTracksList(); /** + * + * *
    * The face tracks with attributes.
    * 
@@ -25,6 +44,8 @@ public interface FaceDetectionAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1.Track getTracks(int index); /** + * + * *
    * The face tracks with attributes.
    * 
@@ -33,51 +54,62 @@ public interface FaceDetectionAnnotationOrBuilder extends */ int getTracksCount(); /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 3; */ - com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index); + com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index); /** + * + * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java index edc38734c..2b602ec22 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceDetectionConfig) FaceDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,29 +70,30 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - case 16: { - - includeBoundingBoxes_ = input.readBool(); - break; - } - case 40: { - - includeAttributes_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + case 16: + { + includeBoundingBoxes_ = input.readBool(); + break; + } + case 40: + { + includeAttributes_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,29 +101,33 @@ private FaceDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -113,6 +135,7 @@ private FaceDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -121,14 +144,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -136,16 +160,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -156,11 +179,14 @@ public java.lang.String getModel() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** + * + * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -171,12 +197,15 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 5; private boolean includeAttributes_; /** + * + * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ @java.lang.Override @@ -185,6 +214,7 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,8 +226,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -220,12 +249,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, includeAttributes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,19 +262,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.videointelligence.v1.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1.FaceDetectionConfig other = + (com.google.cloud.videointelligence.v1.FaceDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() - != other.getIncludeBoundingBoxes()) return false; - if (getIncludeAttributes() - != other.getIncludeAttributes()) return false; + if (!getModel().equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; + if (getIncludeAttributes() != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -262,128 +287,136 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.FaceDetectionConfig 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; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceDetectionConfig} */ - 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.videointelligence.v1.FaceDetectionConfig) com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder() @@ -391,16 +424,15 @@ 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 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; } @java.lang.Override @@ -435,7 +467,8 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1.FaceDetectionConfig result = + new com.google.cloud.videointelligence.v1.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includeAttributes_ = includeAttributes_; @@ -447,38 +480,39 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig 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.videointelligence.v1.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceDetectionConfig) other); } else { super.mergeFrom(other); return this; @@ -486,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -516,7 +551,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.FaceDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.FaceDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,6 +564,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -535,13 +573,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -550,6 +588,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -557,15 +597,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -573,6 +612,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -580,20 +621,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -601,15 +644,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -617,28 +663,31 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_ ; + private boolean includeBoundingBoxes_; /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -646,43 +695,52 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includeAttributes_ ; + private boolean includeAttributes_; /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ @java.lang.Override @@ -690,39 +748,45 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -732,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceDetectionConfig) private static final com.google.cloud.videointelligence.v1.FaceDetectionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceDetectionConfig(); } @@ -746,16 +810,16 @@ public static com.google.cloud.videointelligence.v1.FaceDetectionConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java index 995ef4ccf..946bb8b9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceDetectionConfigOrBuilder extends +public interface FaceDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,28 +47,34 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); /** + * + * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** + * + * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java index 21724f006..3f45d2304 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java @@ -1,40 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Deprecated. No effect.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceFrame} */ -@java.lang.Deprecated public final class FaceFrame extends - com.google.protobuf.GeneratedMessageV3 implements +@java.lang.Deprecated +public final class FaceFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceFrame) FaceFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceFrame.newBuilder() to construct. private FaceFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceFrame() { normalizedBoundingBoxes_ = 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 FaceFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +72,42 @@ private FaceFrame( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - normalizedBoundingBoxes_.add( - input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + normalizedBoundingBoxes_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox>(); + mutable_bitField0_ |= 0x00000001; + } + normalizedBoundingBoxes_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), + extensionRegistry)); + break; } + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,8 +115,7 @@ private FaceFrame( } 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)) { normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); @@ -100,98 +124,128 @@ private FaceFrame( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceFrame.class, com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1.FaceFrame.class, + com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); } public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER = 1; - private java.util.List normalizedBoundingBoxes_; + private java.util.List + normalizedBoundingBoxes_; /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public java.util.List getNormalizedBoundingBoxesList() { + public java.util.List + getNormalizedBoundingBoxesList() { return normalizedBoundingBoxes_; } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList() { return normalizedBoundingBoxes_; } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override public int getNormalizedBoundingBoxesCount() { return normalizedBoundingBoxes_.size(); } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes( + int index) { return normalizedBoundingBoxes_.get(index); } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index) { return normalizedBoundingBoxes_.get(index); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -199,12 +253,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -212,6 +269,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
@@ -225,6 +284,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -236,8 +296,7 @@ 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 < normalizedBoundingBoxes_.size(); i++) {
       output.writeMessage(1, normalizedBoundingBoxes_.get(i));
     }
@@ -254,12 +313,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < normalizedBoundingBoxes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, normalizedBoundingBoxes_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, normalizedBoundingBoxes_.get(i));
     }
     if (timeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -269,19 +328,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.videointelligence.v1.FaceFrame)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.FaceFrame other = (com.google.cloud.videointelligence.v1.FaceFrame) obj;
+    com.google.cloud.videointelligence.v1.FaceFrame other =
+        (com.google.cloud.videointelligence.v1.FaceFrame) obj;
 
-    if (!getNormalizedBoundingBoxesList()
-        .equals(other.getNormalizedBoundingBoxesList())) return false;
+    if (!getNormalizedBoundingBoxesList().equals(other.getNormalizedBoundingBoxesList()))
+      return false;
     if (hasTimeOffset() != other.hasTimeOffset()) return false;
     if (hasTimeOffset()) {
-      if (!getTimeOffset()
-          .equals(other.getTimeOffset())) return false;
+      if (!getTimeOffset().equals(other.getTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -307,118 +366,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.videointelligence.v1.FaceFrame parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.videointelligence.v1.FaceFrame parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.FaceFrame parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame 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;
   }
   /**
+   *
+   *
    * 
    * Deprecated. No effect.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceFrame} */ - 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.videointelligence.v1.FaceFrame) com.google.cloud.videointelligence.v1.FaceFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceFrame.class, com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1.FaceFrame.class, + com.google.cloud.videointelligence.v1.FaceFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceFrame.newBuilder() @@ -426,17 +494,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) { getNormalizedBoundingBoxesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +524,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; } @java.lang.Override @@ -477,11 +545,13 @@ public com.google.cloud.videointelligence.v1.FaceFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceFrame buildPartial() { - com.google.cloud.videointelligence.v1.FaceFrame result = new com.google.cloud.videointelligence.v1.FaceFrame(this); + com.google.cloud.videointelligence.v1.FaceFrame result = + new com.google.cloud.videointelligence.v1.FaceFrame(this); int from_bitField0_ = bitField0_; if (normalizedBoundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = + java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); bitField0_ = (bitField0_ & ~0x00000001); } result.normalizedBoundingBoxes_ = normalizedBoundingBoxes_; @@ -501,38 +571,39 @@ public com.google.cloud.videointelligence.v1.FaceFrame 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.videointelligence.v1.FaceFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceFrame) other); } else { super.mergeFrom(other); return this; @@ -540,7 +611,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceFrame other) { - if (other == com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.FaceFrame.getDefaultInstance()) + return this; if (normalizedBoundingBoxesBuilder_ == null) { if (!other.normalizedBoundingBoxes_.isEmpty()) { if (normalizedBoundingBoxes_.isEmpty()) { @@ -559,9 +631,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceFrame other) normalizedBoundingBoxesBuilder_ = null; normalizedBoundingBoxes_ = other.normalizedBoundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - normalizedBoundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNormalizedBoundingBoxesFieldBuilder() : null; + normalizedBoundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNormalizedBoundingBoxesFieldBuilder() + : null; } else { normalizedBoundingBoxesBuilder_.addAllMessages(other.normalizedBoundingBoxes_); } @@ -598,30 +671,42 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List normalizedBoundingBoxes_ = - java.util.Collections.emptyList(); + private java.util.List + normalizedBoundingBoxes_ = java.util.Collections.emptyList(); + private void ensureNormalizedBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = new java.util.ArrayList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = + new java.util.ArrayList( + normalizedBoundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxesBuilder_; + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + normalizedBoundingBoxesBuilder_; /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List getNormalizedBoundingBoxesList() { + public java.util.List + getNormalizedBoundingBoxesList() { if (normalizedBoundingBoxesBuilder_ == null) { return java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); } else { @@ -629,13 +714,17 @@ public java.util.List * Normalized Bounding boxes in a frame. * There can be more than one boxes if the same face is detected in multiple * locations within the current frame. *
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public int getNormalizedBoundingBoxesCount() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -645,15 +734,20 @@ public int getNormalizedBoundingBoxesCount() { } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes( + int index) { if (normalizedBoundingBoxesBuilder_ == null) { return normalizedBoundingBoxes_.get(index); } else { @@ -661,13 +755,17 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalized } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder setNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { @@ -684,16 +782,21 @@ public Builder setNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder setNormalizedBoundingBoxes( - int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.set(index, builderForValue.build()); @@ -704,15 +807,20 @@ public Builder setNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder addNormalizedBoundingBoxes( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,13 +834,17 @@ public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1. return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { @@ -749,13 +861,17 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -769,16 +885,21 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( - int index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.add(index, builderForValue.build()); @@ -789,20 +910,24 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addAllNormalizedBoundingBoxes( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, normalizedBoundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, normalizedBoundingBoxes_); onChanged(); } else { normalizedBoundingBoxesBuilder_.addAllMessages(values); @@ -810,13 +935,17 @@ public Builder addAllNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder clearNormalizedBoundingBoxes() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -829,13 +958,17 @@ public Builder clearNormalizedBoundingBoxes() { return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder removeNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { @@ -848,45 +981,59 @@ public Builder removeNormalizedBoundingBoxes(int index) { return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder( - int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxesBuilder(int index) { return getNormalizedBoundingBoxesFieldBuilder().getBuilder(index); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index) { if (normalizedBoundingBoxesBuilder_ == null) { - return normalizedBoundingBoxes_.get(index); } else { + return normalizedBoundingBoxes_.get(index); + } else { return normalizedBoundingBoxesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List - getNormalizedBoundingBoxesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + getNormalizedBoundingBoxesOrBuilderList() { if (normalizedBoundingBoxesBuilder_ != null) { return normalizedBoundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -894,51 +1041,73 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getN } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder() { - return getNormalizedBoundingBoxesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder + addNormalizedBoundingBoxesBuilder() { + return getNormalizedBoundingBoxesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder( - int index) { - return getNormalizedBoundingBoxesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder + addNormalizedBoundingBoxesBuilder(int index) { + return getNormalizedBoundingBoxesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List - getNormalizedBoundingBoxesBuilderList() { + public java.util.List + getNormalizedBoundingBoxesBuilderList() { return getNormalizedBoundingBoxesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesFieldBuilder() { if (normalizedBoundingBoxesBuilder_ == null) { - normalizedBoundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + normalizedBoundingBoxesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( normalizedBoundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -950,36 +1119,49 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder addNo private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1001,6 +1183,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1008,8 +1192,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1020,6 +1203,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1031,7 +1216,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1043,6 +1228,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1062,6 +1249,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1070,11 +1259,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1086,11 +1277,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1099,21 +1293,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
+
     @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);
     }
 
@@ -1123,12 +1320,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceFrame)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceFrame)
   private static final com.google.cloud.videointelligence.v1.FaceFrame DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceFrame();
   }
@@ -1137,16 +1334,16 @@ public static com.google.cloud.videointelligence.v1.FaceFrame getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FaceFrame parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new FaceFrame(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FaceFrame parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new FaceFrame(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1161,6 +1358,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.FaceFrame getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
similarity index 63%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
index ca200cbfe..1f6d37d7b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
@@ -1,87 +1,132 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-@java.lang.Deprecated public interface FaceFrameOrBuilder extends
+@java.lang.Deprecated
+public interface FaceFrameOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceFrame)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - java.util.List + java.util.List getNormalizedBoundingBoxesList(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBoxes(int index); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ int getNormalizedBoundingBoxesCount(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - java.util.List + java.util.List getNormalizedBoundingBoxesOrBuilderList(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
index e4bc112dc..efa7c899c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegment.java
@@ -1,39 +1,55 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
+ *
+ *
  * 
  * Video segment level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceSegment} */ -public final class FaceSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.FaceSegment) FaceSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceSegment.newBuilder() to construct. private FaceSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceSegment() { - } + + private FaceSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,30 @@ private FaceSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +99,39 @@ private FaceSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceSegment.class, com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1.FaceSegment.class, + com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -114,18 +139,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a face was detected.
    * 
@@ -138,6 +170,7 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +182,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -164,8 +196,7 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +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.videointelligence.v1.FaceSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.FaceSegment other = (com.google.cloud.videointelligence.v1.FaceSegment) obj; + com.google.cloud.videointelligence.v1.FaceSegment other = + (com.google.cloud.videointelligence.v1.FaceSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +239,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.FaceSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment 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; } /** + * + * *
    * Video segment level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.FaceSegment} */ - 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.videointelligence.v1.FaceSegment) com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.FaceSegment.class, com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1.FaceSegment.class, + com.google.cloud.videointelligence.v1.FaceSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.FaceSegment.newBuilder() @@ -326,16 +366,15 @@ 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(); @@ -349,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; } @java.lang.Override @@ -370,7 +409,8 @@ public com.google.cloud.videointelligence.v1.FaceSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.FaceSegment buildPartial() { - com.google.cloud.videointelligence.v1.FaceSegment result = new com.google.cloud.videointelligence.v1.FaceSegment(this); + com.google.cloud.videointelligence.v1.FaceSegment result = + new com.google.cloud.videointelligence.v1.FaceSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -384,38 +424,39 @@ public com.google.cloud.videointelligence.v1.FaceSegment 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.videointelligence.v1.FaceSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.FaceSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1.FaceSegment) other); } else { super.mergeFrom(other); return this; @@ -423,7 +464,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.FaceSegment other) { - if (other == com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.FaceSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -446,7 +488,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.FaceSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.FaceSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,34 +501,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -506,6 +562,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -524,6 +582,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -534,7 +594,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -546,6 +608,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -564,6 +628,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -571,11 +637,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -586,11 +654,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -598,21 +669,24 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } + @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); } @@ -622,12 +696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.FaceSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceSegment) private static final com.google.cloud.videointelligence.v1.FaceSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.FaceSegment(); } @@ -636,16 +710,16 @@ public static com.google.cloud.videointelligence.v1.FaceSegment getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,6 +734,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.FaceSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java index b04e8ba05..c099d89c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface FaceSegmentOrBuilder extends +public interface FaceSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.FaceSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a face was detected.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java index 40042d3c7..cbab0641e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.Feature} */ -public enum Feature - implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Feature */ FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum Feature */ LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum Feature */ SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum Feature */ EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * Human face detection.
    * 
@@ -53,6 +79,8 @@ public enum Feature */ FACE_DETECTION(4), /** + * + * *
    * Speech transcription.
    * 
@@ -61,6 +89,8 @@ public enum Feature */ SPEECH_TRANSCRIPTION(6), /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -69,6 +99,8 @@ public enum Feature */ TEXT_DETECTION(7), /** + * + * *
    * Object detection and tracking.
    * 
@@ -77,6 +109,8 @@ public enum Feature */ OBJECT_TRACKING(9), /** + * + * *
    * Logo detection, tracking, and recognition.
    * 
@@ -85,6 +119,8 @@ public enum Feature */ LOGO_RECOGNITION(12), /** + * + * *
    * Person detection.
    * 
@@ -96,6 +132,8 @@ public enum Feature ; /** + * + * *
    * Unspecified.
    * 
@@ -104,6 +142,8 @@ public enum Feature */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -112,6 +152,8 @@ public enum Feature */ public static final int LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -120,6 +162,8 @@ public enum Feature */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -128,6 +172,8 @@ public enum Feature */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * Human face detection.
    * 
@@ -136,6 +182,8 @@ public enum Feature */ public static final int FACE_DETECTION_VALUE = 4; /** + * + * *
    * Speech transcription.
    * 
@@ -144,6 +192,8 @@ public enum Feature */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -152,6 +202,8 @@ public enum Feature */ public static final int TEXT_DETECTION_VALUE = 7; /** + * + * *
    * Object detection and tracking.
    * 
@@ -160,6 +212,8 @@ public enum Feature */ public static final int OBJECT_TRACKING_VALUE = 9; /** + * + * *
    * Logo detection, tracking, and recognition.
    * 
@@ -168,6 +222,8 @@ public enum Feature */ public static final int LOGO_RECOGNITION_VALUE = 12; /** + * + * *
    * Person detection.
    * 
@@ -176,7 +232,6 @@ public enum Feature */ public static final int PERSON_DETECTION_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -201,56 +256,65 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: return FEATURE_UNSPECIFIED; - case 1: return LABEL_DETECTION; - case 2: return SHOT_CHANGE_DETECTION; - case 3: return EXPLICIT_CONTENT_DETECTION; - case 4: return FACE_DETECTION; - case 6: return SPEECH_TRANSCRIPTION; - case 7: return TEXT_DETECTION; - case 9: return OBJECT_TRACKING; - case 12: return LOGO_RECOGNITION; - case 14: return PERSON_DETECTION; - default: return null; + case 0: + return FEATURE_UNSPECIFIED; + case 1: + return LABEL_DETECTION; + case 2: + return SHOT_CHANGE_DETECTION; + case 3: + return EXPLICIT_CONTENT_DETECTION; + case 4: + return FACE_DETECTION; + case 6: + return SPEECH_TRANSCRIPTION; + case 7: + return TEXT_DETECTION; + case 9: + return OBJECT_TRACKING; + case 12: + return LOGO_RECOGNITION; + case 14: + return PERSON_DETECTION; + 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< - Feature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -266,4 +330,3 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.Feature) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java index 7ef6be5ec..770ec6ab7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelAnnotation} */ -public final class LabelAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelAnnotation) LabelAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -28,16 +46,15 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,59 +74,74 @@ private LabelAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - categoryEntities_.add( - input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelSegment.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelFrame.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelFrame.parser(), + extensionRegistry)); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,8 +149,7 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -133,27 +164,33 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelAnnotation.class, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -161,18 +198,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Detected entity.
    * 
@@ -187,6 +231,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** + * + * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -201,6 +247,8 @@ public java.util.List getCategoryE
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -211,11 +259,13 @@ public java.util.List getCategoryE
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -230,6 +280,8 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -244,6 +296,8 @@ public com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int inde
     return categoryEntities_.get(index);
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -262,6 +316,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
@@ -273,6 +329,8 @@ public java.util.List getSeg return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -280,11 +338,13 @@ public java.util.List getSeg * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -296,6 +356,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -307,6 +369,8 @@ public com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index) return segments_.get(index); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -322,6 +386,8 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -333,6 +399,8 @@ public java.util.List getFrame return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -340,11 +408,13 @@ public java.util.List getFrame * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -356,6 +426,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -367,6 +439,8 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -374,19 +448,21 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index) { return frames_.get(index); } public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The version. */ @java.lang.Override @@ -395,29 +471,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -426,6 +502,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -437,8 +514,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -464,20 +540,16 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); @@ -490,26 +562,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.videointelligence.v1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelAnnotation other = (com.google.cloud.videointelligence.v1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1.LabelAnnotation other = + (com.google.cloud.videointelligence.v1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList() - .equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getEntity().equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -545,117 +613,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.LabelAnnotation 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; } /** + * + * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelAnnotation} */ - 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.videointelligence.v1.LabelAnnotation) com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelAnnotation.class, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelAnnotation.newBuilder() @@ -663,19 +741,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -709,9 +787,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; } @java.lang.Override @@ -730,7 +808,8 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.LabelAnnotation result = new com.google.cloud.videointelligence.v1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1.LabelAnnotation result = + new com.google.cloud.videointelligence.v1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -773,38 +852,39 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation 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.videointelligence.v1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelAnnotation) other); } else { super.mergeFrom(other); return this; @@ -812,7 +892,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -834,9 +915,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoryEntitiesFieldBuilder() : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoryEntitiesFieldBuilder() + : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -860,9 +942,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -886,9 +969,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelAnnotation o framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -917,7 +1001,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -926,38 +1011,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Detected entity.
      * 
@@ -978,14 +1077,15 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; */ - public Builder setEntity( - com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { + public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); @@ -996,6 +1096,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Detected entity.
      * 
@@ -1006,7 +1108,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -1018,6 +1122,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -1036,6 +1142,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -1043,11 +1151,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Detected entity.
      * 
@@ -1058,11 +1168,14 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Detected entity.
      * 
@@ -1070,32 +1183,43 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( * .google.cloud.videointelligence.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(categoryEntities_); + categoryEntities_ = + new java.util.ArrayList( + categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> + categoryEntitiesBuilder_; /** + * + * *
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1113,6 +1237,8 @@ public java.util.List getCategoryE
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1130,6 +1256,8 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1147,6 +1275,8 @@ public com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int inde
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1171,6 +1301,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1192,6 +1324,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1215,6 +1349,8 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1.Entity
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1239,6 +1375,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1260,6 +1398,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1281,6 +1421,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1294,8 +1436,7 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1303,6 +1444,8 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1323,6 +1466,8 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1343,6 +1488,8 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1357,6 +1504,8 @@ public com.google.cloud.videointelligence.v1.Entity.Builder getCategoryEntitiesB
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1369,11 +1518,14 @@ public com.google.cloud.videointelligence.v1.Entity.Builder getCategoryEntitiesB
     public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(
         int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);  } else {
+        return categoryEntities_.get(index);
+      } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1383,8 +1535,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
      *
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesOrBuilderList() {
+    public java.util.List
+        getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1392,6 +1544,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1402,10 +1556,12 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntities
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1417,10 +1573,12 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(index, com.google.cloud.videointelligence.v1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1430,16 +1588,22 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
      *
      * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesBuilderList() {
+    public java.util.List
+        getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1.Entity,
+            com.google.cloud.videointelligence.v1.Entity.Builder,
+            com.google.cloud.videointelligence.v1.EntityOrBuilder>
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.Entity,
+                com.google.cloud.videointelligence.v1.Entity.Builder,
+                com.google.cloud.videointelligence.v1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1450,18 +1614,25 @@ public com.google.cloud.videointelligence.v1.Entity.Builder addCategoryEntitiesB
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1.LabelSegment,
+            com.google.cloud.videointelligence.v1.LabelSegment.Builder,
+            com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where a label was detected.
      * 
@@ -1476,6 +1647,8 @@ public java.util.List getSeg } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1490,6 +1663,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1504,6 +1679,8 @@ public com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index) } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1525,6 +1702,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1543,6 +1722,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1563,6 +1744,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.LabelSegment va return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1584,6 +1767,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1602,6 +1787,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1620,6 +1807,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1630,8 +1819,7 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1639,6 +1827,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1656,6 +1846,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1673,6 +1865,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1684,6 +1878,8 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder getSegmentsBui return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1693,19 +1889,22 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder getSegmentsBui public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1713,6 +1912,8 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1720,10 +1921,12 @@ public com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOr * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1732,48 +1935,61 @@ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBui */ public com.google.cloud.videointelligence.v1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1.LabelSegment, + com.google.cloud.videointelligence.v1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelSegment, com.google.cloud.videointelligence.v1.LabelSegment.Builder, com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelSegment, + com.google.cloud.videointelligence.v1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1.LabelFrame, + com.google.cloud.videointelligence.v1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1788,6 +2004,8 @@ public java.util.List getFrame } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1802,6 +2020,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1816,14 +2036,15 @@ public com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index) { } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public Builder setFrames( - int index, com.google.cloud.videointelligence.v1.LabelFrame value) { + public Builder setFrames(int index, com.google.cloud.videointelligence.v1.LabelFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1837,6 +2058,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1855,6 +2078,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1875,14 +2100,15 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.LabelFrame value) return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public Builder addFrames( - int index, com.google.cloud.videointelligence.v1.LabelFrame value) { + public Builder addFrames(int index, com.google.cloud.videointelligence.v1.LabelFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1896,6 +2122,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1914,6 +2142,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1932,6 +2162,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1942,8 +2174,7 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1951,6 +2182,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1968,6 +2201,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1985,39 +2220,44 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelFrame.Builder getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -2025,6 +2265,8 @@ public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuil } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -2032,42 +2274,48 @@ public com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuil * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1.LabelFrame, + com.google.cloud.videointelligence.v1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelFrame, com.google.cloud.videointelligence.v1.LabelFrame.Builder, com.google.cloud.videointelligence.v1.LabelFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelFrame, + com.google.cloud.videointelligence.v1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1.LabelFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; @@ -2075,18 +2323,20 @@ public com.google.cloud.videointelligence.v1.LabelFrame.Builder addFramesBuilder private java.lang.Object version_ = ""; /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -2095,20 +2345,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -2116,61 +2367,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 5; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -2180,12 +2438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelAnnotation) private static final com.google.cloud.videointelligence.v1.LabelAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelAnnotation(); } @@ -2194,16 +2452,16 @@ public static com.google.cloud.videointelligence.v1.LabelAnnotation getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2218,6 +2476,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java index ea04513b6..e25ebda5a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelAnnotationOrBuilder extends +public interface LabelAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** + * + * *
    * Detected entity.
    * 
@@ -35,6 +59,8 @@ public interface LabelAnnotationOrBuilder extends com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -44,9 +70,10 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  java.util.List 
-      getCategoryEntitiesList();
+  java.util.List getCategoryEntitiesList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -58,6 +85,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1.Entity getCategoryEntities(int index);
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -69,6 +98,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   int getCategoryEntitiesCount();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -78,9 +109,11 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  java.util.List 
+  java.util.List
       getCategoryEntitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -90,19 +123,21 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    */
-  com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -111,6 +146,8 @@ com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuild */ com.google.cloud.videointelligence.v1.LabelSegment getSegments(int index); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -119,34 +156,40 @@ com.google.cloud.videointelligence.v1.EntityOrBuilder getCategoryEntitiesOrBuild */ int getSegmentsCount(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3; */ - com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -155,6 +198,8 @@ com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder */ com.google.cloud.videointelligence.v1.LabelFrame getFrames(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -163,41 +208,49 @@ com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder getSegmentsOrBuilder */ int getFramesCount(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LabelFrameOrBuilder getFramesOrBuilder(int index); /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 5; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java index c4bc41341..2aecb6d56 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -26,16 +44,15 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,42 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - labelDetectionMode_ = rawValue; - break; - } - case 16: { - - stationaryCamera_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - model_ = s; - break; - } - case 37: { + case 8: + { + int rawValue = input.readEnum(); - frameConfidenceThreshold_ = input.readFloat(); - break; - } - case 45: { + labelDetectionMode_ = rawValue; + break; + } + case 16: + { + stationaryCamera_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - videoConfidenceThreshold_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + case 37: + { + frameConfidenceThreshold_ = input.readFloat(); + break; + } + case 45: + { + videoConfidenceThreshold_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,29 +114,33 @@ private LabelDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -125,12 +148,16 @@ private LabelDetectionConfig(
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -138,17 +165,24 @@ private LabelDetectionConfig(
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The labelDetectionMode. */ - @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override + public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.LabelDetectionMode result = com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED + : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -156,6 +190,7 @@ private LabelDetectionConfig(
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -166,6 +201,8 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -173,6 +210,7 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; + * * @return The model. */ @java.lang.Override @@ -181,14 +219,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -196,16 +235,15 @@ public java.lang.String getModel() {
    * 
* * string model = 3; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -216,6 +254,8 @@ public java.lang.String getModel() { public static final int FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 4; private float frameConfidenceThreshold_; /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -226,6 +266,7 @@ public java.lang.String getModel() {
    * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -236,6 +277,8 @@ public float getFrameConfidenceThreshold() { public static final int VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 5; private float videoConfidenceThreshold_; /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -246,6 +289,7 @@ public float getFrameConfidenceThreshold() {
    * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -254,6 +298,7 @@ public float getVideoConfidenceThreshold() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,9 +310,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -291,24 +337,22 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); } if (java.lang.Float.floatToRawIntBits(frameConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, frameConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, frameConfidenceThreshold_); } if (java.lang.Float.floatToRawIntBits(videoConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(5, videoConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, videoConfidenceThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,24 +362,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.videointelligence.v1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1.LabelDetectionConfig other = + (com.google.cloud.videointelligence.v1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (!getModel().equals(other.getModel())) return false; if (java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()) - != java.lang.Float.floatToIntBits( - other.getFrameConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits(other.getFrameConfidenceThreshold())) return false; if (java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()) - != java.lang.Float.floatToIntBits( - other.getVideoConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits(other.getVideoConfidenceThreshold())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,133 +391,140 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFrameConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()); hash = (37 * hash) + VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getVideoConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.LabelDetectionConfig 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; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelDetectionConfig} */ - 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.videointelligence.v1.LabelDetectionConfig) com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder() @@ -484,16 +532,15 @@ 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(); @@ -511,9 +558,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; } @java.lang.Override @@ -532,7 +579,8 @@ public com.google.cloud.videointelligence.v1.LabelDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1.LabelDetectionConfig result = + new com.google.cloud.videointelligence.v1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -546,38 +594,39 @@ public com.google.cloud.videointelligence.v1.LabelDetectionConfig 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.videointelligence.v1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelDetectionConfig) other); } else { super.mergeFrom(other); return this; @@ -585,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance()) + return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -621,7 +671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.LabelDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,6 +684,8 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -640,12 +693,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -653,16 +710,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -670,15 +730,21 @@ public Builder setLabelDetectionModeValue(int value) {
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.LabelDetectionMode result = com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1.LabelDetectionMode.UNRECOGNIZED + : result; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -686,19 +752,23 @@ public com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectio
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1.LabelDetectionMode value) { + public Builder setLabelDetectionMode( + com.google.cloud.videointelligence.v1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
@@ -706,17 +776,20 @@ public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1.Label
      * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -724,6 +797,7 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -731,6 +805,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -738,16 +814,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -755,10 +834,11 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -766,6 +846,8 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -773,13 +855,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -788,6 +870,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -795,15 +879,14 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -811,6 +894,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -818,20 +903,22 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -839,15 +926,18 @@ public Builder setModel(
      * 
* * string model = 3; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -855,23 +945,25 @@ public Builder clearModel() {
      * 
* * string model = 3; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private float frameConfidenceThreshold_ ; + private float frameConfidenceThreshold_; /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -882,6 +974,7 @@ public Builder setModelBytes(
      * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -889,6 +982,8 @@ public float getFrameConfidenceThreshold() { return frameConfidenceThreshold_; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -899,16 +994,19 @@ public float getFrameConfidenceThreshold() {
      * 
* * float frame_confidence_threshold = 4; + * * @param value The frameConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setFrameConfidenceThreshold(float value) { - + frameConfidenceThreshold_ = value; onChanged(); return this; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -919,17 +1017,20 @@ public Builder setFrameConfidenceThreshold(float value) {
      * 
* * float frame_confidence_threshold = 4; + * * @return This builder for chaining. */ public Builder clearFrameConfidenceThreshold() { - + frameConfidenceThreshold_ = 0F; onChanged(); return this; } - private float videoConfidenceThreshold_ ; + private float videoConfidenceThreshold_; /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -940,6 +1041,7 @@ public Builder clearFrameConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -947,6 +1049,8 @@ public float getVideoConfidenceThreshold() { return videoConfidenceThreshold_; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -957,16 +1061,19 @@ public float getVideoConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; + * * @param value The videoConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setVideoConfidenceThreshold(float value) { - + videoConfidenceThreshold_ = value; onChanged(); return this; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -977,17 +1084,18 @@ public Builder setVideoConfidenceThreshold(float value) {
      * 
* * float video_confidence_threshold = 5; + * * @return This builder for chaining. */ public Builder clearVideoConfidenceThreshold() { - + videoConfidenceThreshold_ = 0F; 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); } @@ -997,12 +1105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelDetectionConfig) private static final com.google.cloud.videointelligence.v1.LabelDetectionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelDetectionConfig(); } @@ -1011,16 +1119,16 @@ public static com.google.cloud.videointelligence.v1.LabelDetectionConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1143,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java index 00fb7430b..25870c79a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelDetectionConfigOrBuilder extends +public interface LabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -15,10 +33,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
@@ -26,11 +47,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * .google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1; + * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1.LabelDetectionMode getLabelDetectionMode(); /** + * + * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -38,11 +62,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -50,10 +77,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -61,12 +91,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -77,11 +109,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ float getFrameConfidenceThreshold(); /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -92,6 +127,7 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ float getVideoConfidenceThreshold(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java index 7d5efd7b4..3afe1cae4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionMode.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.LabelDetectionMode} */ -public enum LabelDetectionMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum LabelDetectionMode */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** + * + * *
    * Detect shot-level labels.
    * 
@@ -29,6 +49,8 @@ public enum LabelDetectionMode */ SHOT_MODE(1), /** + * + * *
    * Detect frame-level labels.
    * 
@@ -37,6 +59,8 @@ public enum LabelDetectionMode */ FRAME_MODE(2), /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -48,6 +72,8 @@ public enum LabelDetectionMode ; /** + * + * *
    * Unspecified.
    * 
@@ -56,6 +82,8 @@ public enum LabelDetectionMode */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Detect shot-level labels.
    * 
@@ -64,6 +92,8 @@ public enum LabelDetectionMode */ public static final int SHOT_MODE_VALUE = 1; /** + * + * *
    * Detect frame-level labels.
    * 
@@ -72,6 +102,8 @@ public enum LabelDetectionMode */ public static final int FRAME_MODE_VALUE = 2; /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -80,7 +112,6 @@ public enum LabelDetectionMode */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,41 +136,47 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: return SHOT_MODE; - case 2: return FRAME_MODE; - case 3: return SHOT_AND_FRAME_MODE; - default: return null; + case 0: + return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: + return SHOT_MODE; + case 2: + return FRAME_MODE; + case 3: + return SHOT_AND_FRAME_MODE; + 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< - LabelDetectionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -147,8 +184,7 @@ public LabelDetectionMode findValueByNumber(int number) { public static LabelDetectionMode 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; @@ -164,4 +200,3 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.LabelDetectionMode) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java index 703926d0e..348e2b517 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrame.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelFrame} */ -public final class LabelFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelFrame) LabelFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelFrame() { - } + + private LabelFrame() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private LabelFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,35 +102,40 @@ private LabelFrame( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelFrame.class, com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1.LabelFrame.class, + com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -120,12 +143,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -133,6 +159,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -148,11 +176,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -161,6 +192,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -190,12 +221,10 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +234,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.videointelligence.v1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelFrame other = (com.google.cloud.videointelligence.v1.LabelFrame) obj; + com.google.cloud.videointelligence.v1.LabelFrame other = + (com.google.cloud.videointelligence.v1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,125 +264,133 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame 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; } /** + * + * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelFrame} */ - 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.videointelligence.v1.LabelFrame) com.google.cloud.videointelligence.v1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelFrame.class, com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1.LabelFrame.class, + com.google.cloud.videointelligence.v1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelFrame.newBuilder() @@ -362,16 +398,15 @@ 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(); @@ -387,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; } @java.lang.Override @@ -408,7 +443,8 @@ public com.google.cloud.videointelligence.v1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1.LabelFrame result = new com.google.cloud.videointelligence.v1.LabelFrame(this); + com.google.cloud.videointelligence.v1.LabelFrame result = + new com.google.cloud.videointelligence.v1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -423,38 +459,39 @@ public com.google.cloud.videointelligence.v1.LabelFrame 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.videointelligence.v1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelFrame) other); } else { super.mergeFrom(other); return this; @@ -462,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.LabelFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -500,36 +538,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -551,6 +602,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -558,8 +611,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -570,6 +622,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -581,7 +635,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -593,6 +647,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -612,6 +668,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -620,11 +678,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,11 +696,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -649,26 +712,32 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -676,37 +745,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelFrame) private static final com.google.cloud.videointelligence.v1.LabelFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelFrame(); } @@ -730,16 +805,16 @@ public static com.google.cloud.videointelligence.v1.LabelFrame getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java index 390d3e4cf..078ae6975 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelFrameOrBuilder extends +public interface LabelFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,11 +62,14 @@ public interface LabelFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java index 72a3046af..2fa7f71e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelSegment} */ -public final class LabelSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LabelSegment) LabelSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSegment() { - } + + private LabelSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private LabelSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private LabelSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelSegment.class, com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1.LabelSegment.class, + com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -119,18 +144,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -145,11 +177,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -158,6 +193,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +205,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -187,12 +222,10 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,21 +235,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.videointelligence.v1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.LabelSegment other = (com.google.cloud.videointelligence.v1.LabelSegment) obj; + com.google.cloud.videointelligence.v1.LabelSegment other = + (com.google.cloud.videointelligence.v1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +265,133 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.LabelSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment 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; } /** + * + * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LabelSegment} */ - 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.videointelligence.v1.LabelSegment) com.google.cloud.videointelligence.v1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LabelSegment.class, com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1.LabelSegment.class, + com.google.cloud.videointelligence.v1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LabelSegment.newBuilder() @@ -359,16 +399,15 @@ 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(); @@ -384,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; } @java.lang.Override @@ -405,7 +444,8 @@ public com.google.cloud.videointelligence.v1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1.LabelSegment result = new com.google.cloud.videointelligence.v1.LabelSegment(this); + com.google.cloud.videointelligence.v1.LabelSegment result = + new com.google.cloud.videointelligence.v1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -420,38 +460,39 @@ public com.google.cloud.videointelligence.v1.LabelSegment 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.videointelligence.v1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.LabelSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1.LabelSegment) other); } else { super.mergeFrom(other); return this; @@ -459,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.LabelSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -485,7 +527,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,34 +540,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -545,6 +601,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -563,6 +621,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -573,7 +633,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -585,6 +647,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -603,6 +667,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -610,11 +676,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -625,11 +693,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -637,26 +708,32 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -664,37 +741,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -704,12 +787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelSegment) private static final com.google.cloud.videointelligence.v1.LabelSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LabelSegment(); } @@ -718,16 +801,16 @@ public static com.google.cloud.videointelligence.v1.LabelSegment getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +825,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java index 9bfe3ef0c..423198f8a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface LabelSegmentOrBuilder extends +public interface LabelSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -35,11 +59,14 @@ public interface LabelSegmentOrBuilder extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java index 7ed36b2b4..06ab95d4a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Likelihood.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1.Likelihood} */ -public enum Likelihood - implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified likelihood.
    * 
@@ -21,6 +39,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Very unlikely.
    * 
@@ -29,6 +49,8 @@ public enum Likelihood */ VERY_UNLIKELY(1), /** + * + * *
    * Unlikely.
    * 
@@ -37,6 +59,8 @@ public enum Likelihood */ UNLIKELY(2), /** + * + * *
    * Possible.
    * 
@@ -45,6 +69,8 @@ public enum Likelihood */ POSSIBLE(3), /** + * + * *
    * Likely.
    * 
@@ -53,6 +79,8 @@ public enum Likelihood */ LIKELY(4), /** + * + * *
    * Very likely.
    * 
@@ -64,6 +92,8 @@ public enum Likelihood ; /** + * + * *
    * Unspecified likelihood.
    * 
@@ -72,6 +102,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Very unlikely.
    * 
@@ -80,6 +112,8 @@ public enum Likelihood */ public static final int VERY_UNLIKELY_VALUE = 1; /** + * + * *
    * Unlikely.
    * 
@@ -88,6 +122,8 @@ public enum Likelihood */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Possible.
    * 
@@ -96,6 +132,8 @@ public enum Likelihood */ public static final int POSSIBLE_VALUE = 3; /** + * + * *
    * Likely.
    * 
@@ -104,6 +142,8 @@ public enum Likelihood */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Very likely.
    * 
@@ -112,7 +152,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,57 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -198,4 +242,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1.Likelihood) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java index a9c0bd538..0614ce685 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Annotation corresponding to one detected, tracked and recognized logo class.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LogoRecognitionAnnotation} */ -public final class LogoRecognitionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LogoRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.LogoRecognitionAnnotation) LogoRecognitionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LogoRecognitionAnnotation.newBuilder() to construct. private LogoRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LogoRecognitionAnnotation() { tracks_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private LogoRecognitionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogoRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LogoRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,53 @@ private LogoRecognitionAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,8 +126,7 @@ private LogoRecognitionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -113,28 +138,34 @@ private LogoRecognitionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -142,19 +173,26 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -170,6 +208,8 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
   public static final int TRACKS_FIELD_NUMBER = 2;
   private java.util.List tracks_;
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -182,6 +222,8 @@ public java.util.List getTracksList
     return tracks_;
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -190,11 +232,13 @@ public java.util.List getTracksList
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTracksOrBuilderList() {
     return tracks_;
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -207,6 +251,8 @@ public int getTracksCount() {
     return tracks_.size();
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -219,6 +265,8 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
     return tracks_.get(index);
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -227,14 +275,15 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
-      int index) {
+  public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) {
     return tracks_.get(index);
   }
 
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -247,6 +296,8 @@ public java.util.List getSeg
     return segments_;
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -255,11 +306,13 @@ public java.util.List getSeg
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -272,6 +325,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -284,6 +339,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -298,6 +355,7 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -309,8 +367,7 @@ 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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -330,16 +387,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < tracks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, tracks_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tracks_.get(i));
     }
     for (int i = 0; i < segments_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, segments_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -349,22 +403,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.videointelligence.v1.LogoRecognitionAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other = (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) obj;
+    com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other =
+        (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity()
-          .equals(other.getEntity())) return false;
+      if (!getEntity().equals(other.getEntity())) return false;
     }
-    if (!getTracksList()
-        .equals(other.getTracksList())) return false;
-    if (!getSegmentsList()
-        .equals(other.getSegmentsList())) return false;
+    if (!getTracksList().equals(other.getTracksList())) return false;
+    if (!getSegmentsList().equals(other.getSegmentsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -394,117 +446,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation 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.videointelligence.v1.LogoRecognitionAnnotation prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation 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;
   }
   /**
+   *
+   *
    * 
    * Annotation corresponding to one detected, tracked and recognized logo class.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.LogoRecognitionAnnotation} */ - 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.videointelligence.v1.LogoRecognitionAnnotation) com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.newBuilder() @@ -512,18 +574,18 @@ 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) { getTracksFieldBuilder(); getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -549,13 +611,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance(); } @@ -570,7 +633,8 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation result = new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation(this); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation result = + new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -603,46 +667,50 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation buildPart 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.videointelligence.v1.LogoRecognitionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -664,9 +732,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LogoRecognitionAn tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -690,9 +759,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.LogoRecognitionAn segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -717,7 +787,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -726,40 +798,54 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -781,6 +867,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -788,8 +876,7 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) {
      *
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
-    public Builder setEntity(
-        com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) {
+    public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) {
       if (entityBuilder_ == null) {
         entity_ = builderForValue.build();
         onChanged();
@@ -800,6 +887,8 @@ public Builder setEntity(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -811,7 +900,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) {
       if (entityBuilder_ == null) {
         if (entity_ != null) {
           entity_ =
-            com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           entity_ = value;
         }
@@ -823,6 +914,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -842,6 +935,8 @@ public Builder clearEntity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -850,11 +945,13 @@ public Builder clearEntity() {
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
     public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() {
-      
+
       onChanged();
       return getEntityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -866,11 +963,14 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null ?
-            com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_;
+        return entity_ == null
+            ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance()
+            : entity_;
       }
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -879,32 +979,41 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(
      * .google.cloud.videointelligence.v1.Entity entity = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1.Entity,
+            com.google.cloud.videointelligence.v1.Entity.Builder,
+            com.google.cloud.videointelligence.v1.EntityOrBuilder>
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>(
-                getEntity(),
-                getParentForChildren(),
-                isClean());
+        entityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.Entity,
+                com.google.cloud.videointelligence.v1.Entity.Builder,
+                com.google.cloud.videointelligence.v1.EntityOrBuilder>(
+                getEntity(), getParentForChildren(), isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
 
     private java.util.List tracks_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTracksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tracks_ = new java.util.ArrayList(tracks_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_;
+            com.google.cloud.videointelligence.v1.Track,
+            com.google.cloud.videointelligence.v1.Track.Builder,
+            com.google.cloud.videointelligence.v1.TrackOrBuilder>
+        tracksBuilder_;
 
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -920,6 +1029,8 @@ public java.util.List getTracksList
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -935,6 +1046,8 @@ public int getTracksCount() {
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -950,6 +1063,8 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -957,8 +1072,7 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder setTracks(
-        int index, com.google.cloud.videointelligence.v1.Track value) {
+    public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -972,6 +1086,8 @@ public Builder setTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -991,6 +1107,8 @@ public Builder setTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1012,6 +1130,8 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1019,8 +1139,7 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder addTracks(
-        int index, com.google.cloud.videointelligence.v1.Track value) {
+    public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1034,6 +1153,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1041,8 +1162,7 @@ public Builder addTracks(
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public Builder addTracks(
-        com.google.cloud.videointelligence.v1.Track.Builder builderForValue) {
+    public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
         tracks_.add(builderForValue.build());
@@ -1053,6 +1173,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1072,6 +1194,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1083,8 +1207,7 @@ public Builder addAllTracks(
         java.lang.Iterable values) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, tracks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_);
         onChanged();
       } else {
         tracksBuilder_.addAllMessages(values);
@@ -1092,6 +1215,8 @@ public Builder addAllTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1110,6 +1235,8 @@ public Builder clearTracks() {
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1128,6 +1255,8 @@ public Builder removeTracks(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1135,11 +1264,12 @@ public Builder removeTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) {
       return getTracksFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1147,14 +1277,16 @@ public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) {
       if (tracksBuilder_ == null) {
-        return tracks_.get(index);  } else {
+        return tracks_.get(index);
+      } else {
         return tracksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1162,8 +1294,8 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public java.util.List 
-         getTracksOrBuilderList() {
+    public java.util.List
+        getTracksOrBuilderList() {
       if (tracksBuilder_ != null) {
         return tracksBuilder_.getMessageOrBuilderList();
       } else {
@@ -1171,6 +1303,8 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1179,10 +1313,12 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
     public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() {
-      return getTracksFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
+      return getTracksFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1190,12 +1326,13 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() {
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(
-        int index) {
-      return getTracksFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) {
+      return getTracksFieldBuilder()
+          .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1203,38 +1340,48 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(
      *
      * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
      */
-    public java.util.List 
-         getTracksBuilderList() {
+    public java.util.List
+        getTracksBuilderList() {
       return getTracksFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> 
+            com.google.cloud.videointelligence.v1.Track,
+            com.google.cloud.videointelligence.v1.Track.Builder,
+            com.google.cloud.videointelligence.v1.TrackOrBuilder>
         getTracksFieldBuilder() {
       if (tracksBuilder_ == null) {
-        tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>(
-                tracks_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        tracksBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.Track,
+                com.google.cloud.videointelligence.v1.Track.Builder,
+                com.google.cloud.videointelligence.v1.TrackOrBuilder>(
+                tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         tracks_ = null;
       }
       return tracksBuilder_;
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1.VideoSegment,
+            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1250,6 +1397,8 @@ public java.util.List getSeg
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1265,6 +1414,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1280,6 +1431,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1302,6 +1455,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1321,6 +1476,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1342,6 +1499,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.VideoSegment va
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1364,6 +1523,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1383,6 +1544,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1402,6 +1565,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1413,8 +1578,7 @@ public Builder addAllSegments(
         java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1422,6 +1586,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1440,6 +1606,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1458,6 +1626,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1470,6 +1640,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1480,11 +1652,14 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
     public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1492,8 +1667,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1501,6 +1676,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1509,10 +1686,12 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1522,10 +1701,13 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1533,27 +1715,30 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1.VideoSegment,
+            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.VideoSegment,
+                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
     }
+
     @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);
     }
 
@@ -1563,30 +1748,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
-  private static final com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation();
   }
 
-  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public LogoRecognitionAnnotation parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new LogoRecognitionAnnotation(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public LogoRecognitionAnnotation parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new LogoRecognitionAnnotation(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1598,9 +1785,8 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
index 60496589e..5da50d02a 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotationOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface LogoRecognitionAnnotationOrBuilder extends
+public interface LogoRecognitionAnnotationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.LogoRecognitionAnnotation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -38,6 +62,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder();
 
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -45,9 +71,10 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  java.util.List 
-      getTracksList();
+  java.util.List getTracksList();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -57,6 +84,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1.Track getTracks(int index);
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -66,6 +95,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    */
   int getTracksCount();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -73,9 +104,11 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  java.util.List 
+  java.util.List
       getTracksOrBuilderList();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -83,10 +116,11 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.Track tracks = 2;
    */
-  com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -94,9 +128,10 @@ com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -106,6 +141,8 @@ com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
    */
   com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -115,6 +152,8 @@ com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -122,9 +161,11 @@ com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -132,6 +173,5 @@ com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
    */
-  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
index d32213da8..a1cbeafcd 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBox.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
+ *
+ *
  * 
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedBoundingBox() {
-  }
+
+  private NormalizedBoundingBox() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,33 +70,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            left_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            top_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            right_ = input.readFloat();
-            break;
-          }
-          case 37: {
-
-            bottom_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              left_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              top_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              right_ = input.readFloat();
+              break;
+            }
+          case 37:
+            {
+              bottom_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +104,39 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
+   *
+   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -126,11 +147,14 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -141,11 +165,14 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -156,11 +183,14 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -169,6 +199,7 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +211,7 @@ 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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -204,20 +234,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,25 +253,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.videointelligence.v1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1.NormalizedBoundingBox other = + (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits( - other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) - != java.lang.Float.floatToIntBits( - other.getTop())) return false; + != java.lang.Float.floatToIntBits(other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) + return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits( - other.getRight())) return false; + != java.lang.Float.floatToIntBits(other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits( - other.getBottom())) return false; + != java.lang.Float.floatToIntBits(other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,113 +281,117 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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; } /** + * + * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -373,21 +400,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.class,
+              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder()
@@ -395,16 +424,15 @@ 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();
@@ -420,9 +448,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
@@ -441,7 +469,8 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1.NormalizedBoundingBox result =
+          new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -454,38 +483,39 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox 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.videointelligence.v1.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingBox)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingBox) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundingBox other) {
-      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance())
+        return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -525,7 +556,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.NormalizedBoundingBox) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -535,13 +567,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_ ;
+    private float left_;
     /**
+     *
+     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -549,42 +584,51 @@ public float getLeft() { return left_; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_ ; + private float top_; /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -592,42 +636,51 @@ public float getTop() { return top_; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_ ; + private float right_; /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -635,42 +688,51 @@ public float getRight() { return right_; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_ ; + private float bottom_; /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -678,37 +740,43 @@ public float getBottom() { return bottom_; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -718,12 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingBox) private static final com.google.cloud.videointelligence.v1.NormalizedBoundingBox DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedBoundingBox(); } @@ -732,16 +800,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedBoundingBox getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java index 2f419ce6f..fd35203c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingBoxOrBuilder.java @@ -1,48 +1,76 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface NormalizedBoundingBoxOrBuilder extends +public interface NormalizedBoundingBoxOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ float getLeft(); /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ float getTop(); /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ float getRight(); /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ float getBottom(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java index 6b1351cfc..d94d58156 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPoly.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -24,31 +41,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,22 +85,27 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vertices_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vertices_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.NormalizedVertex>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vertices_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.NormalizedVertex.parser(),
+                      extensionRegistry));
+              break;
             }
-            vertices_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.NormalizedVertex.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -91,8 +113,7 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -101,22 +122,27 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
+   *
+   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -128,6 +154,8 @@ public java.util.List ge return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -135,11 +163,13 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVerticesOrBuilderList() { return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -151,6 +181,8 @@ public int getVerticesCount() { return vertices_.size(); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -162,6 +194,8 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int in return vertices_.get(index); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -175,6 +209,7 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +221,7 @@ 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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -201,8 +235,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -212,15 +245,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.videointelligence.v1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other = + (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) obj; - if (!getVerticesList() - .equals(other.getVerticesList())) return false; + if (!getVerticesList().equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -242,96 +275,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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; } /** + * + * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -352,21 +393,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.class,
+              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder()
@@ -374,17 +417,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) {
         getVerticesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,13 +441,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance();
     }
 
@@ -419,7 +463,8 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly result =
+          new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -438,38 +483,39 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly 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.videointelligence.v1.NormalizedBoundingPoly) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingPoly)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,7 +523,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly other) {
-      if (other == com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance())
+        return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -496,9 +544,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedBoundin
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVerticesFieldBuilder() : null;
+            verticesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVerticesFieldBuilder()
+                    : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -523,7 +572,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.NormalizedBoundingPoly) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -532,28 +582,38 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List vertices_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ = new java.util.ArrayList(vertices_);
+        vertices_ =
+            new java.util.ArrayList(
+                vertices_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> verticesBuilder_;
+            com.google.cloud.videointelligence.v1.NormalizedVertex,
+            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder,
+            com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>
+        verticesBuilder_;
 
     /**
+     *
+     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List getVerticesList() { + public java.util.List + getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -561,6 +621,8 @@ public java.util.List ge } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -575,6 +637,8 @@ public int getVerticesCount() { } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -589,6 +653,8 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int in } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -610,6 +676,8 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -628,6 +696,8 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -648,6 +718,8 @@ public Builder addVertices(com.google.cloud.videointelligence.v1.NormalizedVerte return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -669,6 +741,8 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -687,6 +761,8 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -705,6 +781,8 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -712,11 +790,11 @@ public Builder addVertices( * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ public Builder addAllVertices( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -724,6 +802,8 @@ public Builder addAllVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -741,6 +821,8 @@ public Builder clearVertices() { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -758,6 +840,8 @@ public Builder removeVertices(int index) { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -769,6 +853,8 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getVertice return getVerticesFieldBuilder().getBuilder(index); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -778,19 +864,22 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder getVertice public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder( int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); } else { + return vertices_.get(index); + } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesOrBuilderList() { + public java.util.List + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -798,6 +887,8 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -805,10 +896,12 @@ public com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVertic * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVerticesBuilder() { - return getVerticesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
@@ -817,37 +910,43 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVertice */ public com.google.cloud.videointelligence.v1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedVertex, + com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedVertex, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>( - vertices_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + verticesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedVertex, + com.google.cloud.videointelligence.v1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder>( + vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); vertices_ = null; } return verticesBuilder_; } + @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); } @@ -857,12 +956,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1.NormalizedBoundingPoly DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.NormalizedBoundingPoly + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedBoundingPoly(); } @@ -871,16 +971,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,6 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java index a842d5f9a..d89c012e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedBoundingPolyOrBuilder.java @@ -1,22 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface NormalizedBoundingPolyOrBuilder extends +public interface NormalizedBoundingPolyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - java.util.List - getVerticesList(); + java.util.List getVerticesList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -25,6 +44,8 @@ public interface NormalizedBoundingPolyOrBuilder extends */ com.google.cloud.videointelligence.v1.NormalizedVertex getVertices(int index); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -33,21 +54,24 @@ public interface NormalizedBoundingPolyOrBuilder extends */ int getVerticesCount(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1; */ - com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder getVerticesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java index 53a806ecc..c5b967574 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertex.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedVertex}
  */
-public final class NormalizedVertex extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedVertex() {
-  }
+
+  private NormalizedVertex() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,23 +70,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            x_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            y_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              x_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              y_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,34 +94,39 @@ private NormalizedVertex(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.NormalizedVertex.class, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1.NormalizedVertex.class,
+            com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
+   *
+   *
    * 
    * X coordinate.
    * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -116,11 +137,14 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** + * + * *
    * Y coordinate.
    * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -129,6 +153,7 @@ public float getY() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +165,7 @@ 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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -158,12 +182,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,19 +195,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.videointelligence.v1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.NormalizedVertex other = (com.google.cloud.videointelligence.v1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1.NormalizedVertex other = + (com.google.cloud.videointelligence.v1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) - != java.lang.Float.floatToIntBits( - other.getX())) return false; - if (java.lang.Float.floatToIntBits(getY()) - != java.lang.Float.floatToIntBits( - other.getY())) return false; + if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) + return false; + if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -198,107 +219,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedVertex parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.NormalizedVertex parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.NormalizedVertex 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; } /** + * + * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -307,21 +334,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.NormalizedVertex}
    */
-  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.videointelligence.v1.NormalizedVertex)
       com.google.cloud.videointelligence.v1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.NormalizedVertex.class, com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1.NormalizedVertex.class,
+              com.google.cloud.videointelligence.v1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.NormalizedVertex.newBuilder()
@@ -329,16 +358,15 @@ 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();
@@ -350,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
@@ -371,7 +399,8 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1.NormalizedVertex result = new com.google.cloud.videointelligence.v1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1.NormalizedVertex result =
+          new com.google.cloud.videointelligence.v1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -382,38 +411,39 @@ public com.google.cloud.videointelligence.v1.NormalizedVertex 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.videointelligence.v1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedVertex)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.NormalizedVertex) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -421,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.NormalizedVertex other) {
-      if (other == com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.NormalizedVertex.getDefaultInstance())
+        return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -447,7 +478,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.NormalizedVertex) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.NormalizedVertex) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -457,13 +489,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_ ;
+    private float x_;
     /**
+     *
+     *
      * 
      * X coordinate.
      * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -471,42 +506,51 @@ public float getX() { return x_; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_ ; + private float y_; /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -514,37 +558,43 @@ public float getY() { return y_; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -554,12 +604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedVertex) private static final com.google.cloud.videointelligence.v1.NormalizedVertex DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.NormalizedVertex(); } @@ -568,16 +618,16 @@ public static com.google.cloud.videointelligence.v1.NormalizedVertex getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..9293b8bf9 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/NormalizedVertexOrBuilder.java @@ -0,0 +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/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public interface NormalizedVertexOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * + * @return The x. + */ + float getX(); + + /** + * + * + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * + * @return The y. + */ + float getY(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java index 9a8d0eb31..b7fc543c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ObjectTrackingAnnotation() { frames_ = java.util.Collections.emptyList(); version_ = ""; @@ -26,16 +44,15 @@ private ObjectTrackingAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,65 +72,80 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } + + break; } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.ObjectTrackingFrame>(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.ObjectTrackingFrame.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = + ((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_).toBuilder(); + } + trackInfo_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); + } + trackInfoCase_ = 3; + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingFrame.parser(), extensionRegistry)); - break; - } - case 26: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = ((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_).toBuilder(); + case 37: + { + confidence_ = input.readFloat(); + break; } - trackInfo_ = - input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); + case 40: + { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; } - trackInfoCase_ = 3; - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - case 40: { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,8 +153,7 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -131,28 +162,34 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; + public enum TrackInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; + private TrackInfoCase(int value) { this.value = value; } @@ -168,31 +205,37 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: return SEGMENT; - case 5: return TRACK_ID; - case 0: return TRACKINFO_NOT_SET; - default: return null; + case 3: + return SEGMENT; + case 5: + return TRACK_ID; + case 0: + return TRACKINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -200,22 +243,27 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance(); } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -226,13 +274,15 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-       return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_;
+      return (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -243,6 +293,7 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ @java.lang.Override @@ -250,6 +301,8 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -260,6 +313,7 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; + * * @return The trackId. */ @java.lang.Override @@ -273,11 +327,14 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.Entity entity_; /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -285,18 +342,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -311,11 +375,14 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -326,6 +393,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -340,6 +409,8 @@ public java.util.List
     return frames_;
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -350,11 +421,14 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
       getFramesOrBuilderList() {
     return frames_;
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -369,6 +443,8 @@ public int getFramesCount() {
     return frames_.size();
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -383,6 +459,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int i
     return frames_.get(index);
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -401,11 +479,14 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
   public static final int VERSION_FIELD_NUMBER = 6;
   private volatile java.lang.Object version_;
   /**
+   *
+   *
    * 
    * Feature version.
    * 
* * string version = 6; + * * @return The version. */ @java.lang.Override @@ -414,29 +495,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 6; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -445,6 +526,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -456,8 +538,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -471,8 +552,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeFloat(4, confidence_); } if (trackInfoCase_ == 5) { - output.writeInt64( - 5, (long)((java.lang.Long) trackInfo_)); + output.writeInt64(5, (long) ((java.lang.Long) trackInfo_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, version_); @@ -487,25 +567,23 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } if (trackInfoCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 5, (long)((java.lang.Long) trackInfo_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 5, (long) ((java.lang.Long) trackInfo_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, version_); @@ -518,34 +596,29 @@ 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.videointelligence.v1.ObjectTrackingAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other = + (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false; switch (trackInfoCase_) { case 3: - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; break; case 5: - if (getTrackId() - != other.getTrackId()) return false; + if (getTrackId() != other.getTrackId()) return false; break; case 0: default: @@ -566,8 +639,7 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -581,8 +653,7 @@ public int hashCode() { break; case 5: hash = (37 * hash) + TRACK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTrackId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId()); break; case 0: default: @@ -593,117 +664,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation 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.videointelligence.v1.ObjectTrackingAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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; } /** + * + * *
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.newBuilder() @@ -711,17 +792,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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -747,13 +828,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance(); } @@ -768,7 +850,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation result = + new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -805,38 +888,39 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation 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) { + 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.videointelligence.v1.ObjectTrackingAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) other); } else { super.mergeFrom(other); return this; @@ -844,7 +928,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -869,9 +955,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnn framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -882,17 +969,20 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingAnn onChanged(); } switch (other.getTrackInfoCase()) { - case SEGMENT: { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: { - break; - } + case SEGMENT: + { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: + { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -913,7 +1003,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -922,12 +1014,12 @@ public Builder mergeFrom( } return this; } + private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public Builder clearTrackInfo() { @@ -940,14 +1032,20 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -955,12 +1053,15 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override @@ -978,6 +1079,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { } } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -999,6 +1102,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1018,6 +1123,8 @@ public Builder setSegment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1027,10 +1134,14 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3 &&
-            trackInfo_ != com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ = com.google.cloud.videointelligence.v1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_)
-              .mergeFrom(value).buildPartial();
+        if (trackInfoCase_ == 3
+            && trackInfo_
+                != com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ =
+              com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(
+                      (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -1046,6 +1157,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1070,6 +1183,8 @@ public Builder clearSegment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1081,6 +1196,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuil
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1100,6 +1217,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
       }
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1108,25 +1227,33 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * .google.cloud.videointelligence.v1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1.VideoSegment,
+            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
           trackInfo_ = com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+        segmentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.VideoSegment,
+                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return segmentBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1137,12 +1264,15 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1153,6 +1283,7 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; + * * @return The trackId. */ public long getTrackId() { @@ -1162,6 +1293,8 @@ public long getTrackId() { return 0L; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1172,6 +1305,7 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; + * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1182,6 +1316,8 @@ public Builder setTrackId(long value) { return this; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1192,6 +1328,7 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; + * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1205,34 +1342,47 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1253,14 +1403,15 @@ public Builder setEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; */ - public Builder setEntity( - com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { + public Builder setEntity(com.google.cloud.videointelligence.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); @@ -1271,6 +1422,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1281,7 +1434,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -1293,6 +1448,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1.Entity value) { return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1311,6 +1468,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1318,11 +1477,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1333,11 +1494,14 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1345,26 +1509,32 @@ public com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder( * .google.cloud.videointelligence.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder> + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.Entity, com.google.cloud.videointelligence.v1.Entity.Builder, com.google.cloud.videointelligence.v1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.Entity, + com.google.cloud.videointelligence.v1.Entity.Builder, + com.google.cloud.videointelligence.v1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -1372,48 +1542,62 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1423,7 +1607,8 @@ private void ensureFramesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List getFramesList() {
+    public java.util.List
+        getFramesList() {
       if (framesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(frames_);
       } else {
@@ -1431,6 +1616,8 @@ public java.util.List
       }
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1448,6 +1635,8 @@ public int getFramesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1465,6 +1654,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int i
       }
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1489,6 +1680,8 @@ public Builder setFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1499,7 +1692,8 @@ public Builder setFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder setFrames(
-        int index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
         frames_.set(index, builderForValue.build());
@@ -1510,6 +1704,8 @@ public Builder setFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1533,6 +1729,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.ObjectTrackingFra
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1557,6 +1755,8 @@ public Builder addFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1578,6 +1778,8 @@ public Builder addFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1588,7 +1790,8 @@ public Builder addFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder addFrames(
-        int index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder builderForValue) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
         frames_.add(index, builderForValue.build());
@@ -1599,6 +1802,8 @@ public Builder addFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1609,11 +1814,11 @@ public Builder addFrames(
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public Builder addAllFrames(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (framesBuilder_ == null) {
         ensureFramesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, frames_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_);
         onChanged();
       } else {
         framesBuilder_.addAllMessages(values);
@@ -1621,6 +1826,8 @@ public Builder addAllFrames(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1641,6 +1848,8 @@ public Builder clearFrames() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1661,6 +1870,8 @@ public Builder removeFrames(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1675,6 +1886,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder getFram
       return getFramesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1687,11 +1900,14 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder getFram
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
         int index) {
       if (framesBuilder_ == null) {
-        return frames_.get(index);  } else {
+        return frames_.get(index);
+      } else {
         return framesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1701,8 +1917,9 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List 
-         getFramesOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
+        getFramesOrBuilderList() {
       if (framesBuilder_ != null) {
         return framesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1710,6 +1927,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
       }
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1720,10 +1939,13 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFra
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFramesBuilder() {
-      return getFramesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
+      return getFramesFieldBuilder()
+          .addBuilder(
+              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1735,10 +1957,14 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
      */
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFramesBuilder(
         int index) {
-      return getFramesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
+      return getFramesFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1748,20 +1974,23 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
      *
      * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
      */
-    public java.util.List 
-         getFramesBuilderList() {
+    public java.util.List
+        getFramesBuilderList() {
       return getFramesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder> 
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame,
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder,
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>
         getFramesFieldBuilder() {
       if (framesBuilder_ == null) {
-        framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>(
-                frames_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        framesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.ObjectTrackingFrame,
+                com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder,
+                com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder>(
+                frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         frames_ = null;
       }
       return framesBuilder_;
@@ -1769,18 +1998,20 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder addFram
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * Feature version.
      * 
* * string version = 6; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1789,20 +2020,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 6; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1810,61 +2042,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 6; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 6; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 6; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1874,30 +2113,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1909,9 +2150,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java index a6f116a79..c30434169 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingAnnotationOrBuilder extends +public interface ObjectTrackingAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 3; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -38,6 +62,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -48,10 +74,13 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -62,29 +91,38 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return The trackId. */ long getTrackId(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1.Entity getEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -94,16 +132,21 @@ public interface ObjectTrackingAnnotationOrBuilder extends com.google.cloud.videointelligence.v1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -113,9 +156,10 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List 
-      getFramesList();
+  java.util.List getFramesList();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -127,6 +171,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1.ObjectTrackingFrame getFrames(int index);
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -138,6 +184,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    */
   int getFramesCount();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -147,9 +195,11 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List 
+  java.util.List
       getFramesOrBuilderList();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -159,28 +209,33 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.ObjectTrackingFrame frames = 2;
    */
-  com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Feature version.
    * 
* * string version = 6; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 6; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase(); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.TrackInfoCase + getTrackInfoCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java index e06446fd6..d355fb851 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingConfig} */ -public final class ObjectTrackingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingConfig) ObjectTrackingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ObjectTrackingConfig.newBuilder() to construct. private ObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ObjectTrackingConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ObjectTrackingConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ObjectTrackingConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ObjectTrackingConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1.ObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingConfig other = (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingConfig other = + (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingConfig} */ - 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.videointelligence.v1.ObjectTrackingConfig) com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder() @@ -326,16 +359,15 @@ 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(); @@ -345,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; } @java.lang.Override @@ -366,7 +398,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1.ObjectTrackingConfig result = new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(this); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig result = + new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,38 +409,39 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig 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.videointelligence.v1.ObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingConfig) other); } else { super.mergeFrom(other); return this; @@ -415,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingConfig other) { - if (other == com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.ObjectTrackingConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +487,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +496,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +511,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +520,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +535,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +544,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +567,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +586,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingConfig) private static final com.google.cloud.videointelligence.v1.ObjectTrackingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingConfig(); } @@ -580,16 +626,16 @@ public static com.google.cloud.videointelligence.v1.ObjectTrackingConfig getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java index b980a9f29..06c9e86bc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingConfigOrBuilder extends +public interface ObjectTrackingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ObjectTrackingConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ObjectTrackingConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java index 4bd92b2c3..cb7288a85 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ObjectTrackingFrame() {
-  }
+
+  private ObjectTrackingFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,45 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
-            if (normalizedBoundingBox_ != null) {
-              subBuilder = normalizedBoundingBox_.toBuilder();
-            }
-            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(normalizedBoundingBox_);
-              normalizedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
+              if (normalizedBoundingBox_ != null) {
+                subBuilder = normalizedBoundingBox_.toBuilder();
+              }
+              normalizedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(normalizedBoundingBox_);
+                normalizedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +115,40 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class,
+            com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
+   *
+   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -128,37 +156,50 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -166,11 +207,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -178,6 +222,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
@@ -190,6 +236,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +248,7 @@ 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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -219,12 +265,11 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNormalizedBoundingBox()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +279,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.videointelligence.v1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1.ObjectTrackingFrame other = + (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox() - .equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +320,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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; } /** + * + * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -373,21 +425,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.class,
+              com.google.cloud.videointelligence.v1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.ObjectTrackingFrame.newBuilder()
@@ -395,16 +449,15 @@ 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();
@@ -424,9 +477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +498,8 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1.ObjectTrackingFrame result =
+          new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -464,38 +518,39 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingFrame 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.videointelligence.v1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.ObjectTrackingFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.ObjectTrackingFrame other) {
-      if (other == com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.ObjectTrackingFrame.getDefaultInstance())
+        return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -529,7 +585,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.ObjectTrackingFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -541,41 +598,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>
+        normalizedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -589,11 +663,14 @@ public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.No return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder setNormalizedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -607,17 +684,24 @@ public Builder setNormalizedBoundingBox( return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder( + normalizedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -629,11 +713,14 @@ public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1. return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -647,48 +734,63 @@ public Builder clearNormalizedBoundingBox() { return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), - getParentForChildren(), - isClean()); + normalizedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), getParentForChildren(), isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -696,34 +798,47 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getN private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -744,14 +859,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -762,6 +878,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -772,7 +890,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -784,6 +902,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -802,6 +922,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -809,11 +931,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -824,11 +948,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -836,21 +963,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -860,12 +990,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingFrame) private static final com.google.cloud.videointelligence.v1.ObjectTrackingFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ObjectTrackingFrame(); } @@ -874,16 +1004,16 @@ public static com.google.cloud.videointelligence.v1.ObjectTrackingFrame getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +1028,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.ObjectTrackingFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java index 2f3bd9d93..f05afcaef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingFrameOrBuilder.java @@ -1,58 +1,94 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ObjectTrackingFrameOrBuilder extends +public interface ObjectTrackingFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java index 5147a9a2c..8d176e81e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Person detection annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionAnnotation} */ -public final class PersonDetectionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PersonDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.PersonDetectionAnnotation) PersonDetectionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PersonDetectionAnnotation.newBuilder() to construct. private PersonDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PersonDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); version_ = ""; @@ -26,16 +44,15 @@ private PersonDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PersonDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PersonDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private PersonDetectionAnnotation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1.Track.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private PersonDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -94,22 +113,27 @@ private PersonDetectionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 1; private java.util.List tracks_; /** + * + * *
    * The detected tracks of a person.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTracksList return tracks_; } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTracksList * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -144,6 +172,8 @@ public int getTracksCount() { return tracks_.size(); } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { return tracks_.get(index); } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -162,19 +194,21 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { return tracks_.get(index); } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -183,29 +217,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -214,6 +248,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ 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 < tracks_.size(); i++) { output.writeMessage(1, tracks_.get(i)); } @@ -243,8 +277,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tracks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); @@ -257,17 +290,16 @@ 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.videointelligence.v1.PersonDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other = (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other = + (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) obj; - if (!getTracksList() - .equals(other.getTracksList())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getTracksList().equals(other.getTracksList())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,117 +323,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation 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.videointelligence.v1.PersonDetectionAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation 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; } /** + * + * *
    * Person detection annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionAnnotation} */ - 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.videointelligence.v1.PersonDetectionAnnotation) com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.class, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.newBuilder() @@ -409,17 +451,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) { getTracksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,13 +477,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance(); } @@ -456,7 +499,8 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation result = new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(this); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation result = + new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,46 +520,50 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation buildPart 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.videointelligence.v1.PersonDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()) + return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -534,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.PersonDetectionAn tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -565,7 +614,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.PersonDetectionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,21 +625,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tracks_ = new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> tracksBuilder_; + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder> + tracksBuilder_; /** + * + * *
      * The detected tracks of a person.
      * 
@@ -603,6 +661,8 @@ public java.util.List getTracksList } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -617,6 +677,8 @@ public int getTracksCount() { } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -631,14 +693,15 @@ public com.google.cloud.videointelligence.v1.Track getTracks(int index) { } } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder setTracks( - int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder setTracks(int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -652,6 +715,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -670,6 +735,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -690,14 +757,15 @@ public Builder addTracks(com.google.cloud.videointelligence.v1.Track value) { return this; } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder addTracks( - int index, com.google.cloud.videointelligence.v1.Track value) { + public Builder addTracks(int index, com.google.cloud.videointelligence.v1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,14 +779,15 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public Builder addTracks( - com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { + public Builder addTracks(com.google.cloud.videointelligence.v1.Track.Builder builderForValue) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); tracks_.add(builderForValue.build()); @@ -729,6 +798,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -747,6 +818,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -757,8 +830,7 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -766,6 +838,8 @@ public Builder addAllTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -783,6 +857,8 @@ public Builder clearTracks() { return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -800,39 +876,44 @@ public Builder removeTracks(int index) { return this; } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder( - int index) { + public com.google.cloud.videointelligence.v1.Track.Builder getTracksBuilder(int index) { return getTracksFieldBuilder().getBuilder(index); } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); } else { + return tracks_.get(index); + } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -840,6 +921,8 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -847,42 +930,48 @@ public com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + return getTracksFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( - int index) { - return getTracksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder(int index) { + return getTracksFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.Track.getDefaultInstance()); } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder> + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.Track, com.google.cloud.videointelligence.v1.Track.Builder, com.google.cloud.videointelligence.v1.TrackOrBuilder>( - tracks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tracksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.Track, + com.google.cloud.videointelligence.v1.Track.Builder, + com.google.cloud.videointelligence.v1.TrackOrBuilder>( + tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tracks_ = null; } return tracksBuilder_; @@ -890,18 +979,20 @@ public com.google.cloud.videointelligence.v1.Track.Builder addTracksBuilder( private java.lang.Object version_ = ""; /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -910,20 +1001,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -931,61 +1023,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -995,30 +1094,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.PersonDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.PersonDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1.PersonDetectionAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.PersonDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,9 +1131,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java index 97550a28f..340f63beb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface PersonDetectionAnnotationOrBuilder extends +public interface PersonDetectionAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.PersonDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - java.util.List - getTracksList(); + java.util.List getTracksList(); /** + * + * *
    * The detected tracks of a person.
    * 
@@ -25,6 +44,8 @@ public interface PersonDetectionAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1.Track getTracks(int index); /** + * + * *
    * The detected tracks of a person.
    * 
@@ -33,41 +54,49 @@ public interface PersonDetectionAnnotationOrBuilder extends */ int getTracksCount(); /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1.Track tracks = 1; */ - com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder( - int index); + com.google.cloud.videointelligence.v1.TrackOrBuilder getTracksOrBuilder(int index); /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java index 73df4aad2..d72f261a8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for PERSON_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionConfig} */ -public final class PersonDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PersonDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.PersonDetectionConfig) PersonDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PersonDetectionConfig.newBuilder() to construct. private PersonDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PersonDetectionConfig() { - } + + private PersonDetectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PersonDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PersonDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,28 +68,28 @@ private PersonDetectionConfig( case 0: done = true; break; - case 8: { - - includeBoundingBoxes_ = input.readBool(); - break; - } - case 16: { - - includePoseLandmarks_ = input.readBool(); - break; - } - case 24: { - - includeAttributes_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + includeBoundingBoxes_ = input.readBool(); + break; + } + case 16: + { + includePoseLandmarks_ = input.readBool(); + break; + } + case 24: + { + includeAttributes_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -81,35 +97,40 @@ private PersonDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); } public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 1; private boolean includeBoundingBoxes_; /** + * + * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -120,12 +141,15 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_POSE_LANDMARKS_FIELD_NUMBER = 2; private boolean includePoseLandmarks_; /** + * + * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ @java.lang.Override @@ -136,6 +160,8 @@ public boolean getIncludePoseLandmarks() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 3; private boolean includeAttributes_; /** + * + * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -144,6 +170,7 @@ public boolean getIncludePoseLandmarks() {
    * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ @java.lang.Override @@ -152,6 +179,7 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +191,7 @@ 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 (includeBoundingBoxes_ != false) { output.writeBool(1, includeBoundingBoxes_); } @@ -184,16 +211,13 @@ public int getSerializedSize() { size = 0; if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, includeBoundingBoxes_); } if (includePoseLandmarks_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includePoseLandmarks_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includePoseLandmarks_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, includeAttributes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,19 +227,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.videointelligence.v1.PersonDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.PersonDetectionConfig other = (com.google.cloud.videointelligence.v1.PersonDetectionConfig) obj; + com.google.cloud.videointelligence.v1.PersonDetectionConfig other = + (com.google.cloud.videointelligence.v1.PersonDetectionConfig) obj; - if (getIncludeBoundingBoxes() - != other.getIncludeBoundingBoxes()) return false; - if (getIncludePoseLandmarks() - != other.getIncludePoseLandmarks()) return false; - if (getIncludeAttributes() - != other.getIncludeAttributes()) return false; + if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; + if (getIncludePoseLandmarks() != other.getIncludePoseLandmarks()) return false; + if (getIncludeAttributes() != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,131 +250,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_POSE_LANDMARKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludePoseLandmarks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePoseLandmarks()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.PersonDetectionConfig 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; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.PersonDetectionConfig} */ - 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.videointelligence.v1.PersonDetectionConfig) com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.class, + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder() @@ -360,16 +389,15 @@ 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(); @@ -383,9 +411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; } @java.lang.Override @@ -404,7 +432,8 @@ public com.google.cloud.videointelligence.v1.PersonDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.PersonDetectionConfig result = new com.google.cloud.videointelligence.v1.PersonDetectionConfig(this); + com.google.cloud.videointelligence.v1.PersonDetectionConfig result = + new com.google.cloud.videointelligence.v1.PersonDetectionConfig(this); result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includePoseLandmarks_ = includePoseLandmarks_; result.includeAttributes_ = includeAttributes_; @@ -416,38 +445,39 @@ public com.google.cloud.videointelligence.v1.PersonDetectionConfig 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.videointelligence.v1.PersonDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.PersonDetectionConfig) other); } else { super.mergeFrom(other); return this; @@ -455,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.PersonDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance()) + return this; if (other.getIncludeBoundingBoxes() != false) { setIncludeBoundingBoxes(other.getIncludeBoundingBoxes()); } @@ -484,7 +515,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.PersonDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.PersonDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -494,14 +526,17 @@ public Builder mergeFrom( return this; } - private boolean includeBoundingBoxes_ ; + private boolean includeBoundingBoxes_; /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -509,45 +544,54 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includePoseLandmarks_ ; + private boolean includePoseLandmarks_; /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ @java.lang.Override @@ -555,39 +599,47 @@ public boolean getIncludePoseLandmarks() { return includePoseLandmarks_; } /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @param value The includePoseLandmarks to set. * @return This builder for chaining. */ public Builder setIncludePoseLandmarks(boolean value) { - + includePoseLandmarks_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @return This builder for chaining. */ public Builder clearIncludePoseLandmarks() { - + includePoseLandmarks_ = false; onChanged(); return this; } - private boolean includeAttributes_ ; + private boolean includeAttributes_; /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -596,6 +648,7 @@ public Builder clearIncludePoseLandmarks() {
      * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ @java.lang.Override @@ -603,6 +656,8 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -611,16 +666,19 @@ public boolean getIncludeAttributes() {
      * 
* * bool include_attributes = 3; + * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -629,17 +687,18 @@ public Builder setIncludeAttributes(boolean value) {
      * 
* * bool include_attributes = 3; + * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -649,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.PersonDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.PersonDetectionConfig) private static final com.google.cloud.videointelligence.v1.PersonDetectionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.PersonDetectionConfig(); } @@ -663,16 +722,16 @@ public static com.google.cloud.videointelligence.v1.PersonDetectionConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -687,6 +746,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.PersonDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java index 91e9f797e..de9e56561 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java @@ -1,35 +1,59 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface PersonDetectionConfigOrBuilder extends +public interface PersonDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.PersonDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** + * + * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ boolean getIncludePoseLandmarks(); /** + * + * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -38,6 +62,7 @@ public interface PersonDetectionConfigOrBuilder extends
    * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java index 0350786bb..3d53da2c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ShotChangeDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig 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.videointelligence.v1.ShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig 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; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder() @@ -326,16 +359,15 @@ 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(); @@ -345,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance(); } @@ -366,7 +399,8 @@ public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +410,50 @@ public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig buildPart 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.videointelligence.v1.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +491,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +500,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +515,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +524,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +539,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +548,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +571,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +590,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java index 247030e0f..a7b9ca6c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ShotChangeDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface ShotChangeDetectionConfigOrBuilder extends +public interface ShotChangeDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java index 92cde08ff..76ccec4e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContext.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.SpeechContext}
  */
-public final class SpeechContext extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechContext)
     SpeechContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,22 +72,23 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              phrases_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                phrases_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              phrases_.add(s);
+              break;
             }
-            phrases_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,8 +96,7 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -88,22 +105,27 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.SpeechContext.class, com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1.SpeechContext.class,
+            com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
+   *
+   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -114,13 +136,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_; } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -131,12 +155,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -147,6 +174,7 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -154,6 +182,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -164,15 +194,16 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +215,7 @@ 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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -214,15 +244,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.videointelligence.v1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechContext other = (com.google.cloud.videointelligence.v1.SpeechContext) obj; + com.google.cloud.videointelligence.v1.SpeechContext other = + (com.google.cloud.videointelligence.v1.SpeechContext) obj; - if (!getPhrasesList() - .equals(other.getPhrasesList())) return false; + if (!getPhrasesList().equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,96 +274,103 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext 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; } /** + * + * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -341,21 +378,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.SpeechContext}
    */
-  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.videointelligence.v1.SpeechContext)
       com.google.cloud.videointelligence.v1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.SpeechContext.class, com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1.SpeechContext.class,
+              com.google.cloud.videointelligence.v1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.SpeechContext.newBuilder()
@@ -363,16 +402,15 @@ 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();
@@ -382,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -403,7 +441,8 @@ public com.google.cloud.videointelligence.v1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1.SpeechContext result = new com.google.cloud.videointelligence.v1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1.SpeechContext result =
+          new com.google.cloud.videointelligence.v1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -418,38 +457,39 @@ public com.google.cloud.videointelligence.v1.SpeechContext 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.videointelligence.v1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.SpeechContext)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.SpeechContext) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -457,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance())
+        return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -487,7 +528,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -496,16 +538,21 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList phrases_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -516,13 +563,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -533,12 +582,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -549,6 +601,7 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -556,6 +609,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -566,14 +621,16 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -584,21 +641,23 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases( - int index, java.lang.String value) { + public Builder setPhrases(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -609,20 +668,22 @@ public Builder setPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases( - java.lang.String value) { + public Builder addPhrases(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -633,18 +694,19 @@ public Builder addPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases( - java.lang.Iterable values) { + public Builder addAllPhrases(java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -655,6 +717,7 @@ public Builder addAllPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -664,6 +727,8 @@ public Builder clearPhrases() { return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -674,23 +739,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes( - com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -700,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechContext) private static final com.google.cloud.videointelligence.v1.SpeechContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechContext(); } @@ -714,16 +779,16 @@ public static com.google.cloud.videointelligence.v1.SpeechContext getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +803,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java index ab2b371e3..26233491b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechContextOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechContextOrBuilder extends +public interface SpeechContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -18,11 +36,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - java.util.List - getPhrasesList(); + java.util.List getPhrasesList(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -33,10 +53,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ int getPhrasesCount(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -47,11 +70,14 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -62,9 +88,9 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString - getPhrasesBytes(int index); + com.google.protobuf.ByteString getPhrasesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java index d76350e27..63751fd6a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,36 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - transcript_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + transcript_ = s; + break; } - words_.add( - input.readMessage(com.google.cloud.videointelligence.v1.WordInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 21: + { + confidence_ = input.readFloat(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + words_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.WordInfo.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +109,7 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -99,27 +118,33 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -161,6 +186,8 @@ public java.lang.String getTranscript() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -171,6 +198,7 @@ public java.lang.String getTranscript() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -181,74 +209,94 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getWordsList() { return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { return words_.get(index); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index) { return words_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +308,7 @@ 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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -284,12 +331,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -299,20 +344,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.videointelligence.v1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other = + (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) obj; - if (!getTranscript() - .equals(other.getTranscript())) return false; + if (!getTranscript().equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getWordsList() - .equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getWordsList().equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,8 +370,7 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -339,135 +381,147 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative + 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative 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.videointelligence.v1.SpeechRecognitionAlternative prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative 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; } /** + * + * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +539,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance(); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + .getDefaultInstance(); } @java.lang.Override @@ -506,7 +562,8 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative build( @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative buildPartial() { - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(this); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative result = + new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -527,46 +584,51 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative buildP 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.videointelligence.v1.SpeechRecognitionAlternative) { - return mergeFrom((com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other) { - if (other == com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative other) { + if (other + == com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + .getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -592,9 +654,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechRecognition wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -619,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,22 +693,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object transcript_ = ""; /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -652,20 +720,21 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -673,61 +742,70 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript( - java.lang.String value) { + public Builder setTranscript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes( - com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -738,6 +816,7 @@ public Builder setTranscriptBytes(
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -745,6 +824,8 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -755,16 +836,19 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -775,35 +859,44 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder> wordsBuilder_; + com.google.cloud.videointelligence.v1.WordInfo, + com.google.cloud.videointelligence.v1.WordInfo.Builder, + com.google.cloud.videointelligence.v1.WordInfoOrBuilder> + wordsBuilder_; /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getWordsList() { if (wordsBuilder_ == null) { @@ -813,13 +906,17 @@ public java.util.List getWordsLi } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -829,13 +926,17 @@ public int getWordsCount() { } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { if (wordsBuilder_ == null) { @@ -845,16 +946,19 @@ public com.google.cloud.videointelligence.v1.WordInfo getWords(int index) { } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setWords( - int index, com.google.cloud.videointelligence.v1.WordInfo value) { + public Builder setWords(int index, com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -868,13 +972,17 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWords( int index, com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -888,13 +996,17 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords(com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { @@ -910,16 +1022,19 @@ public Builder addWords(com.google.cloud.videointelligence.v1.WordInfo value) { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addWords( - int index, com.google.cloud.videointelligence.v1.WordInfo value) { + public Builder addWords(int index, com.google.cloud.videointelligence.v1.WordInfo value) { if (wordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -933,13 +1048,17 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords( com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -953,13 +1072,17 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords( int index, com.google.cloud.videointelligence.v1.WordInfo.Builder builderForValue) { @@ -973,20 +1096,23 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllWords( java.lang.Iterable values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -994,13 +1120,17 @@ public Builder addAllWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -1013,13 +1143,17 @@ public Builder clearWords() { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -1032,45 +1166,56 @@ public Builder removeWords(int index) { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.videointelligence.v1.WordInfo.Builder getWordsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.WordInfo.Builder getWordsBuilder(int index) { return getWordsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index) { if (wordsBuilder_ == null) { - return words_.get(index); } else { + return words_.get(index); + } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1078,62 +1223,76 @@ public com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder( - int index) { - return getWordsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.WordInfo.Builder addWordsBuilder(int index) { + return getWordsFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1.WordInfo, + com.google.cloud.videointelligence.v1.WordInfo.Builder, + com.google.cloud.videointelligence.v1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.WordInfo, com.google.cloud.videointelligence.v1.WordInfo.Builder, com.google.cloud.videointelligence.v1.WordInfoOrBuilder>( - words_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + wordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.WordInfo, + com.google.cloud.videointelligence.v1.WordInfo.Builder, + com.google.cloud.videointelligence.v1.WordInfoOrBuilder>( + words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; } + @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); } @@ -1143,30 +1302,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,9 +1339,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java index ea0f6555b..a55fb0a48 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechRecognitionAlternativeOrBuilder extends +public interface SpeechRecognitionAlternativeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ java.lang.String getTranscript(); /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - com.google.protobuf.ByteString - getTranscriptBytes(); + com.google.protobuf.ByteString getTranscriptBytes(); /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -38,61 +61,80 @@ public interface SpeechRecognitionAlternativeOrBuilder extends
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getWordsList(); + java.util.List getWordsList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.videointelligence.v1.WordInfo getWords(int index); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getWordsCount(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getWordsOrBuilderList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.WordInfoOrBuilder getWordsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java index 2d33ce6d4..6036e9939 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscription} */ -public final class SpeechTranscription extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechTranscription) SpeechTranscriptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscription() { alternatives_ = java.util.Collections.emptyList(); languageCode_ = ""; @@ -26,16 +44,15 @@ private SpeechTranscription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private SpeechTranscription( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative>(); + mutable_bitField0_ |= 0x00000001; + } + alternatives_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.parser(), + extensionRegistry)); + break; } - alternatives_.add( - input.readMessage(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -94,22 +116,28 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscription.class, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List alternatives_; + private java.util.List + alternatives_; /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -117,13 +145,18 @@ private SpeechTranscription(
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { return alternatives_; } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -131,14 +164,19 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder>
       getAlternativesOrBuilderList() {
     return alternatives_;
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -146,13 +184,17 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
   public int getAlternativesCount() {
     return alternatives_.size();
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -160,13 +202,18 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives( + int index) { return alternatives_.get(index); } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -174,17 +221,21 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { return alternatives_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -192,6 +243,7 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuild
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ @java.lang.Override @@ -200,14 +252,15 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -215,16 +268,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -233,6 +285,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +297,7 @@ 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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -262,8 +314,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); @@ -276,17 +327,16 @@ 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.videointelligence.v1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechTranscription other = (com.google.cloud.videointelligence.v1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1.SpeechTranscription other = + (com.google.cloud.videointelligence.v1.SpeechTranscription) obj; - if (!getAlternativesList() - .equals(other.getAlternativesList())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getAlternativesList().equals(other.getAlternativesList())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,117 +360,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechTranscription parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechTranscription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.SpeechTranscription 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; } /** + * + * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscription} */ - 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.videointelligence.v1.SpeechTranscription) com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscription.class, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.SpeechTranscription.newBuilder() @@ -428,17 +488,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) { getAlternativesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; } @java.lang.Override @@ -475,7 +535,8 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription build() { @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1.SpeechTranscription result = new com.google.cloud.videointelligence.v1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1.SpeechTranscription result = + new com.google.cloud.videointelligence.v1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -495,38 +556,39 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription 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.videointelligence.v1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscription)other); + return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscription) other); } else { super.mergeFrom(other); return this; @@ -534,7 +596,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscription other) { - if (other == com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()) + return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -553,9 +616,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscripti alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAlternativesFieldBuilder() : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAlternativesFieldBuilder() + : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -584,7 +648,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.SpeechTranscription) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.SpeechTranscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,21 +658,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List alternatives_ = - java.util.Collections.emptyList(); + private java.util.List + alternatives_ = java.util.Collections.emptyList(); + private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(alternatives_); + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative>(alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + alternativesBuilder_; /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -615,9 +689,12 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -625,6 +702,8 @@ public java.util.List * May contain one or more recognition hypotheses (up to the maximum specified * in `max_alternatives`). These alternatives are ordered in terms of @@ -632,7 +711,9 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -642,6 +723,8 @@ public int getAlternativesCount() { } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -649,9 +732,12 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives( + int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -659,6 +745,8 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -666,7 +754,9 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlt
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { @@ -683,6 +773,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -690,10 +782,14 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( - int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -704,6 +800,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -711,9 +809,12 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public Builder addAlternatives(com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { + public Builder addAlternatives( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -727,6 +828,8 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1.SpeechRecog return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -734,7 +837,9 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1.SpeechRecog
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative value) { @@ -751,6 +856,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -758,10 +865,13 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -772,6 +882,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -779,10 +891,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - int index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -793,6 +909,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -800,14 +918,17 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAllAlternatives( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative> + values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -815,6 +936,8 @@ public Builder addAllAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -822,7 +945,9 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -835,6 +960,8 @@ public Builder clearAlternatives() { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -842,7 +969,9 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -855,6 +984,8 @@ public Builder removeAlternatives(int index) { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -862,13 +993,17 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + getAlternativesBuilder(int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -876,16 +1011,21 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builde
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); } else { + return alternatives_.get(index); + } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -893,10 +1033,13 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuild
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -904,6 +1047,8 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuild } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -911,13 +1056,20 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuild
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { - return getAlternativesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder() { + return getAlternativesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -925,14 +1077,21 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builde
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( - int index) { - return getAlternativesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder(int index) { + return getAlternativesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -940,22 +1099,28 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builde
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder> + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + alternativesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); alternatives_ = null; } return alternativesBuilder_; @@ -963,6 +1128,8 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builde private java.lang.Object languageCode_ = ""; /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -970,13 +1137,13 @@ public com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative.Builde
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -985,6 +1152,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -992,15 +1161,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1008,6 +1176,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1015,20 +1185,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1036,15 +1208,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1052,23 +1227,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1078,12 +1253,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscription) private static final com.google.cloud.videointelligence.v1.SpeechTranscription DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechTranscription(); } @@ -1092,16 +1267,16 @@ public static com.google.cloud.videointelligence.v1.SpeechTranscription getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,6 +1291,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.SpeechTranscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java index 7ebc88fb4..73337d8b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,79 +73,86 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: { - - maxAlternatives_ = input.readInt32(); - break; - } - case 24: { - - filterProfanity_ = input.readBool(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + languageCode_ = s; + break; } - speechContexts_.add( - input.readMessage(com.google.cloud.videointelligence.v1.SpeechContext.parser(), extensionRegistry)); - break; - } - case 40: { - - enableAutomaticPunctuation_ = input.readBool(); - break; - } - case 48: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + maxAlternatives_ = input.readInt32(); + break; } - audioTracks_.addInt(input.readInt32()); - break; - } - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 24: + { + filterProfanity_ = input.readBool(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + speechContexts_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.SpeechContext.parser(), + extensionRegistry)); + break; } - while (input.getBytesUntilLimit() > 0) { + case 40: + { + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } audioTracks_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - case 56: { - - enableSpeakerDiarization_ = input.readBool(); - break; - } - case 64: { - - diarizationSpeakerCount_ = input.readInt32(); - break; - } - case 72: { - - enableWordConfidence_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + audioTracks_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 56: + { + enableSpeakerDiarization_ = input.readBool(); + break; + } + case 64: + { + diarizationSpeakerCount_ = input.readInt32(); + break; + } + case 72: + { + enableWordConfidence_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,8 +160,7 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -149,22 +172,27 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -174,6 +202,7 @@ private SpeechTranscriptionConfig(
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ @java.lang.Override @@ -182,14 +211,15 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -199,16 +229,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -219,6 +248,8 @@ public java.lang.String getLanguageCode() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -228,6 +259,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -238,6 +270,8 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -246,6 +280,7 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -256,56 +291,77 @@ public boolean getFilterProfanity() { public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; private java.util.List speechContexts_; /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getSpeechContextsOrBuilderList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( @@ -316,6 +372,8 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -326,6 +384,7 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -336,49 +395,60 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List - getAudioTracksList() { + public java.util.List getAudioTracksList() { return audioTracks_; } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } + private int audioTracksMemoizedSerializedSize = -1; public static final int ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER = 7; private boolean enableSpeakerDiarization_; /** + * + * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -390,6 +460,7 @@ public int getAudioTracks(int index) {
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -400,6 +471,8 @@ public boolean getEnableSpeakerDiarization() { public static final int DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER = 8; private int diarizationSpeakerCount_; /** + * + * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -407,6 +480,7 @@ public boolean getEnableSpeakerDiarization() {
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -417,6 +491,8 @@ public int getDiarizationSpeakerCount() { public static final int ENABLE_WORD_CONFIDENCE_FIELD_NUMBER = 9; private boolean enableWordConfidence_; /** + * + * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -424,6 +500,7 @@ public int getDiarizationSpeakerCount() {
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ @java.lang.Override @@ -432,6 +509,7 @@ public boolean getEnableWordConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,8 +521,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -490,46 +567,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } if (enableSpeakerDiarization_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, enableSpeakerDiarization_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSpeakerDiarization_); } if (diarizationSpeakerCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, diarizationSpeakerCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diarizationSpeakerCount_); } if (enableWordConfidence_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, enableWordConfidence_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enableWordConfidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,31 +608,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.videointelligence.v1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() - != other.getMaxAlternatives()) return false; - if (getFilterProfanity() - != other.getFilterProfanity()) return false; - if (!getSpeechContextsList() - .equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() - != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList() - .equals(other.getAudioTracksList())) return false; - if (getEnableSpeakerDiarization() - != other.getEnableSpeakerDiarization()) return false; - if (getDiarizationSpeakerCount() - != other.getDiarizationSpeakerCount()) return false; - if (getEnableWordConfidence() - != other.getEnableWordConfidence()) return false; + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other = + (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() != other.getMaxAlternatives()) return false; + if (getFilterProfanity() != other.getFilterProfanity()) return false; + if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; + if (getEnableSpeakerDiarization() != other.getEnableSpeakerDiarization()) return false; + if (getDiarizationSpeakerCount() != other.getDiarizationSpeakerCount()) return false; + if (getEnableWordConfidence() != other.getEnableWordConfidence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -580,144 +641,150 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); } hash = (37 * hash) + ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSpeakerDiarization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpeakerDiarization()); hash = (37 * hash) + DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiarizationSpeakerCount(); hash = (37 * hash) + ENABLE_WORD_CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableWordConfidence()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWordConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig 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.videointelligence.v1.SpeechTranscriptionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig 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; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder() @@ -725,17 +792,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) { getSpeechContextsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -765,13 +832,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance(); } @@ -786,7 +854,8 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig result = + new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -817,46 +886,50 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig buildPart 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.videointelligence.v1.SpeechTranscriptionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other) { - if (other == com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig other) { + if (other + == com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance()) + return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -885,9 +958,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.SpeechTranscripti speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechContextsFieldBuilder() : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechContextsFieldBuilder() + : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -934,7 +1008,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -943,10 +1019,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object languageCode_ = ""; /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -956,13 +1035,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -971,6 +1050,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -980,15 +1061,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -996,6 +1076,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1005,20 +1087,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1028,15 +1112,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1046,23 +1133,25 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_ ; + private int maxAlternatives_; /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1072,6 +1161,7 @@ public Builder setLanguageCodeBytes(
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -1079,6 +1169,8 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1088,16 +1180,19 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1107,17 +1202,20 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_ ; + private boolean filterProfanity_; /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1126,6 +1224,7 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -1133,6 +1232,8 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1141,16 +1242,19 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1159,35 +1263,47 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } private java.util.List speechContexts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(speechContexts_); + speechContexts_ = + new java.util.ArrayList( + speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> speechContextsBuilder_; + com.google.cloud.videointelligence.v1.SpeechContext, + com.google.cloud.videointelligence.v1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> + speechContextsBuilder_; /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1195,11 +1311,15 @@ public java.util.List getSp } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1209,11 +1329,15 @@ public int getSpeechContextsCount() { } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1223,11 +1347,15 @@ public com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext value) { @@ -1244,11 +1372,15 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1262,11 +1394,15 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1.SpeechContext value) { if (speechContextsBuilder_ == null) { @@ -1282,11 +1418,15 @@ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1.SpeechCon return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext value) { @@ -1303,11 +1443,15 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1321,11 +1465,15 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1.SpeechContext.Builder builderForValue) { @@ -1339,18 +1487,21 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllSpeechContexts( java.lang.Iterable values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1358,11 +1509,15 @@ public Builder addAllSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1375,11 +1530,15 @@ public Builder clearSpeechContexts() { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1392,39 +1551,52 @@ public Builder removeSpeechContexts(int index) { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder getSpeechContextsBuilder( int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); } else { + return speechContexts_.get(index); + } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsOrBuilderList() { + public java.util.List + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1432,45 +1604,64 @@ public com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechCon } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); + return getSpeechContextsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechContextsBuilder( int index) { - return getSpeechContextsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); + return getSpeechContextsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1.SpeechContext, + com.google.cloud.videointelligence.v1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechContext, com.google.cloud.videointelligence.v1.SpeechContext.Builder, com.google.cloud.videointelligence.v1.SpeechContextOrBuilder>( + speechContextsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechContext, + com.google.cloud.videointelligence.v1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1480,8 +1671,10 @@ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechCont return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_ ; + private boolean enableAutomaticPunctuation_; /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1492,6 +1685,7 @@ public com.google.cloud.videointelligence.v1.SpeechContext.Builder addSpeechCont
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1499,6 +1693,8 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1509,16 +1705,19 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1529,55 +1728,66 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); + private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ - public java.util.List - getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; + public java.util.List getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(audioTracks_) + : audioTracks_; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1585,30 +1795,35 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks( - int index, int value) { + public Builder setAudioTracks(int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1619,30 +1834,34 @@ public Builder addAudioTracks(int value) { return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks( - java.lang.Iterable values) { + public Builder addAllAudioTracks(java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1652,8 +1871,10 @@ public Builder clearAudioTracks() { return this; } - private boolean enableSpeakerDiarization_ ; + private boolean enableSpeakerDiarization_; /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1665,6 +1886,7 @@ public Builder clearAudioTracks() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -1672,6 +1894,8 @@ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; } /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1683,16 +1907,19 @@ public boolean getEnableSpeakerDiarization() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableSpeakerDiarization to set. * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { - + enableSpeakerDiarization_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1704,17 +1931,20 @@ public Builder setEnableSpeakerDiarization(boolean value) {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { - + enableSpeakerDiarization_ = false; onChanged(); return this; } - private int diarizationSpeakerCount_ ; + private int diarizationSpeakerCount_; /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1722,6 +1952,7 @@ public Builder clearEnableSpeakerDiarization() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -1729,6 +1960,8 @@ public int getDiarizationSpeakerCount() { return diarizationSpeakerCount_; } /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1736,16 +1969,19 @@ public int getDiarizationSpeakerCount() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The diarizationSpeakerCount to set. * @return This builder for chaining. */ public Builder setDiarizationSpeakerCount(int value) { - + diarizationSpeakerCount_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1753,17 +1989,20 @@ public Builder setDiarizationSpeakerCount(int value) {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDiarizationSpeakerCount() { - + diarizationSpeakerCount_ = 0; onChanged(); return this; } - private boolean enableWordConfidence_ ; + private boolean enableWordConfidence_; /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1771,6 +2010,7 @@ public Builder clearDiarizationSpeakerCount() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ @java.lang.Override @@ -1778,6 +2018,8 @@ public boolean getEnableWordConfidence() { return enableWordConfidence_; } /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1785,16 +2027,19 @@ public boolean getEnableWordConfidence() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableWordConfidence to set. * @return This builder for chaining. */ public Builder setEnableWordConfidence(boolean value) { - + enableWordConfidence_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1802,17 +2047,18 @@ public Builder setEnableWordConfidence(boolean value) {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableWordConfidence() { - + enableWordConfidence_ = 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); } @@ -1822,30 +2068,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1857,9 +2105,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java index 0789067da..ca13e773e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechTranscriptionConfigOrBuilder extends +public interface SpeechTranscriptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -17,10 +35,13 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -30,12 +51,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -45,11 +68,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ int getMaxAlternatives(); /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -58,55 +84,77 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ boolean getFilterProfanity(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getSpeechContextsList(); + java.util.List getSpeechContextsList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.SpeechContext getSpeechContexts(int index); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getSpeechContextsCount(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -117,43 +165,55 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ int getAudioTracksCount(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ int getAudioTracks(int index); /** + * + * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -165,11 +225,14 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); /** + * + * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -177,11 +240,14 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ int getDiarizationSpeakerCount(); /** + * + * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -189,6 +255,7 @@ com.google.cloud.videointelligence.v1.SpeechContextOrBuilder getSpeechContextsOr
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ boolean getEnableWordConfidence(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java index 20d48d1f5..70d2da823 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface SpeechTranscriptionOrBuilder extends +public interface SpeechTranscriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -15,11 +33,15 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List getAlternativesList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -27,10 +49,14 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ com.google.cloud.videointelligence.v1.SpeechRecognitionAlternative getAlternatives(int index); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -38,10 +64,14 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ int getAlternativesCount(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,11 +79,16 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -61,12 +96,16 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1.SpeechRecognitionAlternative alternatives = 1; + * */ - com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index); /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -74,10 +113,13 @@ com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getA
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -85,8 +127,8 @@ com.google.cloud.videointelligence.v1.SpeechRecognitionAlternativeOrBuilder getA
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java index 05c20be3a..f8903ea43 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TextAnnotation}
  */
-public final class TextAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextAnnotation)
     TextAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -29,16 +47,15 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,34 +75,40 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            text_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              segments_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              text_ = s;
+              break;
             }
-            segments_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.TextSegment.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                segments_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              segments_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.TextSegment.parser(),
+                      extensionRegistry));
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,8 +116,7 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -103,27 +125,33 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TextAnnotation.class, com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1.TextAnnotation.class,
+            com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
+   *
+   *
    * 
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -132,29 +160,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -165,6 +193,8 @@ public java.lang.String getText() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -176,6 +206,8 @@ public java.util.List getSegm return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -183,11 +215,13 @@ public java.util.List getSegm * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -199,6 +233,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -210,6 +246,8 @@ public com.google.cloud.videointelligence.v1.TextSegment getSegments(int index) return segments_.get(index); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -225,11 +263,14 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** + * + * *
    * Feature version.
    * 
* * string version = 3; + * * @return The version. */ @java.lang.Override @@ -238,29 +279,29 @@ public java.lang.String getVersion() { 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(); version_ = s; return s; } } /** + * + * *
    * Feature version.
    * 
* * string version = 3; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -269,6 +310,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +322,7 @@ 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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -304,8 +345,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); @@ -318,19 +358,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.videointelligence.v1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextAnnotation other = (com.google.cloud.videointelligence.v1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1.TextAnnotation other = + (com.google.cloud.videointelligence.v1.TextAnnotation) obj; - if (!getText() - .equals(other.getText())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getText().equals(other.getText())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -356,96 +394,103 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation 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; } /** + * + * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -454,21 +499,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TextAnnotation}
    */
-  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.videointelligence.v1.TextAnnotation)
       com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TextAnnotation.class, com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1.TextAnnotation.class,
+              com.google.cloud.videointelligence.v1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TextAnnotation.newBuilder()
@@ -476,17 +523,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) {
         getSegmentsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -504,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -525,7 +572,8 @@ public com.google.cloud.videointelligence.v1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1.TextAnnotation result = new com.google.cloud.videointelligence.v1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1.TextAnnotation result =
+          new com.google.cloud.videointelligence.v1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -546,38 +594,39 @@ public com.google.cloud.videointelligence.v1.TextAnnotation 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.videointelligence.v1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TextAnnotation)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TextAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -585,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance())
+        return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -608,9 +658,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextAnnotation ot
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSegmentsFieldBuilder() : null;
+            segmentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSegmentsFieldBuilder()
+                    : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -639,7 +690,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -648,22 +700,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
+     *
+     *
      * 
      * The detected text.
      * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -672,20 +727,21 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -693,72 +749,86 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1.TextSegment, + com.google.cloud.videointelligence.v1.TextSegment.Builder, + com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -773,6 +843,8 @@ public java.util.List getSegm } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -787,6 +859,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -801,14 +875,15 @@ public com.google.cloud.videointelligence.v1.TextSegment getSegments(int index) } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public Builder setSegments( - int index, com.google.cloud.videointelligence.v1.TextSegment value) { + public Builder setSegments(int index, com.google.cloud.videointelligence.v1.TextSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,6 +897,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -840,6 +917,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -860,14 +939,15 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.TextSegment val return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public Builder addSegments( - int index, com.google.cloud.videointelligence.v1.TextSegment value) { + public Builder addSegments(int index, com.google.cloud.videointelligence.v1.TextSegment value) { if (segmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,6 +961,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -899,6 +981,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -917,6 +1001,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -927,8 +1013,7 @@ public Builder addAllSegments( java.lang.Iterable values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -936,6 +1021,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -953,6 +1040,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -970,17 +1059,20 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuilder(int index) { return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -990,19 +1082,22 @@ public com.google.cloud.videointelligence.v1.TextSegment.Builder getSegmentsBuil public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1010,6 +1105,8 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -1017,42 +1114,49 @@ public com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrB * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder( - int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuilder(int index) { + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1.TextSegment, + com.google.cloud.videointelligence.v1.TextSegment.Builder, + com.google.cloud.videointelligence.v1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextSegment, com.google.cloud.videointelligence.v1.TextSegment.Builder, com.google.cloud.videointelligence.v1.TextSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextSegment, + com.google.cloud.videointelligence.v1.TextSegment.Builder, + com.google.cloud.videointelligence.v1.TextSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; @@ -1060,18 +1164,20 @@ public com.google.cloud.videointelligence.v1.TextSegment.Builder addSegmentsBuil private java.lang.Object version_ = ""; /** + * + * *
      * Feature version.
      * 
* * string version = 3; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; @@ -1080,20 +1186,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 3; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { @@ -1101,61 +1208,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Feature version.
      * 
* * string version = 3; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Feature version.
      * 
* * string version = 3; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -1165,12 +1279,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextAnnotation) private static final com.google.cloud.videointelligence.v1.TextAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextAnnotation(); } @@ -1179,16 +1293,16 @@ public static com.google.cloud.videointelligence.v1.TextAnnotation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,6 +1317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java index f199c2466..64859fa22 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java @@ -1,42 +1,66 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextAnnotationOrBuilder extends +public interface TextAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -45,6 +69,8 @@ public interface TextAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1.TextSegment getSegments(int index); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -53,41 +79,49 @@ public interface TextAnnotationOrBuilder extends */ int getSegmentsCount(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); /** + * + * *
    * Feature version.
    * 
* * string version = 3; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Feature version.
    * 
* * string version = 3; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java index f0433f5dc..acdebff53 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextDetectionConfig} */ -public final class TextDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextDetectionConfig) TextDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; model_ = ""; @@ -26,16 +44,15 @@ private TextDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + languageHints_.add(s); + break; } - languageHints_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -94,22 +112,27 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -118,13 +141,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_; } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -133,12 +158,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -147,6 +175,7 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -154,6 +183,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -162,17 +193,19 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } public static final int MODEL_FIELD_NUMBER = 2; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -180,6 +213,7 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * string model = 2; + * * @return The model. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -203,16 +238,15 @@ public java.lang.String getModel() {
    * 
* * string model = 2; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -221,6 +255,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +267,7 @@ 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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -268,17 +302,16 @@ 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.videointelligence.v1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1.TextDetectionConfig other = + (com.google.cloud.videointelligence.v1.TextDetectionConfig) obj; - if (!getLanguageHintsList() - .equals(other.getLanguageHintsList())) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,117 +335,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.TextDetectionConfig 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; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextDetectionConfig} */ - 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.videointelligence.v1.TextDetectionConfig) com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder() @@ -420,16 +463,15 @@ 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(); @@ -441,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; } @java.lang.Override @@ -462,7 +504,8 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1.TextDetectionConfig result = + new com.google.cloud.videointelligence.v1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -478,38 +521,39 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig 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.videointelligence.v1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1.TextDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1.TextDetectionConfig) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance()) + return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -551,7 +596,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.TextDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.TextDetectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,16 +606,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageHints_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -578,13 +629,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -593,12 +646,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -607,6 +663,7 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -614,6 +671,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -622,14 +681,16 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -638,21 +699,23 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints( - int index, java.lang.String value) { + public Builder setLanguageHints(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -661,20 +724,22 @@ public Builder setLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints( - java.lang.String value) { + public Builder addLanguageHints(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -683,18 +748,19 @@ public Builder addLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints( - java.lang.Iterable values) { + public Builder addAllLanguageHints(java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -703,6 +769,7 @@ public Builder addAllLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -712,6 +779,8 @@ public Builder clearLanguageHints() { return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -720,15 +789,15 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; + * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); @@ -737,6 +806,8 @@ public Builder addLanguageHintsBytes( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -744,13 +815,13 @@ public Builder addLanguageHintsBytes(
      * 
* * string model = 2; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -759,6 +830,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -766,15 +839,14 @@ public java.lang.String getModel() {
      * 
* * string model = 2; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -782,6 +854,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -789,20 +863,22 @@ public java.lang.String getModel() {
      * 
* * string model = 2; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -810,15 +886,18 @@ public Builder setModel(
      * 
* * string model = 2; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -826,23 +905,23 @@ public Builder clearModel() {
      * 
* * string model = 2; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -852,12 +931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextDetectionConfig) private static final com.google.cloud.videointelligence.v1.TextDetectionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextDetectionConfig(); } @@ -866,16 +945,16 @@ public static com.google.cloud.videointelligence.v1.TextDetectionConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -890,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextDetectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java index b759e7b84..918599e9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextDetectionConfigOrBuilder extends +public interface TextDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -16,11 +34,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - java.util.List - getLanguageHintsList(); + java.util.List getLanguageHintsList(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -29,10 +49,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ int getLanguageHintsCount(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -41,11 +64,14 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -54,13 +80,15 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString - getLanguageHintsBytes(int index); + com.google.protobuf.ByteString getLanguageHintsBytes(int index); /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -68,10 +96,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * string model = 2; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,8 +110,8 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * string model = 2; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java index 2354dee05..657b04337 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TextFrame}
  */
-public final class TextFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextFrame)
     TextFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TextFrame() {
-  }
+
+  private TextFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,46 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder subBuilder = null;
-            if (rotatedBoundingBox_ != null) {
-              subBuilder = rotatedBoundingBox_.toBuilder();
-            }
-            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rotatedBoundingBox_);
-              rotatedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder subBuilder =
+                  null;
+              if (rotatedBoundingBox_ != null) {
+                subBuilder = rotatedBoundingBox_.toBuilder();
+              }
+              rotatedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rotatedBoundingBox_);
+                rotatedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,34 +117,40 @@ private TextFrame(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TextFrame.class, com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1.TextFrame.class,
+            com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
+   *
+   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -129,37 +158,50 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox() { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() + : rotatedBoundingBox_; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -167,11 +209,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -179,6 +224,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Timestamp of this frame.
    * 
@@ -191,6 +238,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,7 @@ 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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -220,12 +267,10 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,22 +280,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.videointelligence.v1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextFrame other = (com.google.cloud.videointelligence.v1.TextFrame) obj; + com.google.cloud.videointelligence.v1.TextFrame other = + (com.google.cloud.videointelligence.v1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox() - .equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,97 +320,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.TextFrame parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.TextFrame parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame 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; } /** + * + * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -375,21 +426,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TextFrame}
    */
-  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.videointelligence.v1.TextFrame)
       com.google.cloud.videointelligence.v1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TextFrame.class, com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1.TextFrame.class,
+              com.google.cloud.videointelligence.v1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TextFrame.newBuilder()
@@ -397,16 +450,15 @@ 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();
@@ -426,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +499,8 @@ public com.google.cloud.videointelligence.v1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1.TextFrame result = new com.google.cloud.videointelligence.v1.TextFrame(this);
+      com.google.cloud.videointelligence.v1.TextFrame result =
+          new com.google.cloud.videointelligence.v1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -466,38 +519,39 @@ public com.google.cloud.videointelligence.v1.TextFrame 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.videointelligence.v1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TextFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TextFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance())
+        return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -543,41 +598,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>
+        rotatedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() + : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -591,11 +663,14 @@ public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1.Norma return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder setRotatedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder builderForValue) { @@ -609,17 +684,24 @@ public Builder setRotatedBoundingBox( return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.newBuilder( + rotatedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -631,11 +713,14 @@ public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1.Nor return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -649,48 +734,63 @@ public Builder clearRotatedBoundingBox() { return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder + getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.getDefaultInstance() + : rotatedBoundingBox_; } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), - getParentForChildren(), - isClean()); + rotatedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), getParentForChildren(), isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -698,34 +798,47 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder get private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -746,14 +859,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -764,6 +878,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -774,7 +890,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -786,6 +902,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -804,6 +922,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -811,11 +931,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -826,11 +948,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -838,21 +963,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -862,12 +990,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextFrame) private static final com.google.cloud.videointelligence.v1.TextFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextFrame(); } @@ -876,16 +1004,16 @@ public static com.google.cloud.videointelligence.v1.TextFrame getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,6 +1028,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java index f26dca365..009f891e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextFrameOrBuilder.java @@ -1,58 +1,94 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextFrameOrBuilder extends +public interface TextFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingPoly getRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java index 1697c4839..b1bdb7b90 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegment.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextSegment} */ -public final class TextSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TextSegment) TextSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,47 @@ private TextSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.TextFrame.parser(), extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1.TextFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,8 +119,7 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -105,27 +128,33 @@ private TextSegment( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextSegment.class, com.google.cloud.videointelligence.v1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1.TextSegment.class, + com.google.cloud.videointelligence.v1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -133,18 +162,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -159,12 +195,15 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -175,6 +214,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -186,6 +227,8 @@ public java.util.List getFrames return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -193,11 +236,13 @@ public java.util.List getFrames * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -209,6 +254,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -220,6 +267,8 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -227,12 +276,12 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +293,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -265,16 +313,13 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,23 +329,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.videointelligence.v1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TextSegment other = (com.google.cloud.videointelligence.v1.TextSegment) obj; + com.google.cloud.videointelligence.v1.TextSegment other = + (com.google.cloud.videointelligence.v1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,8 +360,7 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -329,117 +371,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TextSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment 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; } /** + * + * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.TextSegment} */ - 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.videointelligence.v1.TextSegment) com.google.cloud.videointelligence.v1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.TextSegment.class, com.google.cloud.videointelligence.v1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1.TextSegment.class, + com.google.cloud.videointelligence.v1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.TextSegment.newBuilder() @@ -447,17 +498,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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; } @java.lang.Override @@ -500,7 +551,8 @@ public com.google.cloud.videointelligence.v1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1.TextSegment result = new com.google.cloud.videointelligence.v1.TextSegment(this); + com.google.cloud.videointelligence.v1.TextSegment result = + new com.google.cloud.videointelligence.v1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -525,38 +577,39 @@ public com.google.cloud.videointelligence.v1.TextSegment 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.videointelligence.v1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.TextSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1.TextSegment) other); } else { super.mergeFrom(other); return this; @@ -564,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.TextSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -589,9 +643,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TextSegment other framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -616,7 +671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,38 +681,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -677,6 +747,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -695,6 +767,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -705,7 +779,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -717,6 +793,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -735,6 +813,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -742,11 +822,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -757,11 +839,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -769,27 +854,33 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -797,50 +888,62 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { frames_ = new java.util.ArrayList(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1.TextFrame, + com.google.cloud.videointelligence.v1.TextFrame.Builder, + com.google.cloud.videointelligence.v1.TextFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -855,6 +958,8 @@ public java.util.List getFrames } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -869,6 +974,8 @@ public int getFramesCount() { } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -883,14 +990,15 @@ public com.google.cloud.videointelligence.v1.TextFrame getFrames(int index) { } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public Builder setFrames( - int index, com.google.cloud.videointelligence.v1.TextFrame value) { + public Builder setFrames(int index, com.google.cloud.videointelligence.v1.TextFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -904,6 +1012,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -922,6 +1032,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -942,14 +1054,15 @@ public Builder addFrames(com.google.cloud.videointelligence.v1.TextFrame value) return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public Builder addFrames( - int index, com.google.cloud.videointelligence.v1.TextFrame value) { + public Builder addFrames(int index, com.google.cloud.videointelligence.v1.TextFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -963,6 +1076,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -981,6 +1096,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -999,6 +1116,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1009,8 +1128,7 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1018,6 +1136,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1035,6 +1155,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1052,39 +1174,44 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TextFrame.Builder getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1092,6 +1219,8 @@ public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuild } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1099,49 +1228,55 @@ public com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuild * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextFrame.Builder addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder(index, com.google.cloud.videointelligence.v1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1.TextFrame, + com.google.cloud.videointelligence.v1.TextFrame.Builder, + com.google.cloud.videointelligence.v1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextFrame, com.google.cloud.videointelligence.v1.TextFrame.Builder, com.google.cloud.videointelligence.v1.TextFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextFrame, + com.google.cloud.videointelligence.v1.TextFrame.Builder, + com.google.cloud.videointelligence.v1.TextFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1151,12 +1286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextSegment) private static final com.google.cloud.videointelligence.v1.TextSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TextSegment(); } @@ -1165,16 +1300,16 @@ public static com.google.cloud.videointelligence.v1.TextSegment getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,6 +1324,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java index e4c54d8d1..28970022a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TextSegmentOrBuilder extends +public interface TextSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TextSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -35,26 +59,32 @@ public interface TextSegmentOrBuilder extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -63,6 +93,8 @@ public interface TextSegmentOrBuilder extends */ com.google.cloud.videointelligence.v1.TextFrame getFrames(int index); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -71,21 +103,24 @@ public interface TextSegmentOrBuilder extends */ int getFramesCount(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1.TextFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java index 39cfe6fa1..1b51aef13 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObject.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * For tracking related features.
  * An object at time_offset with attributes, and located with
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.TimestampedObject}
  */
-public final class TimestampedObject extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimestampedObject extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.TimestampedObject)
     TimestampedObjectOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimestampedObject.newBuilder() to construct.
   private TimestampedObject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimestampedObject() {
     attributes_ = java.util.Collections.emptyList();
     landmarks_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private TimestampedObject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimestampedObject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimestampedObject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,57 +74,73 @@ private TimestampedObject(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
-            if (normalizedBoundingBox_ != null) {
-              subBuilder = normalizedBoundingBox_.toBuilder();
-            }
-            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(normalizedBoundingBox_);
-              normalizedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder subBuilder = null;
+              if (normalizedBoundingBox_ != null) {
+                subBuilder = normalizedBoundingBox_.toBuilder();
+              }
+              normalizedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.NormalizedBoundingBox.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(normalizedBoundingBox_);
+                normalizedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              attributes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            attributes_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              landmarks_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                attributes_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.DetectedAttribute>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              attributes_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.DetectedAttribute.parser(),
+                      extensionRegistry));
+              break;
             }
-            landmarks_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1.DetectedLandmark.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                landmarks_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1.DetectedLandmark>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              landmarks_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1.DetectedLandmark.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,8 +148,7 @@ private TimestampedObject(
     } 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)) {
         attributes_ = java.util.Collections.unmodifiableList(attributes_);
@@ -128,27 +160,34 @@ private TimestampedObject(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.TimestampedObject.class, com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
+            com.google.cloud.videointelligence.v1.TimestampedObject.class,
+            com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
+   *
+   *
    * 
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -156,38 +195,51 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ @java.lang.Override public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -195,12 +247,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -208,6 +263,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -223,56 +280,77 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int ATTRIBUTES_FIELD_NUMBER = 3;
   private java.util.List attributes_;
   /**
+   *
+   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { return attributes_; } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( @@ -283,56 +361,76 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri public static final int LANDMARKS_FIELD_NUMBER = 4; private java.util.List landmarks_; /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getLandmarksList() { return landmarks_; } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getLandmarksOrBuilderList() { return landmarks_; } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getLandmarksCount() { return landmarks_.size(); } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index) { return landmarks_.get(index); } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( @@ -341,6 +439,7 @@ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandma } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,8 +451,7 @@ 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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -376,20 +474,17 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNormalizedBoundingBox()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); } for (int i = 0; i < landmarks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, landmarks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, landmarks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -399,27 +494,24 @@ 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.videointelligence.v1.TimestampedObject)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.TimestampedObject other = (com.google.cloud.videointelligence.v1.TimestampedObject) obj; + com.google.cloud.videointelligence.v1.TimestampedObject other = + (com.google.cloud.videointelligence.v1.TimestampedObject) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox() - .equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } - if (!getAttributesList() - .equals(other.getAttributesList())) return false; - if (!getLandmarksList() - .equals(other.getLandmarksList())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getLandmarksList().equals(other.getLandmarksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -453,96 +545,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TimestampedObject parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.TimestampedObject parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1.TimestampedObject 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; } /** + * + * *
    * For tracking related features.
    * An object at time_offset with attributes, and located with
@@ -551,21 +651,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.TimestampedObject}
    */
-  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.videointelligence.v1.TimestampedObject)
       com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.TimestampedObject.class, com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
+              com.google.cloud.videointelligence.v1.TimestampedObject.class,
+              com.google.cloud.videointelligence.v1.TimestampedObject.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.TimestampedObject.newBuilder()
@@ -573,18 +675,18 @@ 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) {
         getAttributesFieldBuilder();
         getLandmarksFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -616,9 +718,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
@@ -637,7 +739,8 @@ public com.google.cloud.videointelligence.v1.TimestampedObject build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.TimestampedObject buildPartial() {
-      com.google.cloud.videointelligence.v1.TimestampedObject result = new com.google.cloud.videointelligence.v1.TimestampedObject(this);
+      com.google.cloud.videointelligence.v1.TimestampedObject result =
+          new com.google.cloud.videointelligence.v1.TimestampedObject(this);
       int from_bitField0_ = bitField0_;
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
@@ -675,38 +778,39 @@ public com.google.cloud.videointelligence.v1.TimestampedObject 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.videointelligence.v1.TimestampedObject) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.TimestampedObject)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.TimestampedObject) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -714,7 +818,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject other) {
-      if (other == com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance())
+        return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -739,9 +844,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject
             attributesBuilder_ = null;
             attributes_ = other.attributes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            attributesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAttributesFieldBuilder() : null;
+            attributesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAttributesFieldBuilder()
+                    : null;
           } else {
             attributesBuilder_.addAllMessages(other.attributes_);
           }
@@ -765,9 +871,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.TimestampedObject
             landmarksBuilder_ = null;
             landmarks_ = other.landmarks_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            landmarksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLandmarksFieldBuilder() : null;
+            landmarksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLandmarksFieldBuilder()
+                    : null;
           } else {
             landmarksBuilder_.addAllMessages(other.landmarks_);
           }
@@ -792,7 +899,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1.TimestampedObject) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1.TimestampedObject) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -801,45 +909,63 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.videointelligence.v1.NormalizedBoundingBox normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder,
+            com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>
+        normalizedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ public com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,11 +979,14 @@ public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1.No return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder setNormalizedBoundingBox( com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder builderForValue) { @@ -871,17 +1000,24 @@ public Builder setNormalizedBoundingBox( return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox( + com.google.cloud.videointelligence.v1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.newBuilder( + normalizedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -893,11 +1029,14 @@ public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1. return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -911,48 +1050,63 @@ public Builder clearNormalizedBoundingBox() { return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), - getParentForChildren(), - isClean()); + normalizedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), getParentForChildren(), isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -960,36 +1114,49 @@ public com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getN private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1011,6 +1178,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1018,8 +1187,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1030,6 +1198,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1041,7 +1211,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1053,6 +1223,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1072,6 +1244,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1080,11 +1254,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1096,11 +1272,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1109,39 +1288,53 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
     private java.util.List attributes_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureAttributesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        attributes_ = new java.util.ArrayList(attributes_);
+        attributes_ =
+            new java.util.ArrayList(
+                attributes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> attributesBuilder_;
+            com.google.cloud.videointelligence.v1.DetectedAttribute,
+            com.google.cloud.videointelligence.v1.DetectedAttribute.Builder,
+            com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>
+        attributesBuilder_;
 
     /**
+     *
+     *
      * 
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1149,11 +1342,15 @@ public java.util.List g } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1163,11 +1360,15 @@ public int getAttributesCount() { } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1177,11 +1378,15 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1198,14 +1403,19 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( - int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1216,11 +1426,15 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttribute value) { if (attributesBuilder_ == null) { @@ -1236,11 +1450,15 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttri return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1257,11 +1475,15 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { @@ -1275,14 +1497,19 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( - int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1293,18 +1520,22 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAttributes( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1312,11 +1543,15 @@ public Builder addAllAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1329,11 +1564,15 @@ public Builder clearAttributes() { return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1346,39 +1585,53 @@ public Builder removeAttributes(int index) { return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); } else { + return attributes_.get(index); + } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1386,74 +1639,101 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder( int index) { - return getAttributesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1.DetectedAttribute, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( - attributes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + attributesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedAttribute, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( + attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } private java.util.List landmarks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLandmarksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - landmarks_ = new java.util.ArrayList(landmarks_); + landmarks_ = + new java.util.ArrayList( + landmarks_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> landmarksBuilder_; + com.google.cloud.videointelligence.v1.DetectedLandmark, + com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> + landmarksBuilder_; /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getLandmarksList() { + public java.util.List + getLandmarksList() { if (landmarksBuilder_ == null) { return java.util.Collections.unmodifiableList(landmarks_); } else { @@ -1461,11 +1741,15 @@ public java.util.List ge } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getLandmarksCount() { if (landmarksBuilder_ == null) { @@ -1475,11 +1759,15 @@ public int getLandmarksCount() { } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1489,11 +1777,15 @@ public com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int i } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark value) { @@ -1510,11 +1802,15 @@ public Builder setLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1528,11 +1824,15 @@ public Builder setLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks(com.google.cloud.videointelligence.v1.DetectedLandmark value) { if (landmarksBuilder_ == null) { @@ -1548,11 +1848,15 @@ public Builder addLandmarks(com.google.cloud.videointelligence.v1.DetectedLandma return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark value) { @@ -1569,11 +1873,15 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1587,11 +1895,15 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder builderForValue) { @@ -1605,18 +1917,22 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllLandmarks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, landmarks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, landmarks_); onChanged(); } else { landmarksBuilder_.addAllMessages(values); @@ -1624,11 +1940,15 @@ public Builder addAllLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLandmarks() { if (landmarksBuilder_ == null) { @@ -1641,11 +1961,15 @@ public Builder clearLandmarks() { return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1658,39 +1982,52 @@ public Builder removeLandmarks(int index) { return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder getLandmarksBuilder( int index) { return getLandmarksFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( int index) { if (landmarksBuilder_ == null) { - return landmarks_.get(index); } else { + return landmarks_.get(index); + } else { return landmarksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getLandmarksOrBuilderList() { + public java.util.List + getLandmarksOrBuilderList() { if (landmarksBuilder_ != null) { return landmarksBuilder_.getMessageOrBuilderList(); } else { @@ -1698,56 +2035,72 @@ public com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandma } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder addLandmarksBuilder() { - return getLandmarksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); + return getLandmarksFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedLandmark.Builder addLandmarksBuilder( int index) { - return getLandmarksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); + return getLandmarksFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedLandmark.getDefaultInstance()); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getLandmarksBuilderList() { + public java.util.List + getLandmarksBuilderList() { return getLandmarksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> + com.google.cloud.videointelligence.v1.DetectedLandmark, + com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder> getLandmarksFieldBuilder() { if (landmarksBuilder_ == null) { - landmarksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedLandmark, com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder>( - landmarks_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + landmarksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedLandmark, + com.google.cloud.videointelligence.v1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder>( + landmarks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); landmarks_ = null; } return landmarksBuilder_; } + @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); } @@ -1757,12 +2110,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.TimestampedObject) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TimestampedObject) private static final com.google.cloud.videointelligence.v1.TimestampedObject DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.TimestampedObject(); } @@ -1771,16 +2124,16 @@ public static com.google.cloud.videointelligence.v1.TimestampedObject getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampedObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimestampedObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampedObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimestampedObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1795,6 +2148,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.TimestampedObject getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java index 45b519639..843ba5154 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TimestampedObjectOrBuilder.java @@ -1,60 +1,96 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TimestampedObjectOrBuilder extends +public interface TimestampedObjectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.TimestampedObject) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1.NormalizedBoundingBox getNormalizedBoundingBox(); /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -65,90 +101,127 @@ public interface TimestampedObjectOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAttributesList(); + java.util.List getAttributesList(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAttributesCount(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getLandmarksList(); + java.util.List getLandmarksList(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.DetectedLandmark getLandmarks(int index); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getLandmarksCount(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getLandmarksOrBuilderList(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( - int index); + com.google.cloud.videointelligence.v1.DetectedLandmarkOrBuilder getLandmarksOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java index 6642b7089..85feaa59a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Track.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * A track of an object instance.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Track} */ -public final class Track extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Track extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.Track) TrackOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Track.newBuilder() to construct. private Track(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Track() { timestampedObjects_ = java.util.Collections.emptyList(); attributes_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private Track() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Track(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Track( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,63 @@ private Track( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timestampedObjects_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.TimestampedObject>(); + mutable_bitField0_ |= 0x00000001; + } + timestampedObjects_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.TimestampedObject.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + attributes_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.DetectedAttribute>(); + mutable_bitField0_ |= 0x00000002; + } + attributes_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), + extensionRegistry)); + break; } - timestampedObjects_.add( - input.readMessage(com.google.cloud.videointelligence.v1.TimestampedObject.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - attributes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 37: + { + confidence_ = input.readFloat(); + break; } - attributes_.add( - input.readMessage(com.google.cloud.videointelligence.v1.DetectedAttribute.parser(), extensionRegistry)); - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,8 +136,7 @@ private Track( } 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)) { timestampedObjects_ = java.util.Collections.unmodifiableList(timestampedObjects_); @@ -118,27 +148,33 @@ private Track( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Track.class, com.google.cloud.videointelligence.v1.Track.Builder.class); + com.google.cloud.videointelligence.v1.Track.class, + com.google.cloud.videointelligence.v1.Track.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -146,18 +182,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment of a track.
    * 
@@ -170,118 +213,156 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } public static final int TIMESTAMPED_OBJECTS_FIELD_NUMBER = 2; - private java.util.List timestampedObjects_; + private java.util.List + timestampedObjects_; /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public java.util.List getTimestampedObjectsList() { + public java.util.List + getTimestampedObjectsList() { return timestampedObjects_; } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getTimestampedObjectsOrBuilderList() { return timestampedObjects_; } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override public int getTimestampedObjectsCount() { return timestampedObjects_.size(); } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index) { return timestampedObjects_.get(index); } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder + getTimestampedObjectsOrBuilder(int index) { return timestampedObjects_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 3; private java.util.List attributes_; /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { return attributes_; } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAttributesOrBuilderList() { return attributes_; } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( @@ -292,11 +373,14 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ @java.lang.Override @@ -305,6 +389,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +401,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -340,20 +424,17 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } for (int i = 0; i < timestampedObjects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, timestampedObjects_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestampedObjects_.get(i)); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -363,25 +444,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.videointelligence.v1.Track)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.Track other = (com.google.cloud.videointelligence.v1.Track) obj; + com.google.cloud.videointelligence.v1.Track other = + (com.google.cloud.videointelligence.v1.Track) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } - if (!getTimestampedObjectsList() - .equals(other.getTimestampedObjectsList())) return false; - if (!getAttributesList() - .equals(other.getAttributesList())) return false; + if (!getTimestampedObjectsList().equals(other.getTimestampedObjectsList())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -406,125 +484,133 @@ public int hashCode() { hash = (53 * hash) + getAttributesList().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1.Track parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.Track parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.Track parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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.videointelligence.v1.Track 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; } /** + * + * *
    * A track of an object instance.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.Track} */ - 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.videointelligence.v1.Track) com.google.cloud.videointelligence.v1.TrackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.Track.class, com.google.cloud.videointelligence.v1.Track.Builder.class); + com.google.cloud.videointelligence.v1.Track.class, + com.google.cloud.videointelligence.v1.Track.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.Track.newBuilder() @@ -532,18 +618,18 @@ 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) { getTimestampedObjectsFieldBuilder(); getAttributesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +657,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_Track_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_Track_descriptor; } @java.lang.Override @@ -592,7 +678,8 @@ public com.google.cloud.videointelligence.v1.Track build() { @java.lang.Override public com.google.cloud.videointelligence.v1.Track buildPartial() { - com.google.cloud.videointelligence.v1.Track result = new com.google.cloud.videointelligence.v1.Track(this); + com.google.cloud.videointelligence.v1.Track result = + new com.google.cloud.videointelligence.v1.Track(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -626,38 +713,39 @@ public com.google.cloud.videointelligence.v1.Track 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.videointelligence.v1.Track) { - return mergeFrom((com.google.cloud.videointelligence.v1.Track)other); + return mergeFrom((com.google.cloud.videointelligence.v1.Track) other); } else { super.mergeFrom(other); return this; @@ -687,9 +775,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.Track other) { timestampedObjectsBuilder_ = null; timestampedObjects_ = other.timestampedObjects_; bitField0_ = (bitField0_ & ~0x00000001); - timestampedObjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTimestampedObjectsFieldBuilder() : null; + timestampedObjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTimestampedObjectsFieldBuilder() + : null; } else { timestampedObjectsBuilder_.addAllMessages(other.timestampedObjects_); } @@ -713,9 +802,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.Track other) { attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); - attributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttributesFieldBuilder() : null; + attributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttributesFieldBuilder() + : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } @@ -752,38 +842,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment of a track.
      * 
@@ -804,6 +908,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -822,6 +928,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -832,7 +940,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -844,6 +954,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -862,6 +974,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -869,11 +983,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment of a track.
      * 
@@ -884,11 +1000,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment of a track.
      * 
@@ -896,39 +1015,52 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List timestampedObjects_ = - java.util.Collections.emptyList(); + private java.util.List + timestampedObjects_ = java.util.Collections.emptyList(); + private void ensureTimestampedObjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = new java.util.ArrayList(timestampedObjects_); + timestampedObjects_ = + new java.util.ArrayList( + timestampedObjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> timestampedObjectsBuilder_; + com.google.cloud.videointelligence.v1.TimestampedObject, + com.google.cloud.videointelligence.v1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> + timestampedObjectsBuilder_; /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List getTimestampedObjectsList() { + public java.util.List + getTimestampedObjectsList() { if (timestampedObjectsBuilder_ == null) { return java.util.Collections.unmodifiableList(timestampedObjects_); } else { @@ -936,11 +1068,14 @@ public java.util.List g } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public int getTimestampedObjectsCount() { if (timestampedObjectsBuilder_ == null) { @@ -950,13 +1085,17 @@ public int getTimestampedObjectsCount() { } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index) { + public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects( + int index) { if (timestampedObjectsBuilder_ == null) { return timestampedObjects_.get(index); } else { @@ -964,11 +1103,14 @@ public com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObj } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder setTimestampedObjects( int index, com.google.cloud.videointelligence.v1.TimestampedObject value) { @@ -985,14 +1127,18 @@ public Builder setTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder setTimestampedObjects( - int index, com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.set(index, builderForValue.build()); @@ -1003,13 +1149,17 @@ public Builder setTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1.TimestampedObject value) { + public Builder addTimestampedObjects( + com.google.cloud.videointelligence.v1.TimestampedObject value) { if (timestampedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1023,11 +1173,14 @@ public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1.Times return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( int index, com.google.cloud.videointelligence.v1.TimestampedObject value) { @@ -1044,11 +1197,14 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { @@ -1062,14 +1218,18 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( - int index, com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.add(index, builderForValue.build()); @@ -1080,18 +1240,21 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder addAllTimestampedObjects( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timestampedObjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestampedObjects_); onChanged(); } else { timestampedObjectsBuilder_.addAllMessages(values); @@ -1099,11 +1262,14 @@ public Builder addAllTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder clearTimestampedObjects() { if (timestampedObjectsBuilder_ == null) { @@ -1116,11 +1282,14 @@ public Builder clearTimestampedObjects() { return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ public Builder removeTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { @@ -1133,39 +1302,50 @@ public Builder removeTimestampedObjects(int index) { return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder getTimestampedObjectsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder + getTimestampedObjectsBuilder(int index) { return getTimestampedObjectsFieldBuilder().getBuilder(index); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder + getTimestampedObjectsOrBuilder(int index) { if (timestampedObjectsBuilder_ == null) { - return timestampedObjects_.get(index); } else { + return timestampedObjects_.get(index); + } else { return timestampedObjectsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List - getTimestampedObjectsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> + getTimestampedObjectsOrBuilderList() { if (timestampedObjectsBuilder_ != null) { return timestampedObjectsBuilder_.getMessageOrBuilderList(); } else { @@ -1173,45 +1353,62 @@ public com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimes } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder addTimestampedObjectsBuilder() { - return getTimestampedObjectsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder + addTimestampedObjectsBuilder() { + return getTimestampedObjectsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1.TimestampedObject.Builder addTimestampedObjectsBuilder( - int index) { - return getTimestampedObjectsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TimestampedObject.Builder + addTimestampedObjectsBuilder(int index) { + return getTimestampedObjectsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.TimestampedObject.getDefaultInstance()); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List - getTimestampedObjectsBuilderList() { + public java.util.List + getTimestampedObjectsBuilderList() { return getTimestampedObjectsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> + com.google.cloud.videointelligence.v1.TimestampedObject, + com.google.cloud.videointelligence.v1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder> getTimestampedObjectsFieldBuilder() { if (timestampedObjectsBuilder_ == null) { - timestampedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TimestampedObject, com.google.cloud.videointelligence.v1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder>( + timestampedObjectsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TimestampedObject, + com.google.cloud.videointelligence.v1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder>( timestampedObjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1222,25 +1419,36 @@ public com.google.cloud.videointelligence.v1.TimestampedObject.Builder addTimest } private java.util.List attributes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - attributes_ = new java.util.ArrayList(attributes_); + attributes_ = + new java.util.ArrayList( + attributes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> attributesBuilder_; + com.google.cloud.videointelligence.v1.DetectedAttribute, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + attributesBuilder_; /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1248,11 +1456,15 @@ public java.util.List g } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1262,11 +1474,15 @@ public int getAttributesCount() { } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1276,11 +1492,15 @@ public com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1297,14 +1517,19 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( - int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1315,11 +1540,15 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttribute value) { if (attributesBuilder_ == null) { @@ -1335,11 +1564,15 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1.DetectedAttri return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1.DetectedAttribute value) { @@ -1356,11 +1589,15 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { @@ -1374,14 +1611,19 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( - int index, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1392,18 +1634,22 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAttributes( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1411,11 +1657,15 @@ public Builder addAllAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1428,11 +1678,15 @@ public Builder clearAttributes() { return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1445,39 +1699,53 @@ public Builder removeAttributes(int index) { return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); } else { + return attributes_.get(index); + } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1485,61 +1753,80 @@ public com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttri } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1.DetectedAttribute.Builder addAttributesBuilder( int index) { - return getAttributesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); + return getAttributesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1.DetectedAttribute, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.DetectedAttribute, com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( - attributes_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + attributesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.DetectedAttribute, + com.google.cloud.videointelligence.v1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder>( + attributes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ @java.lang.Override @@ -1547,37 +1834,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -1587,12 +1880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.Track) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.Track) private static final com.google.cloud.videointelligence.v1.Track DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.Track(); } @@ -1601,16 +1894,16 @@ public static com.google.cloud.videointelligence.v1.Track getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Track parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Track(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Track parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Track(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1625,6 +1918,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.Track getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java index 937f68ab2..bd0529e8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TrackOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface TrackOrBuilder extends +public interface TrackOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.Track) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Video segment of a track.
    * 
@@ -35,99 +59,136 @@ public interface TrackOrBuilder extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - java.util.List + java.util.List getTimestampedObjectsList(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ com.google.cloud.videointelligence.v1.TimestampedObject getTimestampedObjects(int index); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ int getTimestampedObjectsCount(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ - java.util.List + java.util.List getTimestampedObjectsOrBuilderList(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * repeated .google.cloud.videointelligence.v1.TimestampedObject timestamped_objects = 2; + * */ com.google.cloud.videointelligence.v1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( int index); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAttributesList(); + java.util.List getAttributesList(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.DetectedAttribute getAttributes(int index); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAttributesCount(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** + * + * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java index 6774bc7a4..3a7e0592d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationProgress() { inputUri_ = ""; feature_ = 0; @@ -26,16 +44,15 @@ private VideoAnnotationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,69 +71,79 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - - progressPercent_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + inputUri_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + progressPercent_ = input.readInt32(); + break; } - - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 26: + { + 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; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - feature_ = rawValue; - break; - } - case 50: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + feature_ = rawValue; + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,35 +151,40 @@ private VideoAnnotationProgress( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -161,30 +193,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -195,12 +227,15 @@ public java.lang.String getInputUri() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -211,11 +246,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -223,11 +261,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -235,6 +276,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the request was received.
    * 
@@ -249,11 +292,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -261,11 +307,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -273,6 +322,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Time of the most recent update.
    * 
@@ -287,41 +338,53 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FEATURE_FIELD_NUMBER = 5; private int feature_; /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The feature. */ - @java.lang.Override public com.google.cloud.videointelligence.v1.Feature getFeature() { + @java.lang.Override + public com.google.cloud.videointelligence.v1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); + com.google.cloud.videointelligence.v1.Feature result = + com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; } public static final int SEGMENT_FIELD_NUMBER = 6; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -329,19 +392,26 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
@@ -355,6 +425,7 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -366,8 +437,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -399,24 +469,19 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
     }
     if (feature_ != com.google.cloud.videointelligence.v1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, feature_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, feature_);
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getSegment());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSegment());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -426,32 +491,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.videointelligence.v1.VideoAnnotationProgress)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) obj;
+    com.google.cloud.videointelligence.v1.VideoAnnotationProgress other =
+        (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) obj;
 
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
-    if (getProgressPercent()
-        != other.getProgressPercent()) return false;
+    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (getProgressPercent() != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (feature_ != other.feature_) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment()
-          .equals(other.getSegment())) return false;
+      if (!getSegment().equals(other.getSegment())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -488,117 +549,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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;
   }
   /**
+   *
+   *
    * 
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationProgress} */ - 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.videointelligence.v1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoAnnotationProgress.newBuilder() @@ -606,16 +677,15 @@ 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,13 +717,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.VideoAnnotationProgress + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance(); } @@ -668,7 +739,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1.VideoAnnotationProgress result = + new com.google.cloud.videointelligence.v1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -695,38 +767,39 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationProgress 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.videointelligence.v1.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationProgress)other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationProgress) other); } else { super.mergeFrom(other); return this; @@ -734,7 +807,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationProgress other) { - if (other == com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1.VideoAnnotationProgress.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -773,7 +848,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.VideoAnnotationProgress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -785,19 +862,21 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -806,21 +885,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -828,70 +908,80 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -899,32 +989,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -932,24 +1028,33 @@ public Builder clearProgressPercent() { 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_; /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -960,6 +1065,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the request was received.
      * 
@@ -980,14 +1087,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -998,6 +1106,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1008,7 +1118,7 @@ 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; } @@ -1020,6 +1130,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1038,6 +1150,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1045,11 +1159,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the request was received.
      * 
@@ -1060,11 +1176,12 @@ 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_; } } /** + * + * *
      * Time when the request was received.
      * 
@@ -1072,14 +1189,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1087,34 +1207,47 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1135,14 +1268,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1153,6 +1287,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1163,7 +1299,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1175,6 +1311,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1193,6 +1331,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1200,11 +1340,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1215,11 +1357,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1227,14 +1372,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1242,55 +1390,69 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int feature_ = 0; /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1.Feature result = com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); + com.google.cloud.videointelligence.v1.Feature result = + com.google.cloud.videointelligence.v1.Feature.valueOf(feature_); return result == null ? com.google.cloud.videointelligence.v1.Feature.UNRECOGNIZED : result; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @param value The feature to set. * @return This builder for chaining. */ @@ -1298,22 +1460,25 @@ public Builder setFeature(com.google.cloud.videointelligence.v1.Feature value) { if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -1321,36 +1486,49 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1372,6 +1550,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1391,6 +1571,8 @@ public Builder setSegment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1402,7 +1584,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       if (segmentBuilder_ == null) {
         if (segment_ != null) {
           segment_ =
-            com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           segment_ = value;
         }
@@ -1414,6 +1598,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1433,6 +1619,8 @@ public Builder clearSegment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1441,11 +1629,13 @@ public Builder clearSegment() {
      * .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() {
-      
+
       onChanged();
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1457,11 +1647,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
       if (segmentBuilder_ != null) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
-        return segment_ == null ?
-            com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_;
+        return segment_ == null
+            ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()
+            : segment_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1470,21 +1663,24 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
      * .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1.VideoSegment,
+            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
-        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                getSegment(),
-                getParentForChildren(),
-                isClean());
+        segmentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.VideoSegment,
+                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                getSegment(), getParentForChildren(), isClean());
         segment_ = null;
       }
       return segmentBuilder_;
     }
+
     @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);
     }
 
@@ -1494,12 +1690,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoAnnotationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationProgress)
-  private static final com.google.cloud.videointelligence.v1.VideoAnnotationProgress DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1.VideoAnnotationProgress
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoAnnotationProgress();
   }
@@ -1508,16 +1705,16 @@ public static com.google.cloud.videointelligence.v1.VideoAnnotationProgress getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationProgress parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationProgress(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationProgress parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationProgress(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1532,6 +1729,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoAnnotationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
index 7f88563cd..1b2798f00 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
@@ -1,64 +1,96 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoAnnotationProgressOrBuilder extends
+public interface VideoAnnotationProgressOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoAnnotationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Time when the request was received.
    * 
@@ -68,24 +100,32 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
@@ -95,47 +135,61 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1.Feature feature = 5; + * * @return The feature. */ com.google.cloud.videointelligence.v1.Feature getFeature(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 6; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
index e0092086e..a382eb51d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
@@ -1,24 +1,42 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
+ *
+ *
  * 
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -38,16 +56,15 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -67,175 +84,248 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + inputUri_ = s; + break; } - shotLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - frameLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - faceAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + shotLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000004; + } + shotLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - faceAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.FaceAnnotation.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - shotAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + case 34: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + frameLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000010; + } + frameLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + faceAnnotations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + faceAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.FaceAnnotation.parser(), + extensionRegistry)); + break; } - explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + shotAnnotations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000080; + } + shotAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry)); + break; } + case 58: + { + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder subBuilder = + null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); + } + explicitAnnotation_ = + input.readMessage( + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - 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; } + case 74: + { + 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; - } - case 82: { - com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + break; } + case 82: + { + com.google.cloud.videointelligence.v1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + break; } - speechTranscriptions_.add( - input.readMessage(com.google.cloud.videointelligence.v1.SpeechTranscription.parser(), extensionRegistry)); - break; - } - case 98: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { - textAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; + case 90: + { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + speechTranscriptions_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.SpeechTranscription>(); + mutable_bitField0_ |= 0x00000100; + } + speechTranscriptions_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.SpeechTranscription.parser(), + extensionRegistry)); + break; } - textAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.TextAnnotation.parser(), extensionRegistry)); - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; + case 98: + { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + textAnnotations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000200; + } + textAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.TextAnnotation.parser(), + extensionRegistry)); + break; } - faceDetectionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.parser(), extensionRegistry)); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { - objectAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + case 106: + { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + faceDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation>(); + mutable_bitField0_ |= 0x00000040; + } + faceDetectionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.parser(), + extensionRegistry)); + break; } - objectAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.parser(), extensionRegistry)); - break; - } - case 154: { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000800; + case 114: + { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation>(); + mutable_bitField0_ |= 0x00000400; + } + objectAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.parser(), + extensionRegistry)); + break; } - logoRecognitionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.parser(), extensionRegistry)); - break; - } - case 162: { - if (!((mutable_bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00001000; + case 154: + { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { + logoRecognitionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation>(); + mutable_bitField0_ |= 0x00000800; + } + logoRecognitionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.parser(), + extensionRegistry)); + break; } - personDetectionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.parser(), extensionRegistry)); - break; - } - case 186: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 162: + { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { + personDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation>(); + mutable_bitField0_ |= 0x00001000; + } + personDetectionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.parser(), + extensionRegistry)); + break; } - segmentPresenceLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 194: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 186: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segmentPresenceLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + segmentPresenceLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotPresenceLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 194: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotPresenceLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000008; + } + shotPresenceLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.LabelAnnotation.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -243,8 +333,7 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -268,49 +357,60 @@ private VideoAnnotationResults( textAnnotations_ = java.util.Collections.unmodifiableList(textAnnotations_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { objectAnnotations_ = java.util.Collections.unmodifiableList(objectAnnotations_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = + java.util.Collections.unmodifiableList(personDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -319,30 +419,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -353,11 +453,14 @@ public java.lang.String getInputUri() { public static final int SEGMENT_FIELD_NUMBER = 10; private com.google.cloud.videointelligence.v1.VideoSegment segment_; /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -365,18 +468,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment on which the annotation is run.
    * 
@@ -389,73 +499,99 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List segmentLabelAnnotations_; + private java.util.List + segmentLabelAnnotations_; /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations( + int index) { return segmentLabelAnnotations_.get(index); } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { return segmentLabelAnnotations_.get(index); } public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 23; - private java.util.List segmentPresenceLabelAnnotations_; + private java.util.List + segmentPresenceLabelAnnotations_; /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -465,13 +601,18 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public java.util.List getSegmentPresenceLabelAnnotationsList() { + public java.util.List + getSegmentPresenceLabelAnnotationsList() { return segmentPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -481,14 +622,18 @@ public java.util.List get
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public java.util.List + public java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList() { return segmentPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -498,13 +643,17 @@ public java.util.List get
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override public int getSegmentPresenceLabelAnnotationsCount() { return segmentPresenceLabelAnnotations_.size(); } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -514,13 +663,18 @@ public int getSegmentPresenceLabelAnnotationsCount() {
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( + int index) { return segmentPresenceLabelAnnotations_.get(index); } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -530,82 +684,104 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index) { return segmentPresenceLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List shotLabelAnnotations_; + private java.util.List + shotLabelAnnotations_; /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index) { return shotLabelAnnotations_.get(index); } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { return shotLabelAnnotations_.get(index); } public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 24; - private java.util.List shotPresenceLabelAnnotations_; + private java.util.List + shotPresenceLabelAnnotations_; /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -614,13 +790,18 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public java.util.List getShotPresenceLabelAnnotationsList() { + public java.util.List + getShotPresenceLabelAnnotationsList() { return shotPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -629,14 +810,18 @@ public java.util.List get
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public java.util.List + public java.util.List getShotPresenceLabelAnnotationsOrBuilderList() { return shotPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -645,13 +830,17 @@ public java.util.List get
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override public int getShotPresenceLabelAnnotationsCount() { return shotPresenceLabelAnnotations_.size(); } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -660,13 +849,18 @@ public int getShotPresenceLabelAnnotationsCount() {
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations( + int index) { return shotPresenceLabelAnnotations_.get(index); } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -675,202 +869,273 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index) { return shotPresenceLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List frameLabelAnnotations_; + private java.util.List + frameLabelAnnotations_; /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index) { return frameLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_ANNOTATIONS_FIELD_NUMBER = 5; private java.util.List faceAnnotations_; /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getFaceAnnotationsList() { + @java.lang.Deprecated + public java.util.List + getFaceAnnotationsList() { return faceAnnotations_; } /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getFaceAnnotationsOrBuilderList() { return faceAnnotations_; } /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getFaceAnnotationsCount() { + @java.lang.Deprecated + public int getFaceAnnotationsCount() { return faceAnnotations_.size(); } /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { return faceAnnotations_.get(index); } /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index) { return faceAnnotations_.get(index); } public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER = 13; - private java.util.List faceDetectionAnnotations_; + private java.util.List + faceDetectionAnnotations_; /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public java.util.List getFaceDetectionAnnotationsList() { + public java.util.List + getFaceDetectionAnnotationsList() { return faceDetectionAnnotations_; } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList() { return faceDetectionAnnotations_; } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override public int getFaceDetectionAnnotationsCount() { return faceDetectionAnnotations_.size(); } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations( + int index) { return faceDetectionAnnotations_.get(index); } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index) { return faceDetectionAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; private java.util.List shotAnnotations_; /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -878,10 +1143,13 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder ge * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -889,11 +1157,13 @@ public java.util.List getSho * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ @java.lang.Override - public java.util.List + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -905,6 +1175,8 @@ public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -916,6 +1188,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -931,11 +1205,15 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; private com.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicitAnnotation_; /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -943,92 +1221,128 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ @java.lang.Override public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List speechTranscriptions_; + private java.util.List + speechTranscriptions_; /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions( + int index) { return speechTranscriptions_.get(index); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { return speechTranscriptions_.get(index); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; private java.util.List textAnnotations_; /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1038,10 +1352,13 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpe
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
   @java.lang.Override
-  public java.util.List getTextAnnotationsList() {
+  public java.util.List
+      getTextAnnotationsList() {
     return textAnnotations_;
   }
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1051,11 +1368,13 @@ public java.util.List getT
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTextAnnotationsOrBuilderList() {
     return textAnnotations_;
   }
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1069,6 +1388,8 @@ public int getTextAnnotationsCount() {
     return textAnnotations_.size();
   }
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1082,6 +1403,8 @@ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(i
     return textAnnotations_.get(index);
   }
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -1097,194 +1420,269 @@ public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnno
   }
 
   public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14;
-  private java.util.List objectAnnotations_;
+  private java.util.List
+      objectAnnotations_;
   /**
+   *
+   *
    * 
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations( + int index) { return objectAnnotations_.get(index); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { return objectAnnotations_.get(index); } public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 19; - private java.util.List logoRecognitionAnnotations_; + private java.util.List + logoRecognitionAnnotations_; /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public java.util.List getLogoRecognitionAnnotationsList() { + public java.util.List + getLogoRecognitionAnnotationsList() { return logoRecognitionAnnotations_; } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList() { return logoRecognitionAnnotations_; } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override public int getLogoRecognitionAnnotationsCount() { return logoRecognitionAnnotations_.size(); } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation + getLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotations_.get(index); } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index) { return logoRecognitionAnnotations_.get(index); } public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER = 20; - private java.util.List personDetectionAnnotations_; + private java.util.List + personDetectionAnnotations_; /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public java.util.List getPersonDetectionAnnotationsList() { + public java.util.List + getPersonDetectionAnnotationsList() { return personDetectionAnnotations_; } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList() { return personDetectionAnnotations_; } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override public int getPersonDetectionAnnotationsCount() { return personDetectionAnnotations_.size(); } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + getPersonDetectionAnnotations(int index) { return personDetectionAnnotations_.get(index); } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index) { return personDetectionAnnotations_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1292,12 +1690,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ @java.lang.Override @@ -1305,6 +1706,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -1318,6 +1721,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1329,8 +1733,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -1395,68 +1798,70 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, frameLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < faceAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, faceAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, faceAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, getSegment());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSegment());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, speechTranscriptions_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              11, speechTranscriptions_.get(i));
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < faceDetectionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(13, faceDetectionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              13, faceDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, objectAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
     }
     for (int i = 0; i < logoRecognitionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, logoRecognitionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              19, logoRecognitionAnnotations_.get(i));
     }
     for (int i = 0; i < personDetectionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, personDetectionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              20, personDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < segmentPresenceLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, segmentPresenceLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              23, segmentPresenceLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotPresenceLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(24, shotPresenceLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              24, shotPresenceLabelAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1466,55 +1871,45 @@ 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.videointelligence.v1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1.VideoAnnotationResults) obj;
+    com.google.cloud.videointelligence.v1.VideoAnnotationResults other =
+        (com.google.cloud.videointelligence.v1.VideoAnnotationResults) obj;
 
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
+    if (!getInputUri().equals(other.getInputUri())) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment()
-          .equals(other.getSegment())) return false;
+      if (!getSegment().equals(other.getSegment())) return false;
     }
-    if (!getSegmentLabelAnnotationsList()
-        .equals(other.getSegmentLabelAnnotationsList())) return false;
+    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
+      return false;
     if (!getSegmentPresenceLabelAnnotationsList()
         .equals(other.getSegmentPresenceLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList()
-        .equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getShotPresenceLabelAnnotationsList()
-        .equals(other.getShotPresenceLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList()
-        .equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceAnnotationsList()
-        .equals(other.getFaceAnnotationsList())) return false;
-    if (!getFaceDetectionAnnotationsList()
-        .equals(other.getFaceDetectionAnnotationsList())) return false;
-    if (!getShotAnnotationsList()
-        .equals(other.getShotAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getShotPresenceLabelAnnotationsList().equals(other.getShotPresenceLabelAnnotationsList()))
+      return false;
+    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceAnnotationsList().equals(other.getFaceAnnotationsList())) return false;
+    if (!getFaceDetectionAnnotationsList().equals(other.getFaceDetectionAnnotationsList()))
+      return false;
+    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation()
-          .equals(other.getExplicitAnnotation())) return false;
-    }
-    if (!getSpeechTranscriptionsList()
-        .equals(other.getSpeechTranscriptionsList())) return false;
-    if (!getTextAnnotationsList()
-        .equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList()
-        .equals(other.getObjectAnnotationsList())) return false;
-    if (!getLogoRecognitionAnnotationsList()
-        .equals(other.getLogoRecognitionAnnotationsList())) return false;
-    if (!getPersonDetectionAnnotationsList()
-        .equals(other.getPersonDetectionAnnotationsList())) return false;
+      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
+    }
+    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
+    if (!getLogoRecognitionAnnotationsList().equals(other.getLogoRecognitionAnnotationsList()))
+      return false;
+    if (!getPersonDetectionAnnotationsList().equals(other.getPersonDetectionAnnotationsList()))
+      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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1599,117 +1994,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationResults parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoAnnotationResults parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1.VideoAnnotationResults 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;
   }
   /**
+   *
+   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationResults} */ - 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.videointelligence.v1.VideoAnnotationResults) com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1.VideoAnnotationResults.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoAnnotationResults.newBuilder() @@ -1717,14 +2122,13 @@ 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) { getSegmentLabelAnnotationsFieldBuilder(); getSegmentPresenceLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); @@ -1740,6 +2144,7 @@ private void maybeForceBuilderInitialization() { getPersonDetectionAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1845,13 +2250,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1.VideoAnnotationResults getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1.VideoAnnotationResults + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance(); } @@ -1866,7 +2272,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1.VideoAnnotationResults result = + new com.google.cloud.videointelligence.v1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentBuilder_ == null) { @@ -1876,7 +2283,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1885,7 +2293,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000002); } result.segmentPresenceLabelAnnotations_ = segmentPresenceLabelAnnotations_; @@ -1903,7 +2312,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (shotPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000008); } result.shotPresenceLabelAnnotations_ = shotPresenceLabelAnnotations_; @@ -1930,7 +2340,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (faceDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + java.util.Collections.unmodifiableList(faceDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000040); } result.faceDetectionAnnotations_ = faceDetectionAnnotations_; @@ -1980,7 +2391,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (logoRecognitionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); bitField0_ = (bitField0_ & ~0x00000800); } result.logoRecognitionAnnotations_ = logoRecognitionAnnotations_; @@ -1989,7 +2401,8 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults buildPartial } if (personDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = + java.util.Collections.unmodifiableList(personDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00001000); } result.personDetectionAnnotations_ = personDetectionAnnotations_; @@ -2009,38 +2422,39 @@ public com.google.cloud.videointelligence.v1.VideoAnnotationResults 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.videointelligence.v1.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationResults)other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoAnnotationResults) other); } else { super.mergeFrom(other); return this; @@ -2048,7 +2462,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationResults other) { - if (other == com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1.VideoAnnotationResults.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -2074,9 +2490,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentLabelAnnotationsFieldBuilder() : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentLabelAnnotationsFieldBuilder() + : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -2100,11 +2517,13 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe segmentPresenceLabelAnnotationsBuilder_ = null; segmentPresenceLabelAnnotations_ = other.segmentPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - segmentPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentPresenceLabelAnnotationsFieldBuilder() : null; + segmentPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentPresenceLabelAnnotationsFieldBuilder() + : null; } else { - segmentPresenceLabelAnnotationsBuilder_.addAllMessages(other.segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotationsBuilder_.addAllMessages( + other.segmentPresenceLabelAnnotations_); } } } @@ -2126,9 +2545,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotLabelAnnotationsFieldBuilder() : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotLabelAnnotationsFieldBuilder() + : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -2152,11 +2572,13 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotPresenceLabelAnnotationsBuilder_ = null; shotPresenceLabelAnnotations_ = other.shotPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotPresenceLabelAnnotationsFieldBuilder() : null; + shotPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotPresenceLabelAnnotationsFieldBuilder() + : null; } else { - shotPresenceLabelAnnotationsBuilder_.addAllMessages(other.shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotationsBuilder_.addAllMessages( + other.shotPresenceLabelAnnotations_); } } } @@ -2178,9 +2600,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFrameLabelAnnotationsFieldBuilder() : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFrameLabelAnnotationsFieldBuilder() + : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -2204,9 +2627,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe faceAnnotationsBuilder_ = null; faceAnnotations_ = other.faceAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - faceAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFaceAnnotationsFieldBuilder() : null; + faceAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFaceAnnotationsFieldBuilder() + : null; } else { faceAnnotationsBuilder_.addAllMessages(other.faceAnnotations_); } @@ -2230,9 +2654,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe faceDetectionAnnotationsBuilder_ = null; faceDetectionAnnotations_ = other.faceDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000040); - faceDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFaceDetectionAnnotationsFieldBuilder() : null; + faceDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFaceDetectionAnnotationsFieldBuilder() + : null; } else { faceDetectionAnnotationsBuilder_.addAllMessages(other.faceDetectionAnnotations_); } @@ -2256,9 +2681,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000080); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotAnnotationsFieldBuilder() : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotAnnotationsFieldBuilder() + : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -2285,9 +2711,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000100); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechTranscriptionsFieldBuilder() : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechTranscriptionsFieldBuilder() + : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -2311,9 +2738,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000200); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTextAnnotationsFieldBuilder() : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTextAnnotationsFieldBuilder() + : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -2337,9 +2765,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000400); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectAnnotationsFieldBuilder() : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getObjectAnnotationsFieldBuilder() + : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -2363,9 +2792,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe logoRecognitionAnnotationsBuilder_ = null; logoRecognitionAnnotations_ = other.logoRecognitionAnnotations_; bitField0_ = (bitField0_ & ~0x00000800); - logoRecognitionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogoRecognitionAnnotationsFieldBuilder() : null; + logoRecognitionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLogoRecognitionAnnotationsFieldBuilder() + : null; } else { logoRecognitionAnnotationsBuilder_.addAllMessages(other.logoRecognitionAnnotations_); } @@ -2389,9 +2819,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoAnnotationRe personDetectionAnnotationsBuilder_ = null; personDetectionAnnotations_ = other.personDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00001000); - personDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPersonDetectionAnnotationsFieldBuilder() : null; + personDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPersonDetectionAnnotationsFieldBuilder() + : null; } else { personDetectionAnnotationsBuilder_.addAllMessages(other.personDetectionAnnotations_); } @@ -2419,7 +2850,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.VideoAnnotationResults) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2428,23 +2860,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -2453,21 +2888,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -2475,57 +2911,64 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -2533,34 +2976,47 @@ public Builder setInputUriBytes( private com.google.cloud.videointelligence.v1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return The segment. */ public com.google.cloud.videointelligence.v1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2581,6 +3037,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1.VideoSegment val return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2599,6 +3057,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2609,7 +3069,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -2621,6 +3083,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1.VideoSegment v return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2639,6 +3103,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2646,11 +3112,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1.VideoSegment segment = 10; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2661,11 +3129,14 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2673,40 +3144,54 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB * .google.cloud.videointelligence.v1.VideoSegment segment = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List segmentLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + new java.util.ArrayList( + segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + segmentLabelAnnotationsBuilder_; /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -2714,12 +3199,16 @@ public java.util.List get } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2729,14 +3218,19 @@ public int getSegmentLabelAnnotationsCount() { } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -2744,12 +3238,16 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnno } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -2766,12 +3264,16 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -2785,14 +3287,19 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations( + com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2806,12 +3313,16 @@ public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1. return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -2828,12 +3339,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -2847,12 +3362,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -2866,19 +3385,23 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -2886,12 +3409,16 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2904,12 +3431,16 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2922,42 +3453,55 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + getSegmentLabelAnnotationsBuilder(int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); } else { + return segmentLabelAnnotations_.get(index); + } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2965,48 +3509,68 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegment } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( - int index) { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder(int index) { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3016,19 +3580,27 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentL return segmentLabelAnnotationsBuilder_; } - private java.util.List segmentPresenceLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentPresenceLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = new java.util.ArrayList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + new java.util.ArrayList( + segmentPresenceLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> segmentPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + segmentPresenceLabelAnnotationsBuilder_; /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3038,9 +3610,12 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List getSegmentPresenceLabelAnnotationsList() { + public java.util.List + getSegmentPresenceLabelAnnotationsList() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } else { @@ -3048,6 +3623,8 @@ public java.util.List get } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3057,7 +3634,9 @@ public java.util.List get
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public int getSegmentPresenceLabelAnnotationsCount() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3067,6 +3646,8 @@ public int getSegmentPresenceLabelAnnotationsCount() { } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3076,9 +3657,12 @@ public int getSegmentPresenceLabelAnnotationsCount() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( + int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return segmentPresenceLabelAnnotations_.get(index); } else { @@ -3086,6 +3670,8 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3095,7 +3681,9 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceL
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3112,6 +3700,8 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3121,7 +3711,9 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3135,6 +3727,8 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3144,9 +3738,12 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addSegmentPresenceLabelAnnotations( + com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3160,6 +3757,8 @@ public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointellig return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3169,7 +3768,9 @@ public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointellig
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3186,6 +3787,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3195,7 +3798,9 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3209,6 +3814,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3218,7 +3825,9 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3232,6 +3841,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3241,10 +3852,13 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addAllSegmentPresenceLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3256,6 +3870,8 @@ public Builder addAllSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3265,7 +3881,9 @@ public Builder addAllSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder clearSegmentPresenceLabelAnnotations() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3278,6 +3896,8 @@ public Builder clearSegmentPresenceLabelAnnotations() { return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3287,7 +3907,9 @@ public Builder clearSegmentPresenceLabelAnnotations() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder removeSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3300,6 +3922,8 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3309,13 +3933,17 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getSegmentPresenceLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + getSegmentPresenceLabelAnnotationsBuilder(int index) { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3325,16 +3953,21 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getSegmentP
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - return segmentPresenceLabelAnnotations_.get(index); } else { + return segmentPresenceLabelAnnotations_.get(index); + } else { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3344,10 +3977,12 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegment
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List - getSegmentPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsOrBuilderList() { if (segmentPresenceLabelAnnotationsBuilder_ != null) { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3355,6 +3990,8 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegment } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3364,13 +4001,18 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegment
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder() { - return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addSegmentPresenceLabelAnnotationsBuilder() { + return getSegmentPresenceLabelAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3380,14 +4022,19 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentP
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder( - int index) { - return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addSegmentPresenceLabelAnnotationsBuilder(int index) { + return getSegmentPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3397,18 +4044,26 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentP
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List - getSegmentPresenceLabelAnnotationsBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsBuilderList() { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsFieldBuilder() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - segmentPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + segmentPresenceLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( segmentPresenceLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3418,27 +4073,37 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addSegmentP return segmentPresenceLabelAnnotationsBuilder_; } - private java.util.List shotLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); + shotLabelAnnotations_ = + new java.util.ArrayList( + shotLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + shotLabelAnnotationsBuilder_; /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -3446,12 +4111,15 @@ public java.util.List get } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -3461,14 +4129,18 @@ public int getShotLabelAnnotationsCount() { } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations( + int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -3476,12 +4148,15 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotat } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3498,12 +4173,15 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3517,14 +4195,18 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addShotLabelAnnotations( + com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3538,12 +4220,15 @@ public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1.Lab return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3560,12 +4245,15 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3579,12 +4267,15 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3598,19 +4289,22 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -3618,12 +4312,15 @@ public Builder addAllShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -3636,12 +4333,15 @@ public Builder clearShotLabelAnnotations() { return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -3654,42 +4354,52 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + getShotLabelAnnotationsBuilder(int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); } else { + return shotLabelAnnotations_.get(index); + } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3697,48 +4407,65 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLab } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( - int index) { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder(int index) { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -3748,19 +4475,27 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotLabe return shotLabelAnnotationsBuilder_; } - private java.util.List shotPresenceLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotPresenceLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = new java.util.ArrayList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + new java.util.ArrayList( + shotPresenceLabelAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> shotPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + shotPresenceLabelAnnotationsBuilder_; /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3769,9 +4504,12 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List getShotPresenceLabelAnnotationsList() { + public java.util.List + getShotPresenceLabelAnnotationsList() { if (shotPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } else { @@ -3779,6 +4517,8 @@ public java.util.List get } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3787,7 +4527,9 @@ public java.util.List get
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public int getShotPresenceLabelAnnotationsCount() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -3797,6 +4539,8 @@ public int getShotPresenceLabelAnnotationsCount() { } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3805,9 +4549,12 @@ public int getShotPresenceLabelAnnotationsCount() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations( + int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { return shotPresenceLabelAnnotations_.get(index); } else { @@ -3815,6 +4562,8 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3823,7 +4572,9 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabe
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3840,6 +4591,8 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3848,7 +4601,9 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3862,6 +4617,8 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3870,9 +4627,12 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addShotPresenceLabelAnnotations( + com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (shotPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3886,6 +4646,8 @@ public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligenc return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3894,7 +4656,9 @@ public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligenc
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -3911,6 +4675,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3919,7 +4685,9 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3933,6 +4701,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3941,7 +4711,9 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -3955,6 +4727,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3963,10 +4737,13 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addAllShotPresenceLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3978,6 +4755,8 @@ public Builder addAllShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3986,7 +4765,9 @@ public Builder addAllShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder clearShotPresenceLabelAnnotations() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -3999,6 +4780,8 @@ public Builder clearShotPresenceLabelAnnotations() { return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4007,7 +4790,9 @@ public Builder clearShotPresenceLabelAnnotations() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder removeShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -4020,6 +4805,8 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4028,13 +4815,17 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getShotPresenceLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + getShotPresenceLabelAnnotationsBuilder(int index) { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4043,16 +4834,21 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getShotPres
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { - return shotPresenceLabelAnnotations_.get(index); } else { + return shotPresenceLabelAnnotations_.get(index); + } else { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4061,10 +4857,12 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPre
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List - getShotPresenceLabelAnnotationsOrBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsOrBuilderList() { if (shotPresenceLabelAnnotationsBuilder_ != null) { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4072,6 +4870,8 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPre } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4080,13 +4880,18 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPre
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder() { - return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addShotPresenceLabelAnnotationsBuilder() { + return getShotPresenceLabelAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4095,14 +4900,19 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPres
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder( - int index) { - return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addShotPresenceLabelAnnotationsBuilder(int index) { + return getShotPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4111,18 +4921,26 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPres
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List - getShotPresenceLabelAnnotationsBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsBuilderList() { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsFieldBuilder() { if (shotPresenceLabelAnnotationsBuilder_ == null) { - shotPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + shotPresenceLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( shotPresenceLabelAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -4132,27 +4950,38 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addShotPres return shotPresenceLabelAnnotationsBuilder_; } - private java.util.List frameLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + frameLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); + frameLabelAnnotations_ = + new java.util.ArrayList( + frameLabelAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + frameLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -4160,12 +4989,16 @@ public java.util.List get } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -4175,14 +5008,19 @@ public int getFrameLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations( + int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -4190,12 +5028,16 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnota } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4212,12 +5054,16 @@ public Builder setFrameLabelAnnotations( return this; } /** - *
+     *
+     *
+     * 
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4231,14 +5077,19 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations( + com.google.cloud.videointelligence.v1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4252,12 +5103,16 @@ public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1.La return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation value) { @@ -4274,12 +5129,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4293,12 +5152,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder builderForValue) { @@ -4312,19 +5175,23 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -4332,12 +5199,16 @@ public Builder addAllFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -4350,12 +5221,16 @@ public Builder clearFrameLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -4368,42 +5243,55 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + getFrameLabelAnnotationsBuilder(int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); } else { + return frameLabelAnnotations_.get(index); + } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4411,48 +5299,68 @@ public com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLa } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( - int index) { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder(int index) { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelAnnotation, com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelAnnotation, + com.google.cloud.videointelligence.v1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -4463,25 +5371,37 @@ public com.google.cloud.videointelligence.v1.LabelAnnotation.Builder addFrameLab } private java.util.List faceAnnotations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFaceAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - faceAnnotations_ = new java.util.ArrayList(faceAnnotations_); + faceAnnotations_ = + new java.util.ArrayList( + faceAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> faceAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.FaceAnnotation, + com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> + faceAnnotationsBuilder_; /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getFaceAnnotationsList() { + @java.lang.Deprecated + public java.util.List + getFaceAnnotationsList() { if (faceAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceAnnotations_); } else { @@ -4489,13 +5409,18 @@ private void ensureFaceAnnotationsIsMutable() { } } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public int getFaceAnnotationsCount() { + @java.lang.Deprecated + public int getFaceAnnotationsCount() { if (faceAnnotationsBuilder_ == null) { return faceAnnotations_.size(); } else { @@ -4503,13 +5428,18 @@ private void ensureFaceAnnotationsIsMutable() { } } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { return faceAnnotations_.get(index); } else { @@ -4517,13 +5447,18 @@ private void ensureFaceAnnotationsIsMutable() { } } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setFaceAnnotations( + @java.lang.Deprecated + public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { @@ -4538,13 +5473,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setFaceAnnotations( + @java.lang.Deprecated + public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -4556,13 +5496,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1.FaceAnnotation value) { + @java.lang.Deprecated + public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4576,13 +5521,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addFaceAnnotations( + @java.lang.Deprecated + public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { @@ -4597,13 +5547,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addFaceAnnotations( + @java.lang.Deprecated + public Builder addFaceAnnotations( com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -4615,13 +5570,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addFaceAnnotations( + @java.lang.Deprecated + public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); @@ -4633,18 +5593,22 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllFaceAnnotations( + @java.lang.Deprecated + public Builder addAllFaceAnnotations( java.lang.Iterable values) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, faceAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceAnnotations_); onChanged(); } else { faceAnnotationsBuilder_.addAllMessages(values); @@ -4652,13 +5616,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearFaceAnnotations() { + @java.lang.Deprecated + public Builder clearFaceAnnotations() { if (faceAnnotationsBuilder_ == null) { faceAnnotations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); @@ -4669,13 +5638,18 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeFaceAnnotations(int index) { + @java.lang.Deprecated + public Builder removeFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.remove(index); @@ -4686,39 +5660,55 @@ private void ensureFaceAnnotationsIsMutable() { return this; } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder getFaceAnnotationsBuilder( + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder getFaceAnnotationsBuilder( int index) { return getFaceAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( - int index) { + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder + getFaceAnnotationsOrBuilder(int index) { if (faceAnnotationsBuilder_ == null) { - return faceAnnotations_.get(index); } else { + return faceAnnotations_.get(index); + } else { return faceAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getFaceAnnotationsOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getFaceAnnotationsOrBuilderList() { if (faceAnnotationsBuilder_ != null) { return faceAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4726,45 +5716,68 @@ private void ensureFaceAnnotationsIsMutable() { } } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder() { - return getFaceAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder + addFaceAnnotationsBuilder() { + return getFaceAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder( + @java.lang.Deprecated + public com.google.cloud.videointelligence.v1.FaceAnnotation.Builder addFaceAnnotationsBuilder( int index) { - return getFaceAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); + return getFaceAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.FaceAnnotation.getDefaultInstance()); } /** + * + * *
      * Deprecated. Please use `face_detection_annotations` instead.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getFaceAnnotationsBuilderList() { + @java.lang.Deprecated + public java.util.List + getFaceAnnotationsBuilderList() { return getFaceAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.FaceAnnotation, + com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder> getFaceAnnotationsFieldBuilder() { if (faceAnnotationsBuilder_ == null) { - faceAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceAnnotation, com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder>( + faceAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceAnnotation, + com.google.cloud.videointelligence.v1.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder>( faceAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -4774,26 +5787,37 @@ private void ensureFaceAnnotationsIsMutable() { return faceAnnotationsBuilder_; } - private java.util.List faceDetectionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + faceDetectionAnnotations_ = java.util.Collections.emptyList(); + private void ensureFaceDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - faceDetectionAnnotations_ = new java.util.ArrayList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + new java.util.ArrayList( + faceDetectionAnnotations_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> faceDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> + faceDetectionAnnotationsBuilder_; /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List getFaceDetectionAnnotationsList() { + public java.util.List + getFaceDetectionAnnotationsList() { if (faceDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } else { @@ -4801,11 +5825,15 @@ public java.util.List * Face detection annotations. *
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public int getFaceDetectionAnnotationsCount() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4815,13 +5843,18 @@ public int getFaceDetectionAnnotationsCount() { } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation + getFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { return faceDetectionAnnotations_.get(index); } else { @@ -4829,11 +5862,15 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDete } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder setFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { @@ -4850,14 +5887,19 @@ public Builder setFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder setFaceDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.set(index, builderForValue.build()); @@ -4868,13 +5910,18 @@ public Builder setFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { + public Builder addFaceDetectionAnnotations( + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { if (faceDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4888,11 +5935,15 @@ public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1 return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation value) { @@ -4909,11 +5960,15 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { @@ -4927,14 +5982,19 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(index, builderForValue.build()); @@ -4945,18 +6005,22 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addAllFaceDetectionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, faceDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceDetectionAnnotations_); onChanged(); } else { faceDetectionAnnotationsBuilder_.addAllMessages(values); @@ -4964,11 +6028,15 @@ public Builder addAllFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder clearFaceDetectionAnnotations() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4981,11 +6049,15 @@ public Builder clearFaceDetectionAnnotations() { return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder removeFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4998,39 +6070,53 @@ public Builder removeFaceDetectionAnnotations(int index) { return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder getFaceDetectionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder + getFaceDetectionAnnotationsBuilder(int index) { return getFaceDetectionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index) { if (faceDetectionAnnotationsBuilder_ == null) { - return faceDetectionAnnotations_.get(index); } else { + return faceDetectionAnnotations_.get(index); + } else { return faceDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List - getFaceDetectionAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> + getFaceDetectionAnnotationsOrBuilderList() { if (faceDetectionAnnotationsBuilder_ != null) { return faceDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5038,45 +6124,67 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder ge } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder() { - return getFaceDetectionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder + addFaceDetectionAnnotationsBuilder() { + return getFaceDetectionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder( - int index) { - return getFaceDetectionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder + addFaceDetectionAnnotationsBuilder(int index) { + return getFaceDetectionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.getDefaultInstance()); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List - getFaceDetectionAnnotationsBuilderList() { + public java.util.List + getFaceDetectionAnnotationsBuilderList() { return getFaceDetectionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsFieldBuilder() { if (faceDetectionAnnotationsBuilder_ == null) { - faceDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder>( + faceDetectionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder>( faceDetectionAnnotations_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), @@ -5087,25 +6195,34 @@ public com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder add } private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); + shotAnnotations_ = + new java.util.ArrayList( + shotAnnotations_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + shotAnnotationsBuilder_; /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -5113,6 +6230,8 @@ public java.util.List getSho } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5127,6 +6246,8 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5141,6 +6262,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5162,6 +6285,8 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5180,6 +6305,8 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5200,6 +6327,8 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1.VideoSeg return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5221,6 +6350,8 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5239,6 +6370,8 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5257,6 +6390,8 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5267,8 +6402,7 @@ public Builder addAllShotAnnotations( java.lang.Iterable values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -5276,6 +6410,8 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5293,6 +6429,8 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5310,6 +6448,8 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5321,6 +6461,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getShotAnnotat return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5330,19 +6472,22 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getShotAnnotat public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5350,6 +6495,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5357,10 +6504,12 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnota * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); + return getShotAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
@@ -5369,26 +6518,35 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotat */ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotationsBuilder( int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -5400,41 +6558,58 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addShotAnnotat private com.google.cloud.videointelligence.v1.ExplicitContentAnnotation explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5448,11 +6623,14 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1.Expli return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder setExplicitAnnotation( com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder builderForValue) { @@ -5466,17 +6644,24 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -5488,11 +6673,14 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1.Exp return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -5506,73 +6694,99 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List speechTranscriptions_ = - java.util.Collections.emptyList(); + private java.util.List + speechTranscriptions_ = java.util.Collections.emptyList(); + private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); + speechTranscriptions_ = + new java.util.ArrayList( + speechTranscriptions_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1.SpeechTranscription, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> + speechTranscriptionsBuilder_; /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -5580,11 +6794,15 @@ public java.util.List } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -5594,13 +6812,18 @@ public int getSpeechTranscriptionsCount() { } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions( + int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -5608,11 +6831,15 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTransc } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1.SpeechTranscription value) { @@ -5629,14 +6856,19 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -5647,13 +6879,18 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1.SpeechTranscription value) { + public Builder addSpeechTranscriptions( + com.google.cloud.videointelligence.v1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5667,11 +6904,15 @@ public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1.Spe return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1.SpeechTranscription value) { @@ -5688,11 +6929,15 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { @@ -5706,14 +6951,19 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -5724,18 +6974,22 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -5743,11 +6997,15 @@ public Builder addAllSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -5760,11 +7018,15 @@ public Builder clearSpeechTranscriptions() { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -5777,39 +7039,53 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder + getSpeechTranscriptionsBuilder(int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); } else { + return speechTranscriptions_.get(index); + } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -5817,45 +7093,67 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpe } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( - int index) { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder(int index) { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.SpeechTranscription.getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1.SpeechTranscription, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscription, com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechTranscription, + com.google.cloud.videointelligence.v1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), @@ -5866,27 +7164,37 @@ public com.google.cloud.videointelligence.v1.SpeechTranscription.Builder addSpee } private java.util.List textAnnotations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - textAnnotations_ = new java.util.ArrayList(textAnnotations_); + textAnnotations_ = + new java.util.ArrayList( + textAnnotations_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.TextAnnotation, + com.google.cloud.videointelligence.v1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> + textAnnotationsBuilder_; /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ - public java.util.List getTextAnnotationsList() { + public java.util.List + getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -5894,13 +7202,16 @@ public java.util.List getT } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -5910,13 +7221,16 @@ public int getTextAnnotationsCount() { } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -5926,13 +7240,16 @@ public com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(i } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation value) { @@ -5949,13 +7266,16 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -5969,13 +7289,16 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { @@ -5991,13 +7314,16 @@ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1.TextAnno return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation value) { @@ -6014,13 +7340,16 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -6034,13 +7363,16 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1.TextAnnotation.Builder builderForValue) { @@ -6054,20 +7386,22 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder addAllTextAnnotations( java.lang.Iterable values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -6075,13 +7409,16 @@ public Builder addAllTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -6094,13 +7431,16 @@ public Builder clearTextAnnotations() { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -6113,45 +7453,55 @@ public Builder removeTextAnnotations(int index) { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder getTextAnnotationsBuilder( int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder + getTextAnnotationsOrBuilder(int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); } else { + return textAnnotations_.get(index); + } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsOrBuilderList() { + public java.util.List + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6159,51 +7509,68 @@ public com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnno } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.TextAnnotation.Builder + addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnotationsBuilder( int index) { - return getTextAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); + return getTextAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.TextAnnotation, + com.google.cloud.videointelligence.v1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextAnnotation, com.google.cloud.videointelligence.v1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextAnnotation, + com.google.cloud.videointelligence.v1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), @@ -6213,26 +7580,37 @@ public com.google.cloud.videointelligence.v1.TextAnnotation.Builder addTextAnnot return textAnnotationsBuilder_; } - private java.util.List objectAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + objectAnnotations_ = java.util.Collections.emptyList(); + private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); + objectAnnotations_ = + new java.util.ArrayList( + objectAnnotations_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> + objectAnnotationsBuilder_; /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -6240,11 +7618,15 @@ public java.util.List * Annotations for list of objects detected and tracked in video. *
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -6254,13 +7636,18 @@ public int getObjectAnnotationsCount() { } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations( + int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -6268,11 +7655,15 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectA } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { @@ -6289,14 +7680,19 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( - int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -6307,13 +7703,18 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations( + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6327,11 +7728,15 @@ public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1.Object return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation value) { @@ -6348,11 +7753,15 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { @@ -6366,14 +7775,19 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( - int index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -6384,18 +7798,22 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addAllObjectAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -6403,11 +7821,15 @@ public Builder addAllObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -6420,11 +7842,15 @@ public Builder clearObjectAnnotations() { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -6437,39 +7863,53 @@ public Builder removeObjectAnnotations(int index) { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder + getObjectAnnotationsBuilder(int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); } else { + return objectAnnotations_.get(index); + } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6477,45 +7917,67 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder g } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( - int index) { - return getObjectAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder(int index) { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsBuilderList() { + public java.util.List + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -6525,26 +7987,38 @@ public com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.Builder ad return objectAnnotationsBuilder_; } - private java.util.List logoRecognitionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + logoRecognitionAnnotations_ = java.util.Collections.emptyList(); + private void ensureLogoRecognitionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - logoRecognitionAnnotations_ = new java.util.ArrayList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation>( + logoRecognitionAnnotations_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> logoRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> + logoRecognitionAnnotationsBuilder_; /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List getLogoRecognitionAnnotationsList() { + public java.util.List + getLogoRecognitionAnnotationsList() { if (logoRecognitionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } else { @@ -6552,11 +8026,15 @@ public java.util.List * Annotations for list of logos detected, tracked and recognized in video. *
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public int getLogoRecognitionAnnotationsCount() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6566,13 +8044,18 @@ public int getLogoRecognitionAnnotationsCount() { } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation + getLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { return logoRecognitionAnnotations_.get(index); } else { @@ -6580,11 +8063,15 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRe } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder setLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { @@ -6601,14 +8088,19 @@ public Builder setLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder setLogoRecognitionAnnotations( - int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.set(index, builderForValue.build()); @@ -6619,13 +8111,18 @@ public Builder setLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { + public Builder addLogoRecognitionAnnotations( + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { if (logoRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6639,11 +8136,15 @@ public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation value) { @@ -6660,11 +8161,15 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { @@ -6678,14 +8183,19 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( - int index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(index, builderForValue.build()); @@ -6696,18 +8206,23 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addAllLogoRecognitionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation> + values) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logoRecognitionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logoRecognitionAnnotations_); onChanged(); } else { logoRecognitionAnnotationsBuilder_.addAllMessages(values); @@ -6715,11 +8230,15 @@ public Builder addAllLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder clearLogoRecognitionAnnotations() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6732,11 +8251,15 @@ public Builder clearLogoRecognitionAnnotations() { return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder removeLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6749,39 +8272,53 @@ public Builder removeLogoRecognitionAnnotations(int index) { return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder getLogoRecognitionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder + getLogoRecognitionAnnotationsBuilder(int index) { return getLogoRecognitionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { - return logoRecognitionAnnotations_.get(index); } else { + return logoRecognitionAnnotations_.get(index); + } else { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List - getLogoRecognitionAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> + getLogoRecognitionAnnotationsOrBuilderList() { if (logoRecognitionAnnotationsBuilder_ != null) { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6789,45 +8326,67 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder() { - return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder + addLogoRecognitionAnnotationsBuilder() { + return getLogoRecognitionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder( - int index) { - return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder + addLogoRecognitionAnnotationsBuilder(int index) { + return getLogoRecognitionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance()); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List - getLogoRecognitionAnnotationsBuilderList() { + public java.util.List + getLogoRecognitionAnnotationsBuilderList() { return getLogoRecognitionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsFieldBuilder() { if (logoRecognitionAnnotationsBuilder_ == null) { - logoRecognitionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder>( + logoRecognitionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder>( logoRecognitionAnnotations_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), @@ -6837,26 +8396,38 @@ public com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder a return logoRecognitionAnnotationsBuilder_; } - private java.util.List personDetectionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + personDetectionAnnotations_ = java.util.Collections.emptyList(); + private void ensurePersonDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { - personDetectionAnnotations_ = new java.util.ArrayList(personDetectionAnnotations_); + personDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation>( + personDetectionAnnotations_); bitField0_ |= 0x00001000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> personDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> + personDetectionAnnotationsBuilder_; /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List getPersonDetectionAnnotationsList() { + public java.util.List + getPersonDetectionAnnotationsList() { if (personDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(personDetectionAnnotations_); } else { @@ -6864,11 +8435,15 @@ public java.util.List * Person detection annotations. *
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public int getPersonDetectionAnnotationsCount() { if (personDetectionAnnotationsBuilder_ == null) { @@ -6878,13 +8453,18 @@ public int getPersonDetectionAnnotationsCount() { } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation + getPersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { return personDetectionAnnotations_.get(index); } else { @@ -6892,11 +8472,15 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPerson } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder setPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { @@ -6913,14 +8497,19 @@ public Builder setPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder setPersonDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.set(index, builderForValue.build()); @@ -6931,13 +8520,18 @@ public Builder setPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { + public Builder addPersonDetectionAnnotations( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { if (personDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6951,11 +8545,15 @@ public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation value) { @@ -6972,11 +8570,15 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { @@ -6990,14 +8592,19 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(index, builderForValue.build()); @@ -7008,18 +8615,23 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addAllPersonDetectionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotation> + values) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, personDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, personDetectionAnnotations_); onChanged(); } else { personDetectionAnnotationsBuilder_.addAllMessages(values); @@ -7027,11 +8639,15 @@ public Builder addAllPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder clearPersonDetectionAnnotations() { if (personDetectionAnnotationsBuilder_ == null) { @@ -7044,11 +8660,15 @@ public Builder clearPersonDetectionAnnotations() { return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder removePersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { @@ -7061,39 +8681,53 @@ public Builder removePersonDetectionAnnotations(int index) { return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder getPersonDetectionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder + getPersonDetectionAnnotationsBuilder(int index) { return getPersonDetectionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index) { if (personDetectionAnnotationsBuilder_ == null) { - return personDetectionAnnotations_.get(index); } else { + return personDetectionAnnotations_.get(index); + } else { return personDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List - getPersonDetectionAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> + getPersonDetectionAnnotationsOrBuilderList() { if (personDetectionAnnotationsBuilder_ != null) { return personDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -7101,45 +8735,67 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder() { - return getPersonDetectionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder + addPersonDetectionAnnotationsBuilder() { + return getPersonDetectionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder( - int index) { - return getPersonDetectionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder + addPersonDetectionAnnotationsBuilder(int index) { + return getPersonDetectionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.getDefaultInstance()); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List - getPersonDetectionAnnotationsBuilderList() { + public java.util.List + getPersonDetectionAnnotationsBuilderList() { return getPersonDetectionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsFieldBuilder() { if (personDetectionAnnotationsBuilder_ == null) { - personDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder>( + personDetectionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder>( personDetectionAnnotations_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), @@ -7151,26 +8807,33 @@ public com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.Builder a 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_; /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -7181,6 +8844,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7202,6 +8867,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7209,8 +8876,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -7221,6 +8887,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7231,8 +8899,7 @@ public Builder setError(
     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;
         }
@@ -7244,6 +8911,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7263,6 +8932,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7271,11 +8942,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7287,11 +8960,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7300,21 +8974,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -7324,12 +8998,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1.VideoAnnotationResults DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1.VideoAnnotationResults
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoAnnotationResults();
   }
@@ -7338,16 +9013,16 @@ public static com.google.cloud.videointelligence.v1.VideoAnnotationResults getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationResults parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationResults(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationResults parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationResults(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -7362,6 +9037,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoAnnotationResults getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
index 167df26d0..c6e6456a2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
@@ -1,53 +1,82 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoAnnotationResultsOrBuilder extends
+public interface VideoAnnotationResultsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1.VideoSegment segment = 10; + * * @return The segment. */ com.google.cloud.videointelligence.v1.VideoSegment getSegment(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
@@ -57,55 +86,77 @@ public interface VideoAnnotationResultsOrBuilder extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentLabelAnnotations(int index); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ int getSegmentLabelAnnotationsCount(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -115,11 +166,15 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAn
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsList(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -129,10 +184,15 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAn
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index); + com.google.cloud.videointelligence.v1.LabelAnnotation getSegmentPresenceLabelAnnotations( + int index); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -142,10 +202,14 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAn
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ int getSegmentPresenceLabelAnnotationsCount(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -155,11 +219,15 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAn
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -169,61 +237,80 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentLabelAn
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1.LabelAnnotation getShotLabelAnnotations(int index); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ int getShotLabelAnnotationsCount(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( int index); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -232,11 +319,15 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsList(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -245,10 +336,14 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ com.google.cloud.videointelligence.v1.LabelAnnotation getShotPresenceLabelAnnotations(int index); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -257,10 +352,14 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ int getShotPresenceLabelAnnotationsCount(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -269,11 +368,15 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsOrBuilderList(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -282,158 +385,223 @@ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotLabelAnnot
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1.LabelAnnotation getFrameLabelAnnotations(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ int getFrameLabelAnnotationsCount(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( int index); /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getFaceAnnotationsList(); + @java.lang.Deprecated + java.util.List getFaceAnnotationsList(); /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index); + @java.lang.Deprecated + com.google.cloud.videointelligence.v1.FaceAnnotation getFaceAnnotations(int index); /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated int getFaceAnnotationsCount(); + @java.lang.Deprecated + int getFaceAnnotationsCount(); /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getFaceAnnotationsOrBuilderList(); /** + * + * *
    * Deprecated. Please use `face_detection_annotations` instead.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * + * repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( + @java.lang.Deprecated + com.google.cloud.videointelligence.v1.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - java.util.List + java.util.List getFaceDetectionAnnotationsList(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotation getFaceDetectionAnnotations( + int index); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ int getFaceDetectionAnnotationsCount(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - java.util.List + java.util.List getFaceDetectionAnnotationsOrBuilderList(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - java.util.List - getShotAnnotationsList(); + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -442,6 +610,8 @@ com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDe */ com.google.cloud.videointelligence.v1.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -450,15 +620,19 @@ com.google.cloud.videointelligence.v1.FaceDetectionAnnotationOrBuilder getFaceDe */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* * repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6; */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
@@ -469,77 +643,111 @@ com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getShotAnnotationsOr int index); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ com.google.cloud.videointelligence.v1.SpeechTranscription getSpeechTranscriptions(int index); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ int getSpeechTranscriptionsCount(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List getSpeechTranscriptionsOrBuilderList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11; + * */ - com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -548,9 +756,10 @@ com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTran
    *
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
-  java.util.List 
-      getTextAnnotationsList();
+  java.util.List getTextAnnotationsList();
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -561,6 +770,8 @@ com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTran
    */
   com.google.cloud.videointelligence.v1.TextAnnotation getTextAnnotations(int index);
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -571,6 +782,8 @@ com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTran
    */
   int getTextAnnotationsCount();
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -579,9 +792,11 @@ com.google.cloud.videointelligence.v1.SpeechTranscriptionOrBuilder getSpeechTran
    *
    * repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
    */
-  java.util.List 
+  java.util.List
       getTextAnnotationsOrBuilderList();
   /**
+   *
+   *
    * 
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
@@ -594,158 +809,228 @@ com.google.cloud.videointelligence.v1.TextAnnotationOrBuilder getTextAnnotations
       int index);
 
   /**
+   *
+   *
    * 
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List getObjectAnnotationsList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation getObjectAnnotations(int index); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ int getObjectAnnotationsCount(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List getObjectAnnotationsOrBuilderList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14; + * */ - com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - java.util.List + java.util.List getLogoRecognitionAnnotationsList(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation getLogoRecognitionAnnotations( + int index); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ int getLogoRecognitionAnnotationsCount(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - java.util.List + java.util.List getLogoRecognitionAnnotationsOrBuilderList(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - java.util.List + java.util.List getPersonDetectionAnnotationsList(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotation getPersonDetectionAnnotations( + int index); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ int getPersonDetectionAnnotationsCount(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - java.util.List + java.util.List getPersonDetectionAnnotationsOrBuilderList(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
index aa9578632..76e8e7033 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
+ *
+ *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoContext} */ -public final class VideoContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoContext) VideoContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,126 +71,165 @@ private VideoContext( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1.VideoSegment.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); + case 18: + { + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder subBuilder = null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.LabelDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.LabelDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder subBuilder = + null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); + } + shotChangeDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); + case 34: + { + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder + subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder subBuilder = null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); + } + faceDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.FaceDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); + case 50: + { + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder subBuilder = + null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); + } + speechTranscriptionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = subBuilder.buildPartial(); + } + + break; } - explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder subBuilder = null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); + case 66: + { + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder subBuilder = null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); + } + textDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.TextDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.FaceDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder subBuilder = null; + if (personDetectionConfig_ != null) { + subBuilder = personDetectionConfig_.toBuilder(); + } + personDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.PersonDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(personDetectionConfig_); + personDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder subBuilder = null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); + case 106: + { + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder subBuilder = null; + if (objectTrackingConfig_ != null) { + subBuilder = objectTrackingConfig_.toBuilder(); + } + objectTrackingConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectTrackingConfig_); + objectTrackingConfig_ = subBuilder.buildPartial(); + } + + break; } - speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 66: { - com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder subBuilder = null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); - } - textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.TextDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 90: { - com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder subBuilder = null; - if (personDetectionConfig_ != null) { - subBuilder = personDetectionConfig_.toBuilder(); - } - personDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.PersonDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(personDetectionConfig_); - personDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 106: { - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder subBuilder = null; - if (objectTrackingConfig_ != null) { - subBuilder = objectTrackingConfig_.toBuilder(); - } - objectTrackingConfig_ = input.readMessage(com.google.cloud.videointelligence.v1.ObjectTrackingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectTrackingConfig_); - objectTrackingConfig_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -181,8 +237,7 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -191,22 +246,27 @@ private VideoContext( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoContext.class, com.google.cloud.videointelligence.v1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1.VideoContext.class, + com.google.cloud.videointelligence.v1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -220,6 +280,8 @@ public java.util.List getSeg
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -229,11 +291,13 @@ public java.util.List getSeg
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -247,6 +311,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -260,6 +326,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -277,11 +345,15 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1.LabelDetectionConfig labelDetectionConfig_;
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -289,37 +361,53 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -327,37 +415,56 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() + : shotChangeDetectionConfig_; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -365,37 +472,53 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() + : explicitContentDetectionConfig_; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1.FaceDetectionConfig faceDetectionConfig_; /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -403,18 +526,25 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
@@ -422,18 +552,25 @@ public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectio * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + speechTranscriptionConfig_; /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -441,37 +578,53 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() + : speechTranscriptionConfig_; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1.TextDetectionConfig textDetectionConfig_; /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -479,18 +632,25 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
@@ -498,18 +658,23 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectio * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ @java.lang.Override - public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.videointelligence.v1.PersonDetectionConfig personDetectionConfig_; /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ @java.lang.Override @@ -517,37 +682,51 @@ public boolean hasPersonDetectionConfig() { return personDetectionConfig_ != null; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig() { - return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() + : personDetectionConfig_; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder() { return getPersonDetectionConfig(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 13; private com.google.cloud.videointelligence.v1.ObjectTrackingConfig objectTrackingConfig_; /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -555,30 +734,41 @@ public boolean hasObjectTrackingConfig() { return objectTrackingConfig_ != null; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig() { - return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { return getObjectTrackingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -590,8 +780,7 @@ 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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -629,40 +818,40 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLabelDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getShotChangeDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExplicitContentDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSpeechTranscriptionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getSpeechTranscriptionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); } if (personDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getPersonDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPersonDetectionConfig()); } if (objectTrackingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getObjectTrackingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, getObjectTrackingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -672,54 +861,50 @@ 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.videointelligence.v1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.VideoContext other = (com.google.cloud.videointelligence.v1.VideoContext) obj; + com.google.cloud.videointelligence.v1.VideoContext other = + (com.google.cloud.videointelligence.v1.VideoContext) obj; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) + return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig() - .equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig() - .equals(other.getSpeechTranscriptionConfig())) return false; + if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) + return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig() - .equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; } if (hasPersonDetectionConfig() != other.hasPersonDetectionConfig()) return false; if (hasPersonDetectionConfig()) { - if (!getPersonDetectionConfig() - .equals(other.getPersonDetectionConfig())) return false; + if (!getPersonDetectionConfig().equals(other.getPersonDetectionConfig())) return false; } if (hasObjectTrackingConfig() != other.hasObjectTrackingConfig()) return false; if (hasObjectTrackingConfig()) { - if (!getObjectTrackingConfig() - .equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -774,117 +959,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.VideoContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.VideoContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext 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; } /** + * + * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoContext} */ - 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.videointelligence.v1.VideoContext) com.google.cloud.videointelligence.v1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoContext.class, com.google.cloud.videointelligence.v1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1.VideoContext.class, + com.google.cloud.videointelligence.v1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoContext.newBuilder() @@ -892,17 +1086,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) { getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -964,9 +1158,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; } @java.lang.Override @@ -985,7 +1179,8 @@ public com.google.cloud.videointelligence.v1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1.VideoContext result = new com.google.cloud.videointelligence.v1.VideoContext(this); + com.google.cloud.videointelligence.v1.VideoContext result = + new com.google.cloud.videointelligence.v1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1044,38 +1239,39 @@ public com.google.cloud.videointelligence.v1.VideoContext 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.videointelligence.v1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoContext)other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoContext) other); } else { super.mergeFrom(other); return this; @@ -1083,7 +1279,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.VideoContext.getDefaultInstance()) + return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -1102,9 +1299,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoContext othe segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -1153,7 +1351,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1162,21 +1361,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList(segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1.VideoSegment, + com.google.cloud.videointelligence.v1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1193,6 +1400,8 @@ public java.util.List getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1209,6 +1418,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1225,6 +1436,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1248,6 +1461,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1268,6 +1483,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1290,6 +1507,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1.VideoSegment va
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1313,6 +1532,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1333,6 +1554,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1353,6 +1576,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1365,8 +1590,7 @@ public Builder addAllSegments(
         java.lang.Iterable values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1374,6 +1598,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1393,6 +1619,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1412,6 +1640,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1425,6 +1655,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1436,11 +1668,14 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder getSegmentsBui
     public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1449,8 +1684,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1458,6 +1693,8 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1467,10 +1704,12 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOr
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1481,10 +1720,13 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      */
     public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1493,20 +1735,23 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
      *
      * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1.VideoSegment,
+            com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1.VideoSegment, com.google.cloud.videointelligence.v1.VideoSegment.Builder, com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1.VideoSegment,
+                com.google.cloud.videointelligence.v1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1514,41 +1759,58 @@ public com.google.cloud.videointelligence.v1.VideoSegment.Builder addSegmentsBui
 
     private com.google.cloud.videointelligence.v1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1.LabelDetectionConfig,
+            com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>
+        labelDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ public com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1562,11 +1824,14 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1.Lab return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder builderForValue) { @@ -1580,17 +1845,24 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.LabelDetectionConfig.newBuilder( + labelDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1602,11 +1874,14 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1.L return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1620,90 +1895,127 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.LabelDetectionConfig, com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), - getParentForChildren(), - isClean()); + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), getParentForChildren(), isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> + shotChangeDetectionConfigBuilder_; /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() + : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1717,11 +2029,15 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder setShotChangeDetectionConfig( com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder builderForValue) { @@ -1735,17 +2051,25 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.newBuilder( + shotChangeDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1757,11 +2081,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1775,90 +2103,132 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.getDefaultInstance() + : shotChangeDetectionConfig_; } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), - getParentForChildren(), - isClean()); + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), getParentForChildren(), isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null + || explicitContentDetectionConfig_ != null; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1872,14 +2242,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1890,17 +2265,25 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.newBuilder( + explicitContentDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1912,11 +2295,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1930,48 +2317,67 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder + getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), - getParentForChildren(), - isClean()); + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -1979,41 +2385,58 @@ public com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBui private com.google.cloud.videointelligence.v1.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> + faceDetectionConfigBuilder_; /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ public com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig( + com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2027,11 +2450,14 @@ public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1.Face return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder builderForValue) { @@ -2045,17 +2471,24 @@ public Builder setFaceDetectionConfig( return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig( + com.google.cloud.videointelligence.v1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.FaceDetectionConfig.newBuilder( + faceDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { faceDetectionConfig_ = value; } @@ -2067,11 +2500,14 @@ public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1.Fa return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -2085,90 +2521,127 @@ public Builder clearFaceDetectionConfig() { return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder + getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.FaceDetectionConfig, com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), - getParentForChildren(), - isClean()); + faceDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), getParentForChildren(), isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> + speechTranscriptionConfigBuilder_; /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() + : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2182,11 +2655,15 @@ public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder setSpeechTranscriptionConfig( com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder builderForValue) { @@ -2200,17 +2677,25 @@ public Builder setSpeechTranscriptionConfig( return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.newBuilder( + speechTranscriptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -2222,11 +2707,15 @@ public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -2240,48 +2729,66 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder + getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null ? - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.getDefaultInstance() + : speechTranscriptionConfig_; } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), - getParentForChildren(), - isClean()); + speechTranscriptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; @@ -2289,41 +2796,58 @@ public com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder private com.google.cloud.videointelligence.v1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.TextDetectionConfig, + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> + textDetectionConfigBuilder_; /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ public com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1.TextDetectionConfig value) { + public Builder setTextDetectionConfig( + com.google.cloud.videointelligence.v1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2337,11 +2861,14 @@ public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1.Text return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder builderForValue) { @@ -2355,17 +2882,24 @@ public Builder setTextDetectionConfig( return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig( + com.google.cloud.videointelligence.v1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.TextDetectionConfig.newBuilder( + textDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { textDetectionConfig_ = value; } @@ -2377,11 +2911,14 @@ public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1.Te return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -2395,48 +2932,63 @@ public Builder clearTextDetectionConfig() { return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder + getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.TextDetectionConfig, + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.TextDetectionConfig, com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), - getParentForChildren(), - isClean()); + textDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.TextDetectionConfig, + com.google.cloud.videointelligence.v1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), getParentForChildren(), isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; @@ -2444,41 +2996,58 @@ public com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTex private com.google.cloud.videointelligence.v1.PersonDetectionConfig personDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> personDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> + personDetectionConfigBuilder_; /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ public boolean hasPersonDetectionConfig() { return personDetectionConfigBuilder_ != null || personDetectionConfig_ != null; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ public com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { - return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() + : personDetectionConfig_; } else { return personDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ - public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { + public Builder setPersonDetectionConfig( + com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2492,11 +3061,14 @@ public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1.Pe return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ public Builder setPersonDetectionConfig( com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder builderForValue) { @@ -2510,17 +3082,24 @@ public Builder setPersonDetectionConfig( return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ - public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { + public Builder mergePersonDetectionConfig( + com.google.cloud.videointelligence.v1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (personDetectionConfig_ != null) { personDetectionConfig_ = - com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder(personDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.PersonDetectionConfig.newBuilder( + personDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { personDetectionConfig_ = value; } @@ -2532,11 +3111,14 @@ public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1. return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ public Builder clearPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { @@ -2550,48 +3132,63 @@ public Builder clearPersonDetectionConfig() { return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder getPersonDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder + getPersonDetectionConfigBuilder() { + onChanged(); return getPersonDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ - public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder() { if (personDetectionConfigBuilder_ != null) { return personDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return personDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1.PersonDetectionConfig.getDefaultInstance() + : personDetectionConfig_; } } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder> getPersonDetectionConfigFieldBuilder() { if (personDetectionConfigBuilder_ == null) { - personDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.PersonDetectionConfig, com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder>( - getPersonDetectionConfig(), - getParentForChildren(), - isClean()); + personDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder>( + getPersonDetectionConfig(), getParentForChildren(), isClean()); personDetectionConfig_ = null; } return personDetectionConfigBuilder_; @@ -2599,41 +3196,58 @@ public com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getP private com.google.cloud.videointelligence.v1.ObjectTrackingConfig objectTrackingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> + objectTrackingConfigBuilder_; /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ public boolean hasObjectTrackingConfig() { return objectTrackingConfigBuilder_ != null || objectTrackingConfig_ != null; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ public com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { - return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } else { return objectTrackingConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { + public Builder setObjectTrackingConfig( + com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2647,11 +3261,14 @@ public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1.Obj return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ public Builder setObjectTrackingConfig( com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder builderForValue) { @@ -2665,17 +3282,24 @@ public Builder setObjectTrackingConfig( return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig( + com.google.cloud.videointelligence.v1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (objectTrackingConfig_ != null) { objectTrackingConfig_ = - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder(objectTrackingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.newBuilder( + objectTrackingConfig_) + .mergeFrom(value) + .buildPartial(); } else { objectTrackingConfig_ = value; } @@ -2687,11 +3311,14 @@ public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1.O return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -2705,55 +3332,70 @@ public Builder clearObjectTrackingConfig() { return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { - + public com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder + getObjectTrackingConfigBuilder() { + onChanged(); return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { if (objectTrackingConfigBuilder_ != null) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { - return objectTrackingConfig_ == null ? - com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { - objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder>( - getObjectTrackingConfig(), - getParentForChildren(), - isClean()); + objectTrackingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder>( + getObjectTrackingConfig(), getParentForChildren(), isClean()); objectTrackingConfig_ = null; } return objectTrackingConfigBuilder_; } + @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); } @@ -2763,12 +3405,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoContext) private static final com.google.cloud.videointelligence.v1.VideoContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoContext(); } @@ -2777,16 +3419,16 @@ public static com.google.cloud.videointelligence.v1.VideoContext getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2801,6 +3443,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java index b63834311..7810b1e07 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface VideoContextOrBuilder extends +public interface VideoContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -16,9 +34,10 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -29,6 +48,8 @@ public interface VideoContextOrBuilder extends
    */
   com.google.cloud.videointelligence.v1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -39,6 +60,8 @@ public interface VideoContextOrBuilder extends
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -47,9 +70,11 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -58,222 +83,321 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1.VideoSegment segments = 1;
    */
-  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1.LabelDetectionConfig getLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1.LabelDetectionConfig label_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ com.google.cloud.videointelligence.v1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; + * * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1.FaceDetectionConfig getFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.FaceDetectionConfig face_detection_config = 5; */ - com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ com.google.cloud.videointelligence.v1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; + * * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1.TextDetectionConfig getTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * .google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8; */ - com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ boolean hasPersonDetectionConfig(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ com.google.cloud.videointelligence.v1.PersonDetectionConfig getPersonDetectionConfig(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * .google.cloud.videointelligence.v1.PersonDetectionConfig person_detection_config = 11; + * */ - com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ com.google.cloud.videointelligence.v1.ObjectTrackingConfig getObjectTrackingConfig(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * .google.cloud.videointelligence.v1.ObjectTrackingConfig object_tracking_config = 13; + * */ - com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder(); } diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..87de09faf --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java @@ -0,0 +1,864 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_Track_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n:google/cloud/videointelligence/v1/vide" + + "o_intelligence.proto\022!google.cloud.video" + + "intelligence.v1\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032#google/longrunn" + + "ing/operations.proto\032\036google/protobuf/du" + + "ration.proto\032\037google/protobuf/timestamp." + + "proto\032\027google/rpc/status.proto\"\376\001\n\024Annot" + + "ateVideoRequest\022\021\n\tinput_uri\030\001 \001(\t\022\025\n\rin" + + "put_content\030\006 \001(\014\022A\n\010features\030\002 \003(\0162*.go" + + "ogle.cloud.videointelligence.v1.FeatureB" + + "\003\340A\002\022F\n\rvideo_context\030\003 \001(\0132/.google.clo" + + "ud.videointelligence.v1.VideoContext\022\027\n\n" + + "output_uri\030\004 \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001" + + "(\tB\003\340A\001\"\301\006\n\014VideoContext\022A\n\010segments\030\001 \003" + + "(\0132/.google.cloud.videointelligence.v1.V" + + "ideoSegment\022W\n\026label_detection_config\030\002 " + + "\001(\01327.google.cloud.videointelligence.v1." + + "LabelDetectionConfig\022b\n\034shot_change_dete" + + "ction_config\030\003 \001(\0132<.google.cloud.videoi" + + "ntelligence.v1.ShotChangeDetectionConfig" + + "\022l\n!explicit_content_detection_config\030\004 " + + "\001(\0132A.google.cloud.videointelligence.v1." + + "ExplicitContentDetectionConfig\022U\n\025face_d" + + "etection_config\030\005 \001(\01326.google.cloud.vid" + + "eointelligence.v1.FaceDetectionConfig\022a\n" + + "\033speech_transcription_config\030\006 \001(\0132<.goo" + + "gle.cloud.videointelligence.v1.SpeechTra" + + "nscriptionConfig\022U\n\025text_detection_confi" + + "g\030\010 \001(\01326.google.cloud.videointelligence" + + ".v1.TextDetectionConfig\022Y\n\027person_detect" + + "ion_config\030\013 \001(\01328.google.cloud.videoint" + + "elligence.v1.PersonDetectionConfig\022W\n\026ob" + + "ject_tracking_config\030\r \001(\01327.google.clou" + + "d.videointelligence.v1.ObjectTrackingCon" + + "fig\"\335\001\n\024LabelDetectionConfig\022S\n\024label_de" + + "tection_mode\030\001 \001(\01625.google.cloud.videoi" + + "ntelligence.v1.LabelDetectionMode\022\031\n\021sta" + + "tionary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\022\"\n\032f" + + "rame_confidence_threshold\030\004 \001(\002\022\"\n\032video" + + "_confidence_threshold\030\005 \001(\002\"*\n\031ShotChang" + + "eDetectionConfig\022\r\n\005model\030\001 \001(\t\"%\n\024Objec" + + "tTrackingConfig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDe" + + "tectionConfig\022\r\n\005model\030\001 \001(\t\022\036\n\026include_" + + "bounding_boxes\030\002 \001(\010\022\032\n\022include_attribut" + + "es\030\005 \001(\010\"s\n\025PersonDetectionConfig\022\036\n\026inc" + + "lude_bounding_boxes\030\001 \001(\010\022\036\n\026include_pos" + + "e_landmarks\030\002 \001(\010\022\032\n\022include_attributes\030" + + "\003 \001(\010\"/\n\036ExplicitContentDetectionConfig\022" + + "\r\n\005model\030\001 \001(\t\"<\n\023TextDetectionConfig\022\026\n" + + "\016language_hints\030\001 \003(\t\022\r\n\005model\030\002 \001(\t\"x\n\014" + + "VideoSegment\0224\n\021start_time_offset\030\001 \001(\0132" + + "\031.google.protobuf.Duration\0222\n\017end_time_o" + + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"d" + + "\n\014LabelSegment\022@\n\007segment\030\001 \001(\0132/.google" + + ".cloud.videointelligence.v1.VideoSegment" + + "\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelFrame\022.\n\013ti" + + "me_offset\030\001 \001(\0132\031.google.protobuf.Durati" + + "on\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Entity\022\021\n\tenti" + + "ty_id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\025\n\rlang" + + "uage_code\030\003 \001(\t\"\245\002\n\017LabelAnnotation\0229\n\006e" + + "ntity\030\001 \001(\0132).google.cloud.videointellig" + + "ence.v1.Entity\022D\n\021category_entities\030\002 \003(" + + "\0132).google.cloud.videointelligence.v1.En" + + "tity\022A\n\010segments\030\003 \003(\0132/.google.cloud.vi" + + "deointelligence.v1.LabelSegment\022=\n\006frame" + + "s\030\004 \003(\0132-.google.cloud.videointelligence" + + ".v1.LabelFrame\022\017\n\007version\030\005 \001(\t\"\225\001\n\024Expl" + + "icitContentFrame\022.\n\013time_offset\030\001 \001(\0132\031." + + "google.protobuf.Duration\022M\n\026pornography_" + + "likelihood\030\002 \001(\0162-.google.cloud.videoint" + + "elligence.v1.Likelihood\"u\n\031ExplicitConte" + + "ntAnnotation\022G\n\006frames\030\001 \003(\01327.google.cl" + + "oud.videointelligence.v1.ExplicitContent" + + "Frame\022\017\n\007version\030\002 \001(\t\"Q\n\025NormalizedBoun" + + "dingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005ri" + + "ght\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"w\n\027FaceDetecti" + + "onAnnotation\0228\n\006tracks\030\003 \003(\0132(.google.cl" + + "oud.videointelligence.v1.Track\022\021\n\tthumbn" + + "ail\030\004 \001(\014\022\017\n\007version\030\005 \001(\t\"f\n\031PersonDete" + + "ctionAnnotation\0228\n\006tracks\030\001 \003(\0132(.google" + + ".cloud.videointelligence.v1.Track\022\017\n\007ver" + + "sion\030\002 \001(\t\"O\n\013FaceSegment\022@\n\007segment\030\001 \001" + + "(\0132/.google.cloud.videointelligence.v1.V" + + "ideoSegment\"\234\001\n\tFaceFrame\022[\n\031normalized_" + + "bounding_boxes\030\001 \003(\01328.google.cloud.vide" + + "ointelligence.v1.NormalizedBoundingBox\022." + + "\n\013time_offset\030\002 \001(\0132\031.google.protobuf.Du" + + "ration:\002\030\001\"\247\001\n\016FaceAnnotation\022\021\n\tthumbna" + + "il\030\001 \001(\014\022@\n\010segments\030\002 \003(\0132..google.clou" + + "d.videointelligence.v1.FaceSegment\022<\n\006fr" + + "ames\030\003 \003(\0132,.google.cloud.videointellige" + + "nce.v1.FaceFrame:\002\030\001\"\272\002\n\021TimestampedObje" + + "ct\022Y\n\027normalized_bounding_box\030\001 \001(\01328.go" + + "ogle.cloud.videointelligence.v1.Normaliz" + + "edBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031.goo" + + "gle.protobuf.Duration\022M\n\nattributes\030\003 \003(" + + "\01324.google.cloud.videointelligence.v1.De" + + "tectedAttributeB\003\340A\001\022K\n\tlandmarks\030\004 \003(\0132" + + "3.google.cloud.videointelligence.v1.Dete" + + "ctedLandmarkB\003\340A\001\"\204\002\n\005Track\022@\n\007segment\030\001" + + " \001(\0132/.google.cloud.videointelligence.v1" + + ".VideoSegment\022Q\n\023timestamped_objects\030\002 \003" + + "(\01324.google.cloud.videointelligence.v1.T" + + "imestampedObject\022M\n\nattributes\030\003 \003(\01324.g" + + "oogle.cloud.videointelligence.v1.Detecte" + + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"x\n\020Detect" + + "edLandmark\022\014\n\004name\030\001 \001(\t\022B\n\005point\030\002 \001(\0132" + + "3.google.cloud.videointelligence.v1.Norm" + + "alizedVertex\022\022\n\nconfidence\030\003 \001(\002\"\351\n\n\026Vid" + + "eoAnnotationResults\022\021\n\tinput_uri\030\001 \001(\t\022@" + + "\n\007segment\030\n \001(\0132/.google.cloud.videointe" + + "lligence.v1.VideoSegment\022U\n\031segment_labe" + + "l_annotations\030\002 \003(\01322.google.cloud.video" + + "intelligence.v1.LabelAnnotation\022^\n\"segme" + + "nt_presence_label_annotations\030\027 \003(\01322.go" + + "ogle.cloud.videointelligence.v1.LabelAnn" + + "otation\022R\n\026shot_label_annotations\030\003 \003(\0132" + + "2.google.cloud.videointelligence.v1.Labe" + + "lAnnotation\022[\n\037shot_presence_label_annot" + + "ations\030\030 \003(\01322.google.cloud.videointelli" + + "gence.v1.LabelAnnotation\022S\n\027frame_label_" + + "annotations\030\004 \003(\01322.google.cloud.videoin" + + "telligence.v1.LabelAnnotation\022O\n\020face_an" + + "notations\030\005 \003(\01321.google.cloud.videointe" + + "lligence.v1.FaceAnnotationB\002\030\001\022^\n\032face_d" + + "etection_annotations\030\r \003(\0132:.google.clou" + + "d.videointelligence.v1.FaceDetectionAnno" + + "tation\022I\n\020shot_annotations\030\006 \003(\0132/.googl" + + "e.cloud.videointelligence.v1.VideoSegmen" + + "t\022Y\n\023explicit_annotation\030\007 \001(\0132<.google." + + "cloud.videointelligence.v1.ExplicitConte" + + "ntAnnotation\022U\n\025speech_transcriptions\030\013 " + + "\003(\01326.google.cloud.videointelligence.v1." + + "SpeechTranscription\022K\n\020text_annotations\030" + + "\014 \003(\01321.google.cloud.videointelligence.v" + + "1.TextAnnotation\022W\n\022object_annotations\030\016" + + " \003(\0132;.google.cloud.videointelligence.v1" + + ".ObjectTrackingAnnotation\022b\n\034logo_recogn" + + "ition_annotations\030\023 \003(\0132<.google.cloud.v" + + "ideointelligence.v1.LogoRecognitionAnnot" + + "ation\022b\n\034person_detection_annotations\030\024 " + + "\003(\0132<.google.cloud.videointelligence.v1." + + "PersonDetectionAnnotation\022!\n\005error\030\t \001(\013" + + "2\022.google.rpc.Status\"n\n\025AnnotateVideoRes" + + "ponse\022U\n\022annotation_results\030\001 \003(\01329.goog" + + "le.cloud.videointelligence.v1.VideoAnnot" + + "ationResults\"\246\002\n\027VideoAnnotationProgress" + + "\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_percent\030" + + "\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022;\n\007feature\030\005 \001(\0162" + + "*.google.cloud.videointelligence.v1.Feat" + + "ure\022@\n\007segment\030\006 \001(\0132/.google.cloud.vide" + + "ointelligence.v1.VideoSegment\"p\n\025Annotat" + + "eVideoProgress\022W\n\023annotation_progress\030\001 " + + "\003(\0132:.google.cloud.videointelligence.v1." + + "VideoAnnotationProgress\"\201\003\n\031SpeechTransc" + + "riptionConfig\022\032\n\rlanguage_code\030\001 \001(\tB\003\340A" + + "\002\022\035\n\020max_alternatives\030\002 \001(\005B\003\340A\001\022\035\n\020filt" + + "er_profanity\030\003 \001(\010B\003\340A\001\022N\n\017speech_contex" + + "ts\030\004 \003(\01320.google.cloud.videointelligenc" + + "e.v1.SpeechContextB\003\340A\001\022)\n\034enable_automa" + + "tic_punctuation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_trac" + + "ks\030\006 \003(\005B\003\340A\001\022\'\n\032enable_speaker_diarizat" + + "ion\030\007 \001(\010B\003\340A\001\022&\n\031diarization_speaker_co" + + "unt\030\010 \001(\005B\003\340A\001\022#\n\026enable_word_confidence" + + "\030\t \001(\010B\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030" + + "\001 \003(\tB\003\340A\001\"\210\001\n\023SpeechTranscription\022U\n\014al" + + "ternatives\030\001 \003(\0132?.google.cloud.videoint" + + "elligence.v1.SpeechRecognitionAlternativ" + + "e\022\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\214\001\n\034Speech" + + "RecognitionAlternative\022\022\n\ntranscript\030\001 \001" + + "(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022?\n\005words\030\003 \003" + + "(\0132+.google.cloud.videointelligence.v1.W" + + "ordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_time\030" + + "\001 \001(\0132\031.google.protobuf.Duration\022+\n\010end_" + + "time\030\002 \001(\0132\031.google.protobuf.Duration\022\014\n" + + "\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A\003\022\030\n\013" + + "speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020NormalizedVert" + + "ex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"_\n\026NormalizedBo" + + "undingPoly\022E\n\010vertices\030\001 \003(\01323.google.cl" + + "oud.videointelligence.v1.NormalizedVerte" + + "x\"\241\001\n\013TextSegment\022@\n\007segment\030\001 \001(\0132/.goo" + + "gle.cloud.videointelligence.v1.VideoSegm" + + "ent\022\022\n\nconfidence\030\002 \001(\002\022<\n\006frames\030\003 \003(\0132" + + ",.google.cloud.videointelligence.v1.Text" + + "Frame\"\224\001\n\tTextFrame\022W\n\024rotated_bounding_" + + "box\030\001 \001(\01329.google.cloud.videointelligen" + + "ce.v1.NormalizedBoundingPoly\022.\n\013time_off" + + "set\030\002 \001(\0132\031.google.protobuf.Duration\"q\n\016" + + "TextAnnotation\022\014\n\004text\030\001 \001(\t\022@\n\010segments" + + "\030\002 \003(\0132..google.cloud.videointelligence." + + "v1.TextSegment\022\017\n\007version\030\003 \001(\t\"\240\001\n\023Obje" + + "ctTrackingFrame\022Y\n\027normalized_bounding_b" + + "ox\030\001 \001(\01328.google.cloud.videointelligenc" + + "e.v1.NormalizedBoundingBox\022.\n\013time_offse" + + "t\030\002 \001(\0132\031.google.protobuf.Duration\"\250\002\n\030O" + + "bjectTrackingAnnotation\022B\n\007segment\030\003 \001(\013" + + "2/.google.cloud.videointelligence.v1.Vid" + + "eoSegmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\0229\n\006entit" + + "y\030\001 \001(\0132).google.cloud.videointelligence" + + ".v1.Entity\022\022\n\nconfidence\030\004 \001(\002\022F\n\006frames" + + "\030\002 \003(\01326.google.cloud.videointelligence." + + "v1.ObjectTrackingFrame\022\017\n\007version\030\006 \001(\tB" + + "\014\n\ntrack_info\"\323\001\n\031LogoRecognitionAnnotat" + + "ion\0229\n\006entity\030\001 \001(\0132).google.cloud.video" + + "intelligence.v1.Entity\0228\n\006tracks\030\002 \003(\0132(" + + ".google.cloud.videointelligence.v1.Track" + + "\022A\n\010segments\030\003 \003(\0132/.google.cloud.videoi" + + "ntelligence.v1.VideoSegment*\365\001\n\007Feature\022" + + "\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECT" + + "ION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPL" + + "ICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTI" + + "ON\020\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_D" + + "ETECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_" + + "RECOGNITION\020\014\022\024\n\020PERSON_DETECTION\020\016*r\n\022L" + + "abelDetectionMode\022$\n LABEL_DETECTION_MOD" + + "E_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_" + + "MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikel" + + "ihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVER" + + "Y_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003" + + "\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\300\002\n\030VideoI" + + "ntelligenceService\022\315\001\n\rAnnotateVideo\0227.g" + + "oogle.cloud.videointelligence.v1.Annotat" + + "eVideoRequest\032\035.google.longrunning.Opera" + + "tion\"d\202\323\344\223\002\030\"\023/v1/videos:annotate:\001*\332A\022i" + + "nput_uri,features\312A.\n\025AnnotateVideoRespo" + + "nse\022\025AnnotateVideoProgress\032T\312A videointe" + + "lligence.googleapis.com\322A.https://www.go" + + "ogleapis.com/auth/cloud-platformB\213\002\n%com" + + ".google.cloud.videointelligence.v1B\035Vide" + + "oIntelligenceServiceProtoP\001ZRgoogle.gola" + + "ng.org/genproto/googleapis/cloud/videoin" + + "telligence/v1;videointelligence\252\002!Google" + + ".Cloud.VideoIntelligence.V1\312\002!Google\\Clo" + + "ud\\VideoIntelligence\\V1\352\002$Google::Cloud:" + + ":VideoIntelligence::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { + "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", + }); + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1_VideoContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoContext_descriptor, + new java.lang.String[] { + "Segments", + "LabelDetectionConfig", + "ShotChangeDetectionConfig", + "ExplicitContentDetectionConfig", + "FaceDetectionConfig", + "SpeechTranscriptionConfig", + "TextDetectionConfig", + "PersonDetectionConfig", + "ObjectTrackingConfig", + }); + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelDetectionConfig_descriptor, + new java.lang.String[] { + "LabelDetectionMode", + "StationaryCamera", + "Model", + "FrameConfidenceThreshold", + "VideoConfidenceThreshold", + }); + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceDetectionConfig_descriptor, + new java.lang.String[] { + "Model", "IncludeBoundingBoxes", "IncludeAttributes", + }); + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_PersonDetectionConfig_descriptor, + new java.lang.String[] { + "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", + }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextDetectionConfig_descriptor, + new java.lang.String[] { + "LanguageHints", "Model", + }); + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor, + new java.lang.String[] { + "StartTimeOffset", "EndTimeOffset", + }); + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1_LabelSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1_LabelFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1_Entity_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_Entity_descriptor, + new java.lang.String[] { + "EntityId", "Description", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LabelAnnotation_descriptor, + new java.lang.String[] { + "Entity", "CategoryEntities", "Segments", "Frames", "Version", + }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "PornographyLikelihood", + }); + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { + "Frames", "Version", + }); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { + "Left", "Top", "Right", "Bottom", + }); + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceDetectionAnnotation_descriptor, + new java.lang.String[] { + "Tracks", "Thumbnail", "Version", + }); + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_PersonDetectionAnnotation_descriptor, + new java.lang.String[] { + "Tracks", "Version", + }); + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1_FaceSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceSegment_descriptor, + new java.lang.String[] { + "Segment", + }); + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1_FaceFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceFrame_descriptor, + new java.lang.String[] { + "NormalizedBoundingBoxes", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_FaceAnnotation_descriptor, + new java.lang.String[] { + "Thumbnail", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1_TimestampedObject_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TimestampedObject_descriptor, + new java.lang.String[] { + "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", + }); + internal_static_google_cloud_videointelligence_v1_Track_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1_Track_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_Track_descriptor, + new java.lang.String[] { + "Segment", "TimestampedObjects", "Attributes", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_DetectedAttribute_descriptor, + new java.lang.String[] { + "Name", "Confidence", "Value", + }); + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_DetectedLandmark_descriptor, + new java.lang.String[] { + "Name", "Point", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoAnnotationResults_descriptor, + new java.lang.String[] { + "InputUri", + "Segment", + "SegmentLabelAnnotations", + "SegmentPresenceLabelAnnotations", + "ShotLabelAnnotations", + "ShotPresenceLabelAnnotations", + "FrameLabelAnnotations", + "FaceAnnotations", + "FaceDetectionAnnotations", + "ShotAnnotations", + "ExplicitAnnotation", + "SpeechTranscriptions", + "TextAnnotations", + "ObjectAnnotations", + "LogoRecognitionAnnotations", + "PersonDetectionAnnotations", + "Error", + }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { + "AnnotationResults", + }); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { + "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", + }); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { + "AnnotationProgress", + }); + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { + "LanguageCode", + "MaxAlternatives", + "FilterProfanity", + "SpeechContexts", + "EnableAutomaticPunctuation", + "AudioTracks", + "EnableSpeakerDiarization", + "DiarizationSpeakerCount", + "EnableWordConfidence", + }); + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_videointelligence_v1_SpeechContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechContext_descriptor, + new java.lang.String[] { + "Phrases", + }); + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechTranscription_descriptor, + new java.lang.String[] { + "Alternatives", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { + "Transcript", "Confidence", "Words", + }); + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", + }); + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedVertex_descriptor, + new java.lang.String[] { + "X", "Y", + }); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { + "Vertices", + }); + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_videointelligence_v1_TextSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", "Frames", + }); + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_videointelligence_v1_TextFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextFrame_descriptor, + new java.lang.String[] { + "RotatedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_videointelligence_v1_TextAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_TextAnnotation_descriptor, + new java.lang.String[] { + "Text", "Segments", "Version", + }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { + "NormalizedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { + "Segment", "TrackId", "Entity", "Confidence", "Frames", "Version", "TrackInfo", + }); + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1_LogoRecognitionAnnotation_descriptor, + new java.lang.String[] { + "Entity", "Tracks", "Segments", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java index dccf86634..ee0a218ee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; /** + * + * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoSegment} */ -public final class VideoSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.VideoSegment) VideoSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoSegment() { - } + + private VideoSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private VideoSegment( 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(); - } + 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 18: { - 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; } + case 18: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private VideoSegment( } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoSegment.class, com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1.VideoSegment.class, + com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -128,19 +153,26 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -156,12 +188,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -169,19 +204,26 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -195,6 +237,7 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,7 @@ 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());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.videointelligence.v1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1.VideoSegment other = (com.google.cloud.videointelligence.v1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1.VideoSegment other =
+        (com.google.cloud.videointelligence.v1.VideoSegment) obj;
 
     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;
@@ -281,117 +320,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoSegment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1.VideoSegment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment 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;
   }
   /**
+   *
+   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1.VideoSegment} */ - 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.videointelligence.v1.VideoSegment) com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1.VideoSegment.class, com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1.VideoSegment.class, + com.google.cloud.videointelligence.v1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1.VideoSegment.newBuilder() @@ -399,16 +447,15 @@ 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(); @@ -428,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1_VideoSegment_descriptor; } @java.lang.Override @@ -449,7 +496,8 @@ public com.google.cloud.videointelligence.v1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1.VideoSegment result = new com.google.cloud.videointelligence.v1.VideoSegment(this); + com.google.cloud.videointelligence.v1.VideoSegment result = + new com.google.cloud.videointelligence.v1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -468,38 +516,39 @@ public com.google.cloud.videointelligence.v1.VideoSegment 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.videointelligence.v1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1.VideoSegment) other); } else { super.mergeFrom(other); return this; @@ -507,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1.VideoSegment.getDefaultInstance()) + return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -533,7 +583,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +596,49 @@ 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_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -596,6 +660,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -603,8 +669,7 @@ 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();
@@ -615,6 +680,8 @@ public Builder setStartTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -626,7 +693,9 @@ 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;
         }
@@ -638,6 +707,8 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -657,6 +728,8 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -665,11 +738,13 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-      
+
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -681,11 +756,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,14 +772,17 @@ 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_;
@@ -709,36 +790,49 @@ 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_;
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -760,6 +854,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -767,8 +863,7 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -779,6 +874,8 @@ public Builder setEndTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -790,7 +887,9 @@ 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;
         }
@@ -802,6 +901,8 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -821,6 +922,8 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -829,11 +932,13 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-      
+
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -845,11 +950,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -858,21 +966,24 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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>
         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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -882,12 +993,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1.VideoSegment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.VideoSegment();
   }
@@ -896,16 +1007,16 @@ public static com.google.cloud.videointelligence.v1.VideoSegment getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoSegment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoSegment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoSegment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoSegment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1031,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
index d4af0b3eb..8b957cda7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoSegmentOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
-public interface VideoSegmentOrBuilder extends
+public interface VideoSegmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -38,26 +62,34 @@ public interface VideoSegmentOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
index 4b76317aa..6652343b0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1;
 
 /**
+ *
+ *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1.WordInfo}
  */
-public final class WordInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1.WordInfo)
     WordInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,55 +72,60 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
+          case 10:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
+              word_ = s;
+              break;
             }
-            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+          case 37:
+            {
+              confidence_ = input.readFloat();
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            word_ = s;
-            break;
-          }
-          case 37: {
-
-            confidence_ = input.readFloat();
-            break;
-          }
-          case 40: {
-
-            speakerTag_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 40:
+            {
+              speakerTag_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,29 +133,33 @@ private WordInfo(
     } 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.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1.WordInfo.class, com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1.WordInfo.class,
+            com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -142,6 +168,7 @@ private WordInfo(
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -149,6 +176,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -157,6 +186,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -164,6 +194,8 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -181,6 +213,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -189,6 +223,7 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -196,6 +231,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -204,6 +241,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -211,6 +249,8 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -228,11 +268,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
+   *
+   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ @java.lang.Override @@ -241,29 +284,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** + * + * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -274,6 +317,8 @@ public java.lang.String getWord() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -284,6 +329,7 @@ public java.lang.String getWord() {
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -294,6 +340,8 @@ public float getConfidence() { public static final int SPEAKER_TAG_FIELD_NUMBER = 5; private int speakerTag_; /** + * + * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -302,6 +350,7 @@ public float getConfidence() {
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ @java.lang.Override @@ -310,6 +359,7 @@ public int getSpeakerTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +371,7 @@ 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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -348,23 +397,19 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } if (speakerTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, speakerTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, speakerTag_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -374,30 +419,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.videointelligence.v1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1.WordInfo other = (com.google.cloud.videointelligence.v1.WordInfo) obj; + com.google.cloud.videointelligence.v1.WordInfo other = + (com.google.cloud.videointelligence.v1.WordInfo) obj; 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 (!getWord() - .equals(other.getWord())) return false; + if (!getWord().equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (getSpeakerTag() - != other.getSpeakerTag()) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (getSpeakerTag() != other.getSpeakerTag()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -420,8 +461,7 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (37 * hash) + SPEAKER_TAG_FIELD_NUMBER; hash = (53 * hash) + getSpeakerTag(); hash = (29 * hash) + unknownFields.hashCode(); @@ -429,97 +469,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1.WordInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.videointelligence.v1.WordInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1.WordInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo 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; } /** + * + * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -528,21 +575,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1.WordInfo}
    */
-  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.videointelligence.v1.WordInfo)
       com.google.cloud.videointelligence.v1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1.WordInfo.class, com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1.WordInfo.class,
+              com.google.cloud.videointelligence.v1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1.WordInfo.newBuilder()
@@ -550,16 +599,15 @@ 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();
@@ -585,9 +633,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -606,7 +654,8 @@ public com.google.cloud.videointelligence.v1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1.WordInfo result = new com.google.cloud.videointelligence.v1.WordInfo(this);
+      com.google.cloud.videointelligence.v1.WordInfo result =
+          new com.google.cloud.videointelligence.v1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -628,38 +677,39 @@ public com.google.cloud.videointelligence.v1.WordInfo 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.videointelligence.v1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1.WordInfo)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1.WordInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -715,8 +765,13 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -725,12 +780,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -739,6 +797,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -749,6 +808,8 @@ public com.google.protobuf.Duration getStartTime() { } } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -772,6 +833,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -781,8 +844,7 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -793,6 +855,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -806,7 +870,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -818,6 +882,8 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -839,6 +905,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -849,11 +917,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -867,11 +937,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -882,14 +953,17 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStartTime(),
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStartTime(), getParentForChildren(), isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -897,8 +971,13 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -907,12 +986,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -921,6 +1003,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -931,6 +1014,8 @@ public com.google.protobuf.Duration getEndTime() { } } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -954,6 +1039,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -963,8 +1050,7 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -975,6 +1061,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -988,7 +1076,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1000,6 +1088,8 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1021,6 +1111,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1031,11 +1123,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1049,11 +1143,12 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1064,14 +1159,17 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1079,18 +1177,20 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
+     *
+     *
      * 
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1099,20 +1199,21 @@ public java.lang.String getWord() { } } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The bytes for word. */ - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1120,61 +1221,70 @@ public java.lang.String getWord() { } } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord( - java.lang.String value) { + public Builder setWord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes( - com.google.protobuf.ByteString value) { + public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1185,6 +1295,7 @@ public Builder setWordBytes(
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -1192,6 +1303,8 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1202,16 +1315,19 @@ public float getConfidence() {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1222,17 +1338,20 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private int speakerTag_ ; + private int speakerTag_; /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1241,6 +1360,7 @@ public Builder clearConfidence() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ @java.lang.Override @@ -1248,6 +1368,8 @@ public int getSpeakerTag() { return speakerTag_; } /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1256,16 +1378,19 @@ public int getSpeakerTag() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The speakerTag to set. * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { - + speakerTag_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1274,17 +1399,18 @@ public Builder setSpeakerTag(int value) {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSpeakerTag() { - + speakerTag_ = 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); } @@ -1294,12 +1420,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.WordInfo) private static final com.google.cloud.videointelligence.v1.WordInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1.WordInfo(); } @@ -1308,16 +1434,16 @@ public static com.google.cloud.videointelligence.v1.WordInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1458,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java rename to proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java index 574210b78..b8e379804 100644 --- a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfoOrBuilder.java @@ -1,13 +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/videointelligence/v1/video_intelligence.proto package com.google.cloud.videointelligence.v1; -public interface WordInfoOrBuilder extends +public interface WordInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1.WordInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -16,10 +34,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -28,10 +49,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -44,6 +68,8 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -52,10 +78,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -64,10 +93,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -80,26 +112,33 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ java.lang.String getWord(); /** + * + * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ - com.google.protobuf.ByteString - getWordBytes(); + com.google.protobuf.ByteString getWordBytes(); /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -110,11 +149,14 @@ public interface WordInfoOrBuilder extends
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -123,6 +165,7 @@ public interface WordInfoOrBuilder extends
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ int getSpeakerTag(); diff --git a/owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto b/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto rename to proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java index 9ffb06920..22e1ca8c2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgress.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationProgress_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationProgress_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationProgress_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationProgress_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -89,80 +110,108 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class,
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List annotationProgress_;
+  private java.util.List
+      annotationProgress_;
   /**
+   *
+   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( + int index) { return annotationProgress_.get(index); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationProgress_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1beta2.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other = + (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList() - .equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress 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.videointelligence.v1beta2.AnnotateVideoProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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; } /** + * + * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,21 +384,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoProgress}
    */
-  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.videointelligence.v1beta2.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.class,
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.newBuilder()
@@ -350,17 +408,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) {
         getAnnotationProgressFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,13 +432,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance();
     }
 
@@ -395,7 +454,8 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress result =
+          new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +474,50 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress 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) {
+        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.videointelligence.v1beta2.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress other) {
+      if (other
+          == com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress.getDefaultInstance())
+        return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -472,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVide
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationProgressFieldBuilder() : null;
+            annotationProgressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationProgressFieldBuilder()
+                    : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -499,7 +564,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +575,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationProgress_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationProgress_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
+        annotationProgress_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>(
+                annotationProgress_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress,
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder,
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>
+        annotationProgressBuilder_;
 
     /**
+     *
+     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -537,11 +617,15 @@ public java.util.List * Progress metadata for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -551,13 +635,18 @@ public int getAnnotationProgressCount() { } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( + int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -565,11 +654,15 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnn } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { @@ -586,14 +679,20 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( - int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -604,13 +703,18 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { + public Builder addAnnotationProgress( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +728,15 @@ public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1beta2. return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress value) { @@ -645,14 +753,19 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -663,14 +776,20 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -681,18 +800,23 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAllAnnotationProgress( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress> + values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -700,11 +824,15 @@ public Builder addAllAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -717,11 +845,15 @@ public Builder clearAnnotationProgress() { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -734,39 +866,53 @@ public Builder removeAnnotationProgress(int index) { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + getAnnotationProgressBuilder(int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); } else { + return annotationProgress_.get(index); + } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +920,70 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuild } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( - int index) { - return getAnnotationProgressFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder(int index) { + return getAnnotationProgressFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder> + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +992,9 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builde } return annotationProgressBuilder_; } + @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); } @@ -833,30 +1004,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1041,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..5f973fda9 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public interface AnnotateVideoProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getAnnotationProgress( + int index); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + */ + int getAnnotationProgressCount(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java index 313d687f1..3ad08abb8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequest.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -29,16 +47,15 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,81 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - features_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 26: { - com.google.cloud.videointelligence.v1beta2.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + features_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 26: + { + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); + } + videoContext_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.VideoContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - outputUri_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: { + outputUri_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - inputContent_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + case 50: + { + inputContent_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +157,7 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -141,22 +166,27 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -172,6 +202,7 @@ private AnnotateVideoRequest(
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -180,14 +211,15 @@ 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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -203,16 +235,15 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; + * * @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 { @@ -223,6 +254,8 @@ public java.lang.String getInputUri() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -230,6 +263,7 @@ public java.lang.String getInputUri() {
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -240,34 +274,50 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature> features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature> + features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>() { - public com.google.cloud.videointelligence.v1beta2.Feature convert(java.lang.Integer from) { + public com.google.cloud.videointelligence.v1beta2.Feature convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Feature result = com.google.cloud.videointelligence.v1beta2.Feature.valueOf(from); - return result == null ? com.google.cloud.videointelligence.v1beta2.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1beta2.Feature result = + com.google.cloud.videointelligence.v1beta2.Feature.valueOf(from); + return result == null + ? com.google.cloud.videointelligence.v1beta2.Feature.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>( + features_, features_converter_); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ @java.lang.Override @@ -275,11 +325,16 @@ public int getFeaturesCount() { return features_.size(); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -288,24 +343,33 @@ public com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index) return features_converter_.convert(features_.get(index)); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return features_; } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -313,16 +377,20 @@ public com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index) public int getFeaturesValue(int index) { return features_.get(index); } + private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1beta2.VideoContext videoContext_; /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -330,18 +398,25 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() { - return videoContext_ == null ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() + : videoContext_; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -349,13 +424,16 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder + getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -367,6 +445,7 @@ public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideo
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ @java.lang.Override @@ -375,14 +454,15 @@ 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; } } /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -394,16 +474,15 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -414,6 +493,8 @@ public java.lang.String getOutputUri() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -421,6 +502,7 @@ public java.lang.String getOutputUri() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ @java.lang.Override @@ -429,14 +511,15 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -444,16 +527,15 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -462,6 +544,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,8 +556,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -513,18 +595,17 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -533,8 +614,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -544,27 +624,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.videointelligence.v1beta2.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext() - .equals(other.getVideoContext())) return false; + if (!getVideoContext().equals(other.getVideoContext())) return false; } - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOutputUri().equals(other.getOutputUri())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -598,117 +674,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest 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.videointelligence.v1beta2.AnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest 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; } /** + * + * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoRequest} */ - 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.videointelligence.v1beta2.AnnotateVideoRequest) com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.newBuilder() @@ -716,16 +802,15 @@ 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(); @@ -749,13 +834,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance(); } @@ -770,7 +856,8 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest result = + new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -794,46 +881,50 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest buildPart 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.videointelligence.v1beta2.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest other) { + if (other + == com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -881,7 +972,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -890,10 +983,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -909,13 +1005,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; + * * @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; @@ -924,6 +1020,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -939,15 +1037,14 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 { @@ -955,6 +1052,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -970,20 +1069,22 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -999,15 +1100,18 @@ public Builder setInputUri(
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1023,16 +1127,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; + * * @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; @@ -1040,6 +1144,8 @@ public Builder setInputUriBytes( private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1047,6 +1153,7 @@ public Builder setInputUriBytes(
      * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -1054,6 +1161,8 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1061,19 +1170,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1081,17 +1193,18 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; + * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = - java.util.Collections.emptyList(); + private java.util.List features_ = java.util.Collections.emptyList(); + private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1099,34 +1212,50 @@ private void ensureFeaturesIsMutable() { } } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1beta2.Feature>( + features_, features_converter_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -1134,11 +1263,16 @@ public com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index) return features_converter_.convert(features_.get(index)); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1154,11 +1288,16 @@ public Builder setFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The features to add. * @return This builder for chaining. */ @@ -1172,11 +1311,16 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1beta2.Feature va return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The features to add. * @return This builder for chaining. */ @@ -1190,11 +1334,16 @@ public Builder addAllFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1204,23 +1353,32 @@ public Builder clearFeatures() { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1228,28 +1386,37 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue( - int index, int value) { + public Builder setFeaturesValue(int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1260,16 +1427,20 @@ public Builder addFeaturesValue(int value) { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue( - java.lang.Iterable values) { + public Builder addAllFeaturesValue(java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1280,34 +1451,47 @@ public Builder addAllFeaturesValue( private com.google.cloud.videointelligence.v1beta2.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> videoContextBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoContext, + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, + com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> + videoContextBuilder_; /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return The videoContext. */ public com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() + : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1328,6 +1512,8 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1beta2.VideoC return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1346,17 +1532,22 @@ public Builder setVideoContext( return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public Builder mergeVideoContext(com.google.cloud.videointelligence.v1beta2.VideoContext value) { + public Builder mergeVideoContext( + com.google.cloud.videointelligence.v1beta2.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder(videoContext_) + .mergeFrom(value) + .buildPartial(); } else { videoContext_ = value; } @@ -1368,6 +1559,8 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1beta2.Vide return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1386,33 +1579,42 @@ public Builder clearVideoContext() { return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1beta2.VideoContext.Builder getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1beta2.VideoContext.Builder + getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder + getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null ? - com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance() + : videoContext_; } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1420,14 +1622,17 @@ public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideo * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoContext, + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, + com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoContext, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder>( - getVideoContext(), - getParentForChildren(), - isClean()); + videoContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoContext, + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder, + com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder>( + getVideoContext(), getParentForChildren(), isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1435,6 +1640,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideo private java.lang.Object outputUri_ = ""; /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1446,13 +1653,13 @@ public com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideo
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1461,6 +1668,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1472,15 +1681,14 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1488,6 +1696,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1499,20 +1709,22 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1524,15 +1736,18 @@ public Builder setOutputUri(
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1544,16 +1759,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1561,6 +1776,8 @@ public Builder setOutputUriBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1568,13 +1785,13 @@ public Builder setOutputUriBytes(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1583,6 +1800,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1590,15 +1809,14 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1606,6 +1824,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1613,20 +1833,22 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1634,15 +1856,18 @@ public Builder setLocationId(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1650,23 +1875,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1676,30 +1901,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1711,9 +1938,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java index dd7ad4e47..2f216e972 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface AnnotateVideoRequestOrBuilder extends +public interface AnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -23,10 +41,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -42,12 +63,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -55,78 +78,111 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ java.util.List getFeaturesList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ int getFeaturesCount(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1beta2.Feature getFeatures(int index); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - java.util.List - getFeaturesValueList(); + java.util.List getFeaturesValueList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoContext video_context = 3; + * * @return The videoContext. */ com.google.cloud.videointelligence.v1beta2.VideoContext getVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -136,6 +192,8 @@ public interface AnnotateVideoRequestOrBuilder extends com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder getVideoContextOrBuilder(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -147,10 +205,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ java.lang.String getOutputUri(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -162,12 +223,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString - getOutputUriBytes(); + com.google.protobuf.ByteString getOutputUriBytes(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -175,10 +238,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -186,8 +252,8 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java index 7c2ec6f15..1b0a5b115 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationResults_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationResults_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -89,80 +110,108 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List annotationResults_;
+  private java.util.List
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults( + int index) { return annotationResults_.get(index); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1beta2.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList() - .equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse 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.videointelligence.v1beta2.AnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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; } /** + * + * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,21 +384,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.AnnotateVideoResponse}
    */
-  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.videointelligence.v1beta2.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.newBuilder()
@@ -350,17 +408,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) {
         getAnnotationResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,13 +432,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance();
     }
 
@@ -395,7 +454,8 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +474,50 @@ public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse 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) {
+        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.videointelligence.v1beta2.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse other) {
+      if (other
+          == com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.getDefaultInstance())
+        return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -472,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.AnnotateVide
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationResultsFieldBuilder() : null;
+            annotationResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationResultsFieldBuilder()
+                    : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -499,7 +564,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +575,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationResults_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ = new java.util.ArrayList(annotationResults_);
+        annotationResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults>(
+                annotationResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults,
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -537,11 +617,15 @@ public java.util.List * Annotation results for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -551,13 +635,18 @@ public int getAnnotationResultsCount() { } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults( + int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -565,11 +654,15 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnno } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { @@ -586,14 +679,19 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( - int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -604,13 +702,18 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public Builder addAnnotationResults(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { + public Builder addAnnotationResults( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +727,15 @@ public Builder addAnnotationResults(com.google.cloud.videointelligence.v1beta2.V return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults value) { @@ -645,11 +752,15 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { @@ -663,14 +774,19 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - int index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -681,18 +797,23 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAllAnnotationResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults> + values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -700,11 +821,15 @@ public Builder addAllAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -717,11 +842,15 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -734,39 +863,53 @@ public Builder removeAnnotationResults(int index) { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder getAnnotationResultsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder + getAnnotationResultsBuilder(int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); } else { + return annotationResults_.get(index); + } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +917,69 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilde } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder + addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder addAnnotationResultsBuilder( - int index) { - return getAnnotationResultsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder + addAnnotationResultsBuilder(int index) { + return getAnnotationResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +988,9 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder } return annotationResultsBuilder_; } + @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); } @@ -833,30 +1000,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1037,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..83b7392ab --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,90 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public interface AnnotateVideoResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getAnnotationResults(int index); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + */ + int getAnnotationResultsCount(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java index 4b83239dd..107594a2f 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Entity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entityId_ = ""; description_ = ""; @@ -27,16 +45,15 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Entity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Entity( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.Entity.class, com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); + com.google.cloud.videointelligence.v1beta2.Entity.class, + com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -117,6 +141,7 @@ private Entity(
    * 
* * string entity_id = 1; + * * @return The entityId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -140,16 +166,15 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getEntityId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDescription() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ 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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -298,19 +329,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.videointelligence.v1beta2.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.Entity other = (com.google.cloud.videointelligence.v1beta2.Entity) obj; + com.google.cloud.videointelligence.v1beta2.Entity other = + (com.google.cloud.videointelligence.v1beta2.Entity) obj; - if (!getEntityId() - .equals(other.getEntityId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getEntityId().equals(other.getEntityId())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity 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; } /** + * + * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.Entity} */ - 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.videointelligence.v1beta2.Entity) com.google.cloud.videointelligence.v1beta2.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.Entity.class, com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); + com.google.cloud.videointelligence.v1beta2.Entity.class, + com.google.cloud.videointelligence.v1beta2.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.Entity.newBuilder() @@ -452,16 +490,15 @@ 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(); @@ -475,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; } @java.lang.Override @@ -496,7 +533,8 @@ public com.google.cloud.videointelligence.v1beta2.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Entity buildPartial() { - com.google.cloud.videointelligence.v1beta2.Entity result = new com.google.cloud.videointelligence.v1beta2.Entity(this); + com.google.cloud.videointelligence.v1beta2.Entity result = + new com.google.cloud.videointelligence.v1beta2.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -508,38 +546,39 @@ public com.google.cloud.videointelligence.v1beta2.Entity 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.videointelligence.v1beta2.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.Entity)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.Entity) other); } else { super.mergeFrom(other); return this; @@ -547,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.Entity other) { - if (other == com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance()) + return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -579,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.Entity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,6 +632,8 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -598,13 +641,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; + * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -613,6 +656,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -620,15 +665,14 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -636,6 +680,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -643,20 +689,22 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId( - java.lang.String value) { + public Builder setEntityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -664,15 +712,18 @@ public Builder setEntityId(
      * 
* * string entity_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -680,16 +731,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; + * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -697,18 +748,20 @@ public Builder setEntityIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -717,20 +770,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -738,54 +792,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -793,18 +854,20 @@ public Builder setDescriptionBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -813,20 +876,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -834,61 +898,68 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -898,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.Entity) private static final com.google.cloud.videointelligence.v1beta2.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.Entity(); } @@ -912,16 +983,16 @@ public static com.google.cloud.videointelligence.v1beta2.Entity getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java index 1acb497fa..84eb9eb52 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/EntityOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -15,10 +33,13 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The entityId. */ java.lang.String getEntityId(); /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -26,48 +47,58 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - com.google.protobuf.ByteString - getEntityIdBytes(); + com.google.protobuf.ByteString getEntityIdBytes(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java index 807a0252e..5af05332f 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              frames_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                frames_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              frames_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.parser(),
+                      extensionRegistry));
+              break;
             }
-            frames_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -89,22 +110,27 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class,
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
+   *
+   *
    * 
    * All video frames where explicit content was detected.
    * 
@@ -112,10 +138,13 @@ private ExplicitContentAnnotation( * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -123,11 +152,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -139,6 +171,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -150,6 +184,8 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames return frames_.get(index); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -157,12 +193,13 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +211,7 @@ 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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -189,8 +225,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +235,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.videointelligence.v1beta2.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other = + (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) obj; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +265,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation + 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation 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.videointelligence.v1beta2.ExplicitContentAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation 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; } /** + * + * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -328,39 +372,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1beta2.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.class,
+              com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +421,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +444,8 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buil
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation result =
+          new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +464,51 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation buil
     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.videointelligence.v1beta2.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation other) {
+      if (other
+          == com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation
+              .getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -472,9 +527,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitCont
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFramesFieldBuilder() : null;
+            framesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFramesFieldBuilder()
+                    : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -499,7 +555,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +566,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List frames_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        frames_ = java.util.Collections.emptyList();
+
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ = new java.util.ArrayList(frames_);
+        frames_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame>(frames_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> framesBuilder_;
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame,
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder,
+            com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>
+        framesBuilder_;
 
     /**
+     *
+     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -537,11 +606,14 @@ public java.util.List * All video frames where explicit content was detected. *
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -551,11 +623,14 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -565,11 +640,14 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { @@ -586,14 +664,18 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -604,13 +686,17 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +710,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1beta2.ExplicitCont return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame value) { @@ -645,11 +734,14 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { @@ -663,14 +755,18 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -681,18 +777,22 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -700,11 +800,14 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -717,11 +820,14 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -734,39 +840,50 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder getFramesBuilder( int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -774,56 +891,72 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -833,30 +966,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1003,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java index 884737c85..c26d9fa9d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentAnnotationOrBuilder extends +public interface ExplicitContentAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -25,6 +44,8 @@ public interface ExplicitContentAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getFrames(int index); /** + * + * *
    * All video frames where explicit content was detected.
    * 
@@ -33,15 +54,19 @@ public interface ExplicitContentAnnotationOrBuilder extends */ int getFramesCount(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.ExplicitContentFrame frames = 1; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java index 44967ef44..b9a549be9 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfig.java @@ -1,40 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,34 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder + .class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +127,7 @@ private ExplicitContentDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +136,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +152,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +181,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +205,16 @@ 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.videointelligence.v1beta2.ExplicitContentDetectionConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +234,146 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig + 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1beta2.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.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(); @@ -345,19 +383,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +406,10 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +419,52 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig 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.videointelligence.v1beta2.ExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -435,11 +484,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +503,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +512,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +527,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +536,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +551,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +560,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +583,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +602,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +628,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +666,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java index 4aebf1eb9..f5e2897b3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentDetectionConfigOrBuilder extends +public interface ExplicitContentDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java index 03c30bcfe..12b5b8ee6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) ExplicitContentFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - pornographyLikelihood_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pornographyLikelihood_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private ExplicitContentFrame( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -122,12 +147,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -135,6 +163,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -150,31 +180,43 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ - @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { + @java.lang.Override + public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Likelihood result = com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1beta2.Likelihood result = + com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,12 +228,13 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -204,12 +247,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1beta2.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,17 +262,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.videointelligence.v1beta2.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other = + (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -255,117 +298,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame 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.videointelligence.v1beta2.ExplicitContentFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame 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; } /** + * + * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ExplicitContentFrame} */ - 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.videointelligence.v1beta2.ExplicitContentFrame) com.google.cloud.videointelligence.v1beta2.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.newBuilder() @@ -373,16 +426,15 @@ 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(); @@ -398,13 +450,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance(); } @@ -419,7 +472,8 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame result = + new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -434,46 +488,50 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame buildPart 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.videointelligence.v1beta2.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame other) { + if (other + == com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -499,7 +557,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -511,36 +571,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -562,6 +635,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -569,8 +644,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -581,6 +655,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -592,7 +668,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -604,6 +680,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -623,6 +701,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -631,11 +711,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -647,11 +729,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,14 +745,17 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -675,80 +763,100 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.Likelihood result = com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1beta2.Likelihood result = + com.google.cloud.videointelligence.v1beta2.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1beta2.Likelihood.UNRECOGNIZED + : result; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1beta2.Likelihood value) { + public Builder setPornographyLikelihood( + com.google.cloud.videointelligence.v1beta2.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -758,30 +866,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,9 +903,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java index d26590b5b..debf3b27d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ExplicitContentFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ExplicitContentFrameOrBuilder extends +public interface ExplicitContentFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,20 +62,26 @@ public interface ExplicitContentFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1beta2.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1beta2.Likelihood getPornographyLikelihood(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java similarity index 76% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java index 3d3141c08..4f92e20be 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Face annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceAnnotation} */ -public final class FaceAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceAnnotation) FaceAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceAnnotation.newBuilder() to construct. private FaceAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceAnnotation() { thumbnail_ = com.google.protobuf.ByteString.EMPTY; segments_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private FaceAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,36 +73,45 @@ private FaceAnnotation( case 0: done = true; break; - case 10: { - - thumbnail_ = input.readBytes(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + thumbnail_ = input.readBytes(); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceSegment.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.FaceSegment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.FaceSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + frames_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.FaceFrame.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,8 +119,7 @@ private FaceAnnotation( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -106,27 +131,33 @@ private FaceAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); } public static final int THUMBNAIL_FIELD_NUMBER = 1; private com.google.protobuf.ByteString thumbnail_; /** + * + * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ @java.lang.Override @@ -137,6 +168,8 @@ public com.google.protobuf.ByteString getThumbnail() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -148,6 +181,8 @@ public java.util.List ge return segments_; } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -155,11 +190,13 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -171,6 +208,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -182,6 +221,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int in return segments_.get(index); } /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -197,6 +238,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -208,6 +251,8 @@ public java.util.List getF return frames_; } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -215,11 +260,13 @@ public java.util.List getF * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -231,6 +278,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -242,6 +291,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index) return frames_.get(index); } /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -255,6 +306,7 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +318,7 @@ 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 (!thumbnail_.isEmpty()) { output.writeBytes(1, thumbnail_); } @@ -287,16 +338,13 @@ public int getSerializedSize() { size = 0; if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, thumbnail_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, thumbnail_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -306,19 +354,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.videointelligence.v1beta2.FaceAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceAnnotation other = (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.FaceAnnotation other = + (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) obj; - if (!getThumbnail() - .equals(other.getThumbnail())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getThumbnail().equals(other.getThumbnail())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,117 +392,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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; } /** + * + * *
    * Face annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceAnnotation} */ - 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.videointelligence.v1beta2.FaceAnnotation) com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.class, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceAnnotation.newBuilder() @@ -464,18 +520,18 @@ 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) { getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; } @java.lang.Override @@ -518,7 +574,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceAnnotation buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceAnnotation result = new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(this); + com.google.cloud.videointelligence.v1beta2.FaceAnnotation result = + new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(this); int from_bitField0_ = bitField0_; result.thumbnail_ = thumbnail_; if (segmentsBuilder_ == null) { @@ -547,38 +604,39 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation 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.videointelligence.v1beta2.FaceAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceAnnotation) other); } else { super.mergeFrom(other); return this; @@ -586,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotation other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()) + return this; if (other.getThumbnail() != com.google.protobuf.ByteString.EMPTY) { setThumbnail(other.getThumbnail()); } @@ -608,9 +667,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotati segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -634,9 +694,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceAnnotati framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000002); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -661,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.FaceAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,15 +732,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ @java.lang.Override @@ -686,58 +752,73 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** + * + * *
      * Thumbnail of a representative face view (in JPEG format).
      * 
* * bytes thumbnail = 1; + * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceSegment, + com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, + com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -745,6 +826,8 @@ public java.util.List ge } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -759,6 +842,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -773,6 +858,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int in } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -794,6 +881,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -812,6 +901,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -832,6 +923,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.FaceSegmen return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -853,6 +946,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -871,6 +966,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -889,6 +986,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -896,11 +995,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -908,6 +1007,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -925,6 +1026,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -942,6 +1045,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -953,6 +1058,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder getSegment return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -962,19 +1069,22 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder getSegment public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -982,6 +1092,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen } } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -989,10 +1101,12 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmen * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a face was detected.
      * 
@@ -1001,48 +1115,61 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegment */ public com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceSegment, + com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, + com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceSegment, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceSegment, + com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder, + com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList(frames_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceFrame, + com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, + com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1057,6 +1184,8 @@ public java.util.List getF } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1071,6 +1200,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1085,6 +1216,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index) } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1106,6 +1239,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1124,6 +1259,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1144,6 +1281,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1beta2.FaceFrame va return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1165,6 +1304,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1183,6 +1324,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1201,6 +1344,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1211,8 +1356,7 @@ public Builder addAllFrames( java.lang.Iterable values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1220,6 +1364,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1237,6 +1383,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1254,6 +1402,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1265,6 +1415,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder getFramesBui return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1274,19 +1426,22 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder getFramesBui public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1294,6 +1449,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr } } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1301,10 +1458,12 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOr * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a face was detected.
      * 
@@ -1313,37 +1472,43 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBui */ public com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a face was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceFrame, + com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, + com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceFrame, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceFrame, + com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder, + com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1353,12 +1518,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceAnnotation) private static final com.google.cloud.videointelligence.v1beta2.FaceAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceAnnotation(); } @@ -1367,16 +1532,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceAnnotation getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1391,6 +1556,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java index a1b253be6..272e8ebe0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceAnnotationOrBuilder.java @@ -1,32 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceAnnotationOrBuilder extends +public interface FaceAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Thumbnail of a representative face view (in JPEG format).
    * 
* * bytes thumbnail = 1; + * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -35,6 +57,8 @@ public interface FaceAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1beta2.FaceSegment getSegments(int index); /** + * + * *
    * All video segments where a face was detected.
    * 
@@ -43,34 +67,40 @@ public interface FaceAnnotationOrBuilder extends */ int getSegmentsCount(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2; */ - com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBuilder(int index); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -79,6 +109,8 @@ com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBui */ com.google.cloud.videointelligence.v1beta2.FaceFrame getFrames(int index); /** + * + * *
    * All video frames where a face was detected.
    * 
@@ -87,21 +119,24 @@ com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder getSegmentsOrBui */ int getFramesCount(); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a face was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3; */ - com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java index dcd668d09..b96926086 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) FaceDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - model_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - includeBoundingBoxes_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + case 16: + { + includeBoundingBoxes_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,29 +96,33 @@ private FaceDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -108,6 +130,7 @@ private FaceDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -116,14 +139,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -131,16 +155,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -151,11 +174,14 @@ public java.lang.String getModel() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** + * + * *
    * Whether bounding boxes be included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -164,6 +190,7 @@ public boolean getIncludeBoundingBoxes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +202,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -196,8 +222,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -207,17 +232,16 @@ 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.videointelligence.v1beta2.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other = + (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() - != other.getIncludeBoundingBoxes()) return false; + if (!getModel().equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,125 +256,134 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig 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.videointelligence.v1beta2.FaceDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceDetectionConfig} */ - 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.videointelligence.v1beta2.FaceDetectionConfig) com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder() @@ -358,16 +391,15 @@ 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(); @@ -379,13 +411,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance(); } @@ -400,7 +433,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig result = + new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; onBuilt(); @@ -411,38 +445,39 @@ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig 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) { + 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.videointelligence.v1beta2.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) other); } else { super.mergeFrom(other); return this; @@ -450,7 +485,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -477,7 +514,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,6 +528,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -496,13 +537,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -511,6 +552,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -518,15 +561,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -534,6 +576,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -541,20 +585,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -562,15 +608,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -578,28 +627,31 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_ ; + private boolean includeBoundingBoxes_; /** + * + * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -607,37 +659,43 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** + * + * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** + * + * *
      * Whether bounding boxes be included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = 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); } @@ -647,30 +705,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,9 +742,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java index a2ac0d62c..d760ef12a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceDetectionConfigOrBuilder extends +public interface FaceDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,17 +47,20 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); /** + * + * *
    * Whether bounding boxes be included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java index 40d3a7609..b28218052 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video frame level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceFrame} */ -public final class FaceFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceFrame) FaceFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceFrame.newBuilder() to construct. private FaceFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceFrame() { normalizedBoundingBoxes_ = 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 FaceFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,42 @@ private FaceFrame( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - normalizedBoundingBoxes_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); - } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + normalizedBoundingBoxes_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox>(); + mutable_bitField0_ |= 0x00000001; + } + normalizedBoundingBoxes_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.parser(), + extensionRegistry)); + break; } + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,8 +114,7 @@ private FaceFrame( } 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)) { normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); @@ -100,98 +123,128 @@ private FaceFrame( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceFrame.class, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceFrame.class, + com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); } public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER = 1; - private java.util.List normalizedBoundingBoxes_; + private java.util.List + normalizedBoundingBoxes_; /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public java.util.List getNormalizedBoundingBoxesList() { + public java.util.List + getNormalizedBoundingBoxesList() { return normalizedBoundingBoxes_; } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList() { return normalizedBoundingBoxes_; } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override public int getNormalizedBoundingBoxesCount() { return normalizedBoundingBoxes_.size(); } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + getNormalizedBoundingBoxes(int index) { return normalizedBoundingBoxes_.get(index); } /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index) { return normalizedBoundingBoxes_.get(index); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -199,12 +252,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -212,6 +268,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
@@ -225,6 +283,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -236,8 +295,7 @@ 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 < normalizedBoundingBoxes_.size(); i++) {
       output.writeMessage(1, normalizedBoundingBoxes_.get(i));
     }
@@ -254,12 +312,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < normalizedBoundingBoxes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, normalizedBoundingBoxes_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, normalizedBoundingBoxes_.get(i));
     }
     if (timeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -269,19 +327,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.videointelligence.v1beta2.FaceFrame)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.FaceFrame other = (com.google.cloud.videointelligence.v1beta2.FaceFrame) obj;
+    com.google.cloud.videointelligence.v1beta2.FaceFrame other =
+        (com.google.cloud.videointelligence.v1beta2.FaceFrame) obj;
 
-    if (!getNormalizedBoundingBoxesList()
-        .equals(other.getNormalizedBoundingBoxesList())) return false;
+    if (!getNormalizedBoundingBoxesList().equals(other.getNormalizedBoundingBoxesList()))
+      return false;
     if (hasTimeOffset() != other.hasTimeOffset()) return false;
     if (hasTimeOffset()) {
-      if (!getTimeOffset()
-          .equals(other.getTimeOffset())) return false;
+      if (!getTimeOffset().equals(other.getTimeOffset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -308,117 +366,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.FaceFrame parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.FaceFrame parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame 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;
   }
   /**
+   *
+   *
    * 
    * Video frame level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceFrame} */ - 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.videointelligence.v1beta2.FaceFrame) com.google.cloud.videointelligence.v1beta2.FaceFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceFrame.class, com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceFrame.class, + com.google.cloud.videointelligence.v1beta2.FaceFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceFrame.newBuilder() @@ -426,17 +493,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) { getNormalizedBoundingBoxesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; } @java.lang.Override @@ -477,11 +544,13 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceFrame result = new com.google.cloud.videointelligence.v1beta2.FaceFrame(this); + com.google.cloud.videointelligence.v1beta2.FaceFrame result = + new com.google.cloud.videointelligence.v1beta2.FaceFrame(this); int from_bitField0_ = bitField0_; if (normalizedBoundingBoxesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = + java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); bitField0_ = (bitField0_ & ~0x00000001); } result.normalizedBoundingBoxes_ = normalizedBoundingBoxes_; @@ -501,38 +570,39 @@ public com.google.cloud.videointelligence.v1beta2.FaceFrame 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.videointelligence.v1beta2.FaceFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceFrame) other); } else { super.mergeFrom(other); return this; @@ -540,7 +610,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceFrame other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceFrame.getDefaultInstance()) + return this; if (normalizedBoundingBoxesBuilder_ == null) { if (!other.normalizedBoundingBoxes_.isEmpty()) { if (normalizedBoundingBoxes_.isEmpty()) { @@ -559,9 +630,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceFrame ot normalizedBoundingBoxesBuilder_ = null; normalizedBoundingBoxes_ = other.normalizedBoundingBoxes_; bitField0_ = (bitField0_ & ~0x00000001); - normalizedBoundingBoxesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNormalizedBoundingBoxesFieldBuilder() : null; + normalizedBoundingBoxesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNormalizedBoundingBoxesFieldBuilder() + : null; } else { normalizedBoundingBoxesBuilder_.addAllMessages(other.normalizedBoundingBoxes_); } @@ -589,7 +661,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.FaceFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,30 +671,43 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List normalizedBoundingBoxes_ = - java.util.Collections.emptyList(); + private java.util.List + normalizedBoundingBoxes_ = java.util.Collections.emptyList(); + private void ensureNormalizedBoundingBoxesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - normalizedBoundingBoxes_ = new java.util.ArrayList(normalizedBoundingBoxes_); + normalizedBoundingBoxes_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox>( + normalizedBoundingBoxes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxesBuilder_; + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + normalizedBoundingBoxesBuilder_; /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List getNormalizedBoundingBoxesList() { + public java.util.List + getNormalizedBoundingBoxesList() { if (normalizedBoundingBoxesBuilder_ == null) { return java.util.Collections.unmodifiableList(normalizedBoundingBoxes_); } else { @@ -629,13 +715,17 @@ public java.util.List * Normalized Bounding boxes in a frame. * There can be more than one boxes if the same face is detected in multiple * locations within the current frame. *
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public int getNormalizedBoundingBoxesCount() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -645,15 +735,20 @@ public int getNormalizedBoundingBoxesCount() { } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + getNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { return normalizedBoundingBoxes_.get(index); } else { @@ -661,13 +756,17 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNorma } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder setNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { @@ -684,16 +783,21 @@ public Builder setNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder setNormalizedBoundingBoxes( - int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.set(index, builderForValue.build()); @@ -704,15 +808,20 @@ public Builder setNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { + public Builder addNormalizedBoundingBoxes( + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { if (normalizedBoundingBoxesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -726,13 +835,17 @@ public Builder addNormalizedBoundingBoxes(com.google.cloud.videointelligence.v1b return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox value) { @@ -749,13 +862,17 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { @@ -769,16 +886,21 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addNormalizedBoundingBoxes( - int index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder builderForValue) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); normalizedBoundingBoxes_.add(index, builderForValue.build()); @@ -789,20 +911,25 @@ public Builder addNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder addAllNormalizedBoundingBoxes( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox> + values) { if (normalizedBoundingBoxesBuilder_ == null) { ensureNormalizedBoundingBoxesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, normalizedBoundingBoxes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, normalizedBoundingBoxes_); onChanged(); } else { normalizedBoundingBoxesBuilder_.addAllMessages(values); @@ -810,13 +937,17 @@ public Builder addAllNormalizedBoundingBoxes( return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder clearNormalizedBoundingBoxes() { if (normalizedBoundingBoxesBuilder_ == null) { @@ -829,13 +960,17 @@ public Builder clearNormalizedBoundingBoxes() { return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ public Builder removeNormalizedBoundingBoxes(int index) { if (normalizedBoundingBoxesBuilder_ == null) { @@ -848,45 +983,59 @@ public Builder removeNormalizedBoundingBoxes(int index) { return this; } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxesBuilder(int index) { return getNormalizedBoundingBoxesFieldBuilder().getBuilder(index); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index) { if (normalizedBoundingBoxesBuilder_ == null) { - return normalizedBoundingBoxes_.get(index); } else { + return normalizedBoundingBoxes_.get(index); + } else { return normalizedBoundingBoxesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List - getNormalizedBoundingBoxesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + getNormalizedBoundingBoxesOrBuilderList() { if (normalizedBoundingBoxesBuilder_ != null) { return normalizedBoundingBoxesBuilder_.getMessageOrBuilderList(); } else { @@ -894,51 +1043,75 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder } } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder() { - return getNormalizedBoundingBoxesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder + addNormalizedBoundingBoxesBuilder() { + return getNormalizedBoundingBoxesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + .getDefaultInstance()); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder( - int index) { - return getNormalizedBoundingBoxesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder + addNormalizedBoundingBoxesBuilder(int index) { + return getNormalizedBoundingBoxesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + .getDefaultInstance()); } /** + * + * *
      * Normalized Bounding boxes in a frame.
      * There can be more than one boxes if the same face is detected in multiple
      * locations within the current frame.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - public java.util.List - getNormalizedBoundingBoxesBuilderList() { + public java.util.List + getNormalizedBoundingBoxesBuilderList() { return getNormalizedBoundingBoxesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesFieldBuilder() { if (normalizedBoundingBoxesBuilder_ == null) { - normalizedBoundingBoxesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder>( + normalizedBoundingBoxesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder>( normalizedBoundingBoxes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -950,36 +1123,49 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1001,6 +1187,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1008,8 +1196,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1020,6 +1207,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1031,7 +1220,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1043,6 +1232,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1062,6 +1253,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1070,11 +1263,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1086,11 +1281,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this location.
@@ -1099,21 +1297,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
+
     @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);
     }
 
@@ -1123,12 +1324,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceFrame)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceFrame)
   private static final com.google.cloud.videointelligence.v1beta2.FaceFrame DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceFrame();
   }
@@ -1137,16 +1338,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceFrame getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FaceFrame parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new FaceFrame(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FaceFrame parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new FaceFrame(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1161,6 +1362,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1beta2.FaceFrame getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
similarity index 61%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
index 3079e5406..e22effc76 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceFrameOrBuilder.java
@@ -1,87 +1,133 @@
+/*
+ * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface FaceFrameOrBuilder extends
+public interface FaceFrameOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceFrame)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - java.util.List + java.util.List getNormalizedBoundingBoxesList(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes(int index); + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getNormalizedBoundingBoxes( + int index); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ int getNormalizedBoundingBoxesCount(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList(); /** + * + * *
    * Normalized Bounding boxes in a frame.
    * There can be more than one boxes if the same face is detected in multiple
    * locations within the current frame.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * + * repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1; + * */ - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxesOrBuilder(int index); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this location.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
similarity index 69%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
index a0e6657a2..c6eebc16a 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
+++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java
@@ -1,39 +1,55 @@
+/*
+ * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
 /**
+ *
+ *
  * 
  * Video segment level annotation results for face detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceSegment} */ -public final class FaceSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.FaceSegment) FaceSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceSegment.newBuilder() to construct. private FaceSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FaceSegment() { - } + + private FaceSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,30 @@ private FaceSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +99,39 @@ private FaceSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceSegment.class, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceSegment.class, + com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -114,18 +139,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a face was detected.
    * 
@@ -138,6 +170,7 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +182,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -164,8 +196,7 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +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.videointelligence.v1beta2.FaceSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.FaceSegment other = (com.google.cloud.videointelligence.v1beta2.FaceSegment) obj; + com.google.cloud.videointelligence.v1beta2.FaceSegment other = + (com.google.cloud.videointelligence.v1beta2.FaceSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +239,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.FaceSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.FaceSegment 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; } /** + * + * *
    * Video segment level annotation results for face detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.FaceSegment} */ - 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.videointelligence.v1beta2.FaceSegment) com.google.cloud.videointelligence.v1beta2.FaceSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.FaceSegment.class, com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.FaceSegment.class, + com.google.cloud.videointelligence.v1beta2.FaceSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.FaceSegment.newBuilder() @@ -326,16 +367,15 @@ 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(); @@ -349,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; } @java.lang.Override @@ -370,7 +410,8 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.FaceSegment result = new com.google.cloud.videointelligence.v1beta2.FaceSegment(this); + com.google.cloud.videointelligence.v1beta2.FaceSegment result = + new com.google.cloud.videointelligence.v1beta2.FaceSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -384,38 +425,39 @@ public com.google.cloud.videointelligence.v1beta2.FaceSegment 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.videointelligence.v1beta2.FaceSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.FaceSegment) other); } else { super.mergeFrom(other); return this; @@ -423,7 +465,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.FaceSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.FaceSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -446,7 +489,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.FaceSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.FaceSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,34 +502,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a face was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -506,6 +563,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1beta2.VideoSegmen return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -524,6 +583,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -534,7 +595,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -546,6 +609,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -564,6 +629,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -571,11 +638,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -586,11 +655,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a face was detected.
      * 
@@ -598,21 +670,24 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } + @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); } @@ -622,12 +697,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.FaceSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.FaceSegment) private static final com.google.cloud.videointelligence.v1beta2.FaceSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.FaceSegment(); } @@ -636,16 +711,16 @@ public static com.google.cloud.videointelligence.v1beta2.FaceSegment getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,6 +735,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.FaceSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java index 21e4c4670..9647a5947 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface FaceSegmentOrBuilder extends +public interface FaceSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.FaceSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a face was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment(); /** + * + * *
    * Video segment where a face was detected.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java index 7dcd5e9ba..a2af6455e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Feature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.Feature} */ -public enum Feature - implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Feature */ FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum Feature */ LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum Feature */ SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum Feature */ EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * Human face detection and tracking.
    * 
@@ -56,6 +82,8 @@ public enum Feature ; /** + * + * *
    * Unspecified.
    * 
@@ -64,6 +92,8 @@ public enum Feature */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -72,6 +102,8 @@ public enum Feature */ public static final int LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -80,6 +112,8 @@ public enum Feature */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -88,6 +122,8 @@ public enum Feature */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * Human face detection and tracking.
    * 
@@ -96,7 +132,6 @@ public enum Feature */ public static final int FACE_DETECTION_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,51 +156,55 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: return FEATURE_UNSPECIFIED; - case 1: return LABEL_DETECTION; - case 2: return SHOT_CHANGE_DETECTION; - case 3: return EXPLICIT_CONTENT_DETECTION; - case 4: return FACE_DETECTION; - default: return null; + case 0: + return FEATURE_UNSPECIFIED; + case 1: + return LABEL_DETECTION; + case 2: + return SHOT_CHANGE_DETECTION; + case 3: + return EXPLICIT_CONTENT_DETECTION; + case 4: + return FACE_DETECTION; + 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< - Feature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -181,4 +220,3 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.Feature) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java similarity index 78% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java index ad65f117b..74ab7bab2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelAnnotation} */ -public final class LabelAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelAnnotation) LabelAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,53 +73,71 @@ private LabelAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1beta2.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1beta2.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - categoryEntities_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.Entity.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.Entity.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelSegment.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.LabelSegment>(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.LabelFrame>(); + mutable_bitField0_ |= 0x00000004; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelFrame.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +145,7 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -126,27 +160,33 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.Entity entity_; /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -154,18 +194,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Detected entity.
    * 
@@ -180,6 +227,8 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -190,10 +239,13 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List getCategoryEntitiesList() {
+  public java.util.List
+      getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -204,11 +256,13 @@ public java.util.List getCate
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -223,6 +277,8 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -237,6 +293,8 @@ public com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int
     return categoryEntities_.get(index);
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -255,6 +313,8 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
@@ -266,6 +326,8 @@ public java.util.List g return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -273,11 +335,13 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -289,6 +353,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -300,6 +366,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int i return segments_.get(index); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -315,6 +383,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -326,6 +396,8 @@ public java.util.List get return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -333,11 +405,13 @@ public java.util.List get * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -349,6 +423,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -360,6 +436,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index return frames_.get(index); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -373,6 +451,7 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,8 +463,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -408,20 +486,16 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,24 +505,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.videointelligence.v1beta2.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelAnnotation other = (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation other = + (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList() - .equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getEntity().equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,117 +553,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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; } /** + * + * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelAnnotation} */ - 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.videointelligence.v1beta2.LabelAnnotation) com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.class, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelAnnotation.newBuilder() @@ -600,19 +681,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,9 +725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; } @java.lang.Override @@ -665,7 +746,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelAnnotation result = new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(this); + com.google.cloud.videointelligence.v1beta2.LabelAnnotation result = + new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -707,38 +789,39 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation 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.videointelligence.v1beta2.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelAnnotation) other); } else { super.mergeFrom(other); return this; @@ -746,7 +829,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -768,9 +852,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoryEntitiesFieldBuilder() : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoryEntitiesFieldBuilder() + : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -794,9 +879,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -820,9 +906,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelAnnotat framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -847,7 +934,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,38 +944,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1beta2.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1beta2.Entity, + com.google.cloud.videointelligence.v1beta2.Entity.Builder, + com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1beta2.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Detected entity.
      * 
@@ -908,6 +1010,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1beta2.Entity value return this; } /** + * + * *
      * Detected entity.
      * 
@@ -926,6 +1030,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Detected entity.
      * 
@@ -936,7 +1042,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1beta2.Entity val if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1beta2.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -948,6 +1056,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1beta2.Entity val return this; } /** + * + * *
      * Detected entity.
      * 
@@ -966,6 +1076,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -973,11 +1085,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1beta2.Entity entity = 1; */ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Detected entity.
      * 
@@ -988,11 +1102,14 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Detected entity.
      * 
@@ -1000,32 +1117,43 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBui * .google.cloud.videointelligence.v1beta2.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> + com.google.cloud.videointelligence.v1beta2.Entity, + com.google.cloud.videointelligence.v1beta2.Entity.Builder, + com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.Entity, + com.google.cloud.videointelligence.v1beta2.Entity.Builder, + com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(categoryEntities_); + categoryEntities_ = + new java.util.ArrayList( + categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1beta2.Entity, + com.google.cloud.videointelligence.v1beta2.Entity.Builder, + com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> + categoryEntitiesBuilder_; /** + * + * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1035,7 +1163,8 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List getCategoryEntitiesList() {
+    public java.util.List
+        getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1043,6 +1172,8 @@ public java.util.List getCate
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1060,6 +1191,8 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1077,6 +1210,8 @@ public com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1101,6 +1236,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1122,6 +1259,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1145,6 +1284,8 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1beta2.En
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1169,6 +1310,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1190,6 +1333,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1211,6 +1356,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1224,8 +1371,7 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1233,6 +1379,8 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1253,6 +1401,8 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1273,6 +1423,8 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1287,6 +1439,8 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getCategoryEnti
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1299,11 +1453,14 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder getCategoryEnti
     public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOrBuilder(
         int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);  } else {
+        return categoryEntities_.get(index);
+      } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1313,8 +1470,8 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesOrBuilderList() {
+    public java.util.List
+        getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1322,6 +1479,8 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1332,10 +1491,12 @@ public com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEnt
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
     public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1347,10 +1508,13 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
      */
     public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1beta2.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1360,16 +1524,22 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
      *
      * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesBuilderList() {
+    public java.util.List
+        getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1beta2.Entity,
+            com.google.cloud.videointelligence.v1beta2.Entity.Builder,
+            com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.Entity, com.google.cloud.videointelligence.v1beta2.Entity.Builder, com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>(
+        categoryEntitiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1beta2.Entity,
+                com.google.cloud.videointelligence.v1beta2.Entity.Builder,
+                com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1380,25 +1550,34 @@ public com.google.cloud.videointelligence.v1beta2.Entity.Builder addCategoryEnti
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(
+                segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1beta2.LabelSegment,
+            com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder,
+            com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1406,6 +1585,8 @@ public java.util.List g } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1420,6 +1601,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1434,6 +1617,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int i } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1455,6 +1640,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1462,7 +1649,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1473,6 +1661,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1493,6 +1683,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.LabelSegme return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1514,6 +1706,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1532,6 +1726,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1539,7 +1735,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1550,6 +1747,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1557,11 +1756,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1569,6 +1768,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1586,6 +1787,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1603,6 +1806,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1614,6 +1819,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder getSegmen return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1623,19 +1830,23 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder getSegmen public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1643,6 +1854,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1650,10 +1863,12 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegme * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1662,48 +1877,61 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmen */ public com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelSegment, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, + com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelSegment, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelSegment, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder, + com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList(frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelFrame, + com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, + com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1718,6 +1946,8 @@ public java.util.List get } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1732,6 +1962,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1746,6 +1978,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1767,6 +2001,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1785,6 +2021,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1805,6 +2043,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1beta2.LabelFrame v return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1826,6 +2066,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1844,6 +2086,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1862,6 +2106,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1869,11 +2115,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1881,6 +2127,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1898,6 +2146,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1915,6 +2165,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1926,6 +2178,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder getFramesBu return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1935,19 +2189,22 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder getFramesBu public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1955,6 +2212,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1962,10 +2221,12 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesO * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1974,37 +2235,43 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBu */ public com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelFrame, + com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, + com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelFrame, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelFrame, + com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder, + com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -2014,12 +2281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelAnnotation) private static final com.google.cloud.videointelligence.v1beta2.LabelAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelAnnotation(); } @@ -2028,16 +2295,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelAnnotation getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2052,6 +2319,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java index 1c614bd42..cc9cf8459 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelAnnotationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelAnnotationOrBuilder extends +public interface LabelAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1beta2.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1beta2.Entity getEntity(); /** + * + * *
    * Detected entity.
    * 
@@ -35,6 +59,8 @@ public interface LabelAnnotationOrBuilder extends com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -44,9 +70,10 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
-  java.util.List 
-      getCategoryEntitiesList();
+  java.util.List getCategoryEntitiesList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -58,6 +85,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1beta2.Entity getCategoryEntities(int index);
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -69,6 +98,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   int getCategoryEntitiesCount();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -78,9 +109,11 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1beta2.Entity category_entities = 2;
    */
-  java.util.List 
+  java.util.List
       getCategoryEntitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -94,15 +127,18 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr
       int index);
 
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -111,6 +147,8 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ com.google.cloud.videointelligence.v1beta2.LabelSegment getSegments(int index); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -119,34 +157,40 @@ com.google.cloud.videointelligence.v1beta2.EntityOrBuilder getCategoryEntitiesOr */ int getSegmentsCount(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3; */ - com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBuilder(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -155,6 +199,8 @@ com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBu */ com.google.cloud.videointelligence.v1beta2.LabelFrame getFrames(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -163,21 +209,24 @@ com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder getSegmentsOrBu */ int getFramesCount(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java index 1519e707b..8411dd334 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) LabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -26,16 +44,15 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - labelDetectionMode_ = rawValue; - break; - } - case 16: { + case 8: + { + int rawValue = input.readEnum(); - stationaryCamera_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: + { + stationaryCamera_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,60 +104,77 @@ private LabelDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ - @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override + public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED + : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -146,6 +182,7 @@ private LabelDetectionConfig(
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -156,6 +193,8 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -163,6 +202,7 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; + * * @return The model. */ @java.lang.Override @@ -171,14 +211,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -186,16 +227,15 @@ public java.lang.String getModel() {
    * 
* * string model = 3; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -204,6 +244,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,9 +256,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -235,13 +278,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1beta2.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -254,18 +298,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.videointelligence.v1beta2.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other = + (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -280,8 +323,7 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -290,117 +332,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig 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.videointelligence.v1beta2.LabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig 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; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelDetectionConfig} */ - 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.videointelligence.v1beta2.LabelDetectionConfig) com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder() @@ -408,16 +460,15 @@ 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(); @@ -431,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance(); } @@ -452,7 +504,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig result = + new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -464,46 +517,50 @@ public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig buildPart 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.videointelligence.v1beta2.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance()) + return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -533,7 +590,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,90 +604,118 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode result = + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1beta2.LabelDetectionMode.UNRECOGNIZED + : result; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1beta2.LabelDetectionMode value) { + public Builder setLabelDetectionMode( + com.google.cloud.videointelligence.v1beta2.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -636,6 +723,7 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -643,6 +731,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -650,16 +740,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -667,10 +760,11 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -678,6 +772,8 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -685,13 +781,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -700,6 +796,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -707,15 +805,14 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -723,6 +820,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -730,20 +829,22 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -751,15 +852,18 @@ public Builder setModel(
      * 
* * string model = 3; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -767,23 +871,23 @@ public Builder clearModel() {
      * 
* * string model = 3; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -793,30 +897,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +934,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java index 838d904f7..749c2c3f6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionConfigOrBuilder.java @@ -1,36 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelDetectionConfigOrBuilder extends +public interface LabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1beta2.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1beta2.LabelDetectionMode getLabelDetectionMode(); /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -38,11 +64,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -50,10 +79,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -61,8 +93,8 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java index 147ab6aea..9b2ee2412 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelDetectionMode.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.LabelDetectionMode} */ -public enum LabelDetectionMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum LabelDetectionMode */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** + * + * *
    * Detect shot-level labels.
    * 
@@ -29,6 +49,8 @@ public enum LabelDetectionMode */ SHOT_MODE(1), /** + * + * *
    * Detect frame-level labels.
    * 
@@ -37,6 +59,8 @@ public enum LabelDetectionMode */ FRAME_MODE(2), /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -48,6 +72,8 @@ public enum LabelDetectionMode ; /** + * + * *
    * Unspecified.
    * 
@@ -56,6 +82,8 @@ public enum LabelDetectionMode */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Detect shot-level labels.
    * 
@@ -64,6 +92,8 @@ public enum LabelDetectionMode */ public static final int SHOT_MODE_VALUE = 1; /** + * + * *
    * Detect frame-level labels.
    * 
@@ -72,6 +102,8 @@ public enum LabelDetectionMode */ public static final int FRAME_MODE_VALUE = 2; /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -80,7 +112,6 @@ public enum LabelDetectionMode */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,41 +136,47 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: return SHOT_MODE; - case 2: return FRAME_MODE; - case 3: return SHOT_AND_FRAME_MODE; - default: return null; + case 0: + return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: + return SHOT_MODE; + case 2: + return FRAME_MODE; + case 3: + return SHOT_AND_FRAME_MODE; + 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< - LabelDetectionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -147,8 +184,7 @@ public LabelDetectionMode findValueByNumber(int number) { public static LabelDetectionMode 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; @@ -164,4 +200,3 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.LabelDetectionMode) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java index c1c108197..445236d36 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrame.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelFrame} */ -public final class LabelFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelFrame) LabelFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelFrame() { - } + + private LabelFrame() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private LabelFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,35 +102,40 @@ private LabelFrame( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelFrame.class, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelFrame.class, + com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -120,12 +143,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -133,6 +159,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -148,11 +176,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -161,6 +192,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -190,12 +221,10 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +234,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.videointelligence.v1beta2.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelFrame other = (com.google.cloud.videointelligence.v1beta2.LabelFrame) obj; + com.google.cloud.videointelligence.v1beta2.LabelFrame other = + (com.google.cloud.videointelligence.v1beta2.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,125 +264,134 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.LabelFrame 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; } /** + * + * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelFrame} */ - 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.videointelligence.v1beta2.LabelFrame) com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelFrame.class, com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelFrame.class, + com.google.cloud.videointelligence.v1beta2.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelFrame.newBuilder() @@ -362,16 +399,15 @@ 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(); @@ -387,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; } @java.lang.Override @@ -408,7 +444,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelFrame result = new com.google.cloud.videointelligence.v1beta2.LabelFrame(this); + com.google.cloud.videointelligence.v1beta2.LabelFrame result = + new com.google.cloud.videointelligence.v1beta2.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -423,38 +460,39 @@ public com.google.cloud.videointelligence.v1beta2.LabelFrame 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.videointelligence.v1beta2.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelFrame) other); } else { super.mergeFrom(other); return this; @@ -462,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -488,7 +527,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,36 +540,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -551,6 +604,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -558,8 +613,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -570,6 +624,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -581,7 +637,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -593,6 +649,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -612,6 +670,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -620,11 +680,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,11 +698,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -649,26 +714,32 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -676,37 +747,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelFrame) private static final com.google.cloud.videointelligence.v1beta2.LabelFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelFrame(); } @@ -730,16 +807,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelFrame getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java index b58901634..36922f9a2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelFrameOrBuilder extends +public interface LabelFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,11 +62,14 @@ public interface LabelFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java index 0bfd1dcc3..01bcbb010 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelSegment} */ -public final class LabelSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.LabelSegment) LabelSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSegment() { - } + + private LabelSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private LabelSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private LabelSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelSegment.class, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelSegment.class, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -119,18 +144,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -145,11 +177,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -158,6 +193,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +205,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -187,12 +222,10 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,21 +235,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.videointelligence.v1beta2.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.LabelSegment other = (com.google.cloud.videointelligence.v1beta2.LabelSegment) obj; + com.google.cloud.videointelligence.v1beta2.LabelSegment other = + (com.google.cloud.videointelligence.v1beta2.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +265,134 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.LabelSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.LabelSegment 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; } /** + * + * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.LabelSegment} */ - 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.videointelligence.v1beta2.LabelSegment) com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.LabelSegment.class, com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.LabelSegment.class, + com.google.cloud.videointelligence.v1beta2.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.LabelSegment.newBuilder() @@ -359,16 +400,15 @@ 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(); @@ -384,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; } @java.lang.Override @@ -405,7 +445,8 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.LabelSegment result = new com.google.cloud.videointelligence.v1beta2.LabelSegment(this); + com.google.cloud.videointelligence.v1beta2.LabelSegment result = + new com.google.cloud.videointelligence.v1beta2.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -420,38 +461,39 @@ public com.google.cloud.videointelligence.v1beta2.LabelSegment 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.videointelligence.v1beta2.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.LabelSegment) other); } else { super.mergeFrom(other); return this; @@ -459,7 +501,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.LabelSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -485,7 +528,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,34 +541,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1beta2.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -545,6 +602,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1beta2.VideoSegmen return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -563,6 +622,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -573,7 +634,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -585,6 +648,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1beta2.VideoSegm return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -603,6 +668,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -610,11 +677,13 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -625,11 +694,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -637,26 +709,32 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -664,37 +742,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -704,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.LabelSegment) private static final com.google.cloud.videointelligence.v1beta2.LabelSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.LabelSegment(); } @@ -718,16 +802,16 @@ public static com.google.cloud.videointelligence.v1beta2.LabelSegment getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +826,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java index 2f9b5d838..34ca21531 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/LabelSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface LabelSegmentOrBuilder extends +public interface LabelSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.LabelSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1beta2.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1beta2.VideoSegment getSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -35,11 +59,14 @@ public interface LabelSegmentOrBuilder extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java index 9606ee463..c8928f453 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/Likelihood.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1beta2.Likelihood} */ -public enum Likelihood - implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified likelihood.
    * 
@@ -21,6 +39,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Very unlikely.
    * 
@@ -29,6 +49,8 @@ public enum Likelihood */ VERY_UNLIKELY(1), /** + * + * *
    * Unlikely.
    * 
@@ -37,6 +59,8 @@ public enum Likelihood */ UNLIKELY(2), /** + * + * *
    * Possible.
    * 
@@ -45,6 +69,8 @@ public enum Likelihood */ POSSIBLE(3), /** + * + * *
    * Likely.
    * 
@@ -53,6 +79,8 @@ public enum Likelihood */ LIKELY(4), /** + * + * *
    * Very likely.
    * 
@@ -64,6 +92,8 @@ public enum Likelihood ; /** + * + * *
    * Unspecified likelihood.
    * 
@@ -72,6 +102,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Very unlikely.
    * 
@@ -80,6 +112,8 @@ public enum Likelihood */ public static final int VERY_UNLIKELY_VALUE = 1; /** + * + * *
    * Unlikely.
    * 
@@ -88,6 +122,8 @@ public enum Likelihood */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Possible.
    * 
@@ -96,6 +132,8 @@ public enum Likelihood */ public static final int POSSIBLE_VALUE = 3; /** + * + * *
    * Likely.
    * 
@@ -104,6 +142,8 @@ public enum Likelihood */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Very likely.
    * 
@@ -112,7 +152,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,57 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.getDescriptor() + .getEnumTypes() + .get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -198,4 +242,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1beta2.Likelihood) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java index 5d927f6e2..598e15afc 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBox.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1beta2.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedBoundingBox() {
-  }
+
+  private NormalizedBoundingBox() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,33 +70,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            left_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            top_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            right_ = input.readFloat();
-            break;
-          }
-          case 37: {
-
-            bottom_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              left_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              top_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              right_ = input.readFloat();
+              break;
+            }
+          case 37:
+            {
+              bottom_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +104,39 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class,
+            com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
+   *
+   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -126,11 +147,14 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -141,11 +165,14 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -156,11 +183,14 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -169,6 +199,7 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +211,7 @@ 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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -204,20 +234,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,25 +253,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.videointelligence.v1beta2.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other = + (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits( - other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) - != java.lang.Float.floatToIntBits( - other.getTop())) return false; + != java.lang.Float.floatToIntBits(other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) + return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits( - other.getRight())) return false; + != java.lang.Float.floatToIntBits(other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits( - other.getBottom())) return false; + != java.lang.Float.floatToIntBits(other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,113 +281,117 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox 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.videointelligence.v1beta2.NormalizedBoundingBox prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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; } /** + * + * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -373,21 +400,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1beta2.NormalizedBoundingBox}
    */
-  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.videointelligence.v1beta2.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.class,
+              com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.newBuilder()
@@ -395,16 +424,15 @@ 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();
@@ -420,13 +448,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance();
     }
 
@@ -441,7 +470,8 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox result =
+          new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -454,46 +484,50 @@ public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox 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) {
+        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.videointelligence.v1beta2.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other) {
-      if (other == com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox other) {
+      if (other
+          == com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox.getDefaultInstance())
+        return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -525,7 +559,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -535,13 +571,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_ ;
+    private float left_;
     /**
+     *
+     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -549,42 +588,51 @@ public float getLeft() { return left_; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_ ; + private float top_; /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -592,42 +640,51 @@ public float getTop() { return top_; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_ ; + private float right_; /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -635,42 +692,51 @@ public float getRight() { return right_; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_ ; + private float bottom_; /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -678,37 +744,43 @@ public float getBottom() { return bottom_; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -718,30 +790,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +827,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java index 13308db45..f6fe7bfac 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/NormalizedBoundingBoxOrBuilder.java @@ -1,48 +1,76 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface NormalizedBoundingBoxOrBuilder extends +public interface NormalizedBoundingBoxOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ float getLeft(); /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ float getTop(); /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ float getRight(); /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ float getBottom(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java index f065a712c..9cf9a221c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ShotChangeDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1beta2.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +231,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig + 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig 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.videointelligence.v1beta2.ShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig 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; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig} */ - 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.videointelligence.v1beta2.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.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(); @@ -345,14 +379,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + .getDefaultInstance(); } @java.lang.Override @@ -366,7 +402,8 @@ public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buil @java.lang.Override public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +413,51 @@ public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig buil 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.videointelligence.v1beta2.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +504,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +519,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +528,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +543,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +552,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +575,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +594,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +620,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java index 4457c7b8d..3ac230275 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/ShotChangeDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface ShotChangeDetectionConfigOrBuilder extends +public interface ShotChangeDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java index edf773e42..ebbff7194 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgress.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,55 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - - progressPercent_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + inputUri_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + progressPercent_ = input.readInt32(); + break; } + case 26: + { + 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; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +126,40 @@ private VideoAnnotationProgress( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -141,30 +168,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -175,12 +202,15 @@ public java.lang.String getInputUri() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** + * + * *
    * Approximate percentage processed thus far.
    * Guaranteed to be 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -191,11 +221,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -203,11 +236,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -215,6 +251,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the request was received.
    * 
@@ -229,11 +267,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -241,11 +282,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -253,6 +297,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Time of the most recent update.
    * 
@@ -265,6 +311,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +323,7 @@ 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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -303,16 +349,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,26 +365,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.videointelligence.v1beta2.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other = + (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (getProgressPercent() - != other.getProgressPercent()) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (getProgressPercent() != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -372,134 +412,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress + 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress 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.videointelligence.v1beta2.VideoAnnotationProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress 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; } /** + * + * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationProgress} */ - 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.videointelligence.v1beta2.VideoAnnotationProgress) com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.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(); @@ -523,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance(); + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + .getDefaultInstance(); } @java.lang.Override @@ -544,7 +597,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress build( @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress result = + new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -565,46 +619,51 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress buildP 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.videointelligence.v1beta2.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress other) { + if (other + == com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -637,7 +696,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,19 +710,21 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -670,21 +733,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -692,70 +756,80 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -763,32 +837,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage processed thus far.
      * Guaranteed to be 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -796,24 +876,33 @@ public Builder clearProgressPercent() { 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_; /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -824,6 +913,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the request was received.
      * 
@@ -844,14 +935,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -862,6 +954,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -872,7 +966,7 @@ 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; } @@ -884,6 +978,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -902,6 +998,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -909,11 +1007,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the request was received.
      * 
@@ -924,11 +1024,12 @@ 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_; } } /** + * + * *
      * Time when the request was received.
      * 
@@ -936,14 +1037,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -951,34 +1055,47 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -999,14 +1116,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1017,6 +1135,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1027,7 +1147,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1039,6 +1159,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1057,6 +1179,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1064,11 +1188,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1079,11 +1205,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1091,21 +1220,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @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); } @@ -1115,30 +1247,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,9 +1284,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java index 6d1b7704c..c9aeeefe0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationProgressOrBuilder.java @@ -1,64 +1,96 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface VideoAnnotationProgressOrBuilder extends +public interface VideoAnnotationProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Approximate percentage processed thus far.
    * Guaranteed to be 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Time when the request was received.
    * 
@@ -68,24 +100,32 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java index dbda78788..ab1e56f82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResults.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -30,16 +48,15 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,90 +76,122 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - segmentLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - shotLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), + extensionRegistry)); + break; } - frameLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - faceAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + shotLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), + extensionRegistry)); + break; } - faceAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceAnnotation.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - shotAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000004; + } + frameLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + faceAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.FaceAnnotation>(); + mutable_bitField0_ |= 0x00000008; + } + faceAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.parser(), + extensionRegistry)); + break; } - explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + shotAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.VideoSegment>(); + mutable_bitField0_ |= 0x00000010; + } + shotAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), + extensionRegistry)); + break; } - - break; - } - case 74: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); + case 58: + { + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder + subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); + } + explicitAnnotation_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); + } + + break; } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 74: + { + 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; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,8 +199,7 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -172,28 +220,34 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -202,30 +256,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -234,328 +288,439 @@ public java.lang.String getInputUri() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List segmentLabelAnnotations_; + private java.util.List + segmentLabelAnnotations_; /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations( + int index) { return segmentLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List shotLabelAnnotations_; + private java.util.List + shotLabelAnnotations_; /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations( + int index) { return shotLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List frameLabelAnnotations_; + private java.util.List + frameLabelAnnotations_; /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations( + int index) { return frameLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_ANNOTATIONS_FIELD_NUMBER = 5; - private java.util.List faceAnnotations_; + private java.util.List + faceAnnotations_; /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ @java.lang.Override - public java.util.List getFaceAnnotationsList() { + public java.util.List + getFaceAnnotationsList() { return faceAnnotations_; } /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList() { return faceAnnotations_; } /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ @java.lang.Override public int getFaceAnnotationsCount() { return faceAnnotations_.size(); } /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index) { return faceAnnotations_.get(index); } /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder + getFaceAnnotationsOrBuilder(int index) { return faceAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; private java.util.List shotAnnotations_; /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicitAnnotation_; /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -563,38 +728,54 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + getExplicitAnnotation() { + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ @java.lang.Override @@ -602,12 +783,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ @java.lang.Override @@ -615,6 +799,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -628,6 +814,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -639,8 +826,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -678,32 +864,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, frameLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < faceAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, faceAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, faceAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -713,34 +897,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.videointelligence.v1beta2.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) obj;
-
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList()
-        .equals(other.getSegmentLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList()
-        .equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList()
-        .equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceAnnotationsList()
-        .equals(other.getFaceAnnotationsList())) return false;
-    if (!getShotAnnotationsList()
-        .equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other =
+        (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) obj;
+
+    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
+      return false;
+    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceAnnotationsList().equals(other.getFaceAnnotationsList())) return false;
+    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation()
-          .equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -789,132 +967,143 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults
+      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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults 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.videointelligence.v1beta2.VideoAnnotationResults prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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;
   }
   /**
+   *
+   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoAnnotationResults} */ - 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.videointelligence.v1beta2.VideoAnnotationResults) com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -922,6 +1111,7 @@ private void maybeForceBuilderInitialization() { getShotAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -973,13 +1163,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance(); } @@ -994,12 +1185,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults build() @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults result = + new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1060,46 +1253,50 @@ public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults 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) { + 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.videointelligence.v1beta2.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults other) { + if (other + == com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1122,9 +1319,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotat segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentLabelAnnotationsFieldBuilder() : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentLabelAnnotationsFieldBuilder() + : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1148,9 +1346,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotat shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotLabelAnnotationsFieldBuilder() : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotLabelAnnotationsFieldBuilder() + : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1174,9 +1373,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotat frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFrameLabelAnnotationsFieldBuilder() : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFrameLabelAnnotationsFieldBuilder() + : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1200,9 +1400,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotat faceAnnotationsBuilder_ = null; faceAnnotations_ = other.faceAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - faceAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFaceAnnotationsFieldBuilder() : null; + faceAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFaceAnnotationsFieldBuilder() + : null; } else { faceAnnotationsBuilder_.addAllMessages(other.faceAnnotations_); } @@ -1226,9 +1427,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoAnnotat shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotAnnotationsFieldBuilder() : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotAnnotationsFieldBuilder() + : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1259,7 +1461,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1268,23 +1472,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -1293,21 +1500,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -1315,83 +1523,101 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private java.util.List segmentLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + new java.util.ArrayList( + segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + segmentLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1399,12 +1625,16 @@ public java.util.List * Label annotations on video level or user specified segment level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1414,14 +1644,19 @@ public int getSegmentLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1429,12 +1664,16 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabe } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1451,15 +1690,20 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1470,14 +1714,19 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1491,12 +1740,16 @@ public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1b return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1513,12 +1766,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -1532,15 +1789,20 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1551,19 +1813,23 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -1571,12 +1837,16 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1589,12 +1859,16 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1607,42 +1881,56 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + getSegmentLabelAnnotationsBuilder(int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); } else { + return segmentLabelAnnotations_.get(index); + } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1650,48 +1938,70 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSe } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( - int index) { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder(int index) { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1701,27 +2011,38 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSeg return segmentLabelAnnotationsBuilder_; } - private java.util.List shotLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); + shotLabelAnnotations_ = + new java.util.ArrayList( + shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + shotLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -1729,12 +2050,16 @@ public java.util.List * Label annotations on shot level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -1744,14 +2069,19 @@ public int getShotLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations( + int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -1759,12 +2089,16 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAn } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1781,15 +2115,20 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -1800,14 +2139,19 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addShotLabelAnnotations( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1821,12 +2165,16 @@ public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1beta return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -1843,12 +2191,16 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -1862,15 +2214,20 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -1881,19 +2238,23 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -1901,12 +2262,16 @@ public Builder addAllShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -1919,12 +2284,16 @@ public Builder clearShotLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -1937,42 +2306,56 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + getShotLabelAnnotationsBuilder(int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); } else { + return shotLabelAnnotations_.get(index); + } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1980,48 +2363,70 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSh } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( - int index) { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder(int index) { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2031,27 +2436,38 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addSho return shotLabelAnnotationsBuilder_; } - private java.util.List frameLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + frameLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); + frameLabelAnnotations_ = + new java.util.ArrayList( + frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + frameLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2059,12 +2475,16 @@ public java.util.List * Label annotations on frame level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2074,14 +2494,19 @@ public int getFrameLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations( + int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2089,12 +2514,16 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelA } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2111,15 +2540,20 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2130,14 +2564,19 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { + public Builder addFrameLabelAnnotations( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2151,12 +2590,16 @@ public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1bet return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation value) { @@ -2173,12 +2616,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { @@ -2192,15 +2639,20 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2211,19 +2663,23 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2231,12 +2687,16 @@ public Builder addAllFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2249,12 +2709,16 @@ public Builder clearFrameLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2267,42 +2731,56 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + getFrameLabelAnnotationsBuilder(int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); } else { + return frameLabelAnnotations_.get(index); + } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2310,48 +2788,70 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFr } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( - int index) { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder(int index) { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelAnnotation, com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelAnnotation, + com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2361,26 +2861,36 @@ public com.google.cloud.videointelligence.v1beta2.LabelAnnotation.Builder addFra return frameLabelAnnotationsBuilder_; } - private java.util.List faceAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + faceAnnotations_ = java.util.Collections.emptyList(); + private void ensureFaceAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - faceAnnotations_ = new java.util.ArrayList(faceAnnotations_); + faceAnnotations_ = + new java.util.ArrayList( + faceAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> faceAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> + faceAnnotationsBuilder_; /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public java.util.List getFaceAnnotationsList() { + public java.util.List + getFaceAnnotationsList() { if (faceAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceAnnotations_); } else { @@ -2388,11 +2898,14 @@ public java.util.List } } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public int getFaceAnnotationsCount() { if (faceAnnotationsBuilder_ == null) { @@ -2402,11 +2915,14 @@ public int getFaceAnnotationsCount() { } } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { @@ -2416,11 +2932,14 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotati } } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder setFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { @@ -2437,14 +2956,18 @@ public Builder setFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder setFaceAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.set(index, builderForValue.build()); @@ -2455,13 +2978,17 @@ public Builder setFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { + public Builder addFaceAnnotations( + com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { if (faceAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2475,11 +3002,14 @@ public Builder addFaceAnnotations(com.google.cloud.videointelligence.v1beta2.Fac return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder addFaceAnnotations( int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation value) { @@ -2496,11 +3026,14 @@ public Builder addFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder addFaceAnnotations( com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { @@ -2514,14 +3047,18 @@ public Builder addFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder addFaceAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder builderForValue) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); faceAnnotations_.add(index, builderForValue.build()); @@ -2532,18 +3069,21 @@ public Builder addFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder addAllFaceAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (faceAnnotationsBuilder_ == null) { ensureFaceAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, faceAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceAnnotations_); onChanged(); } else { faceAnnotationsBuilder_.addAllMessages(values); @@ -2551,11 +3091,14 @@ public Builder addAllFaceAnnotations( return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder clearFaceAnnotations() { if (faceAnnotationsBuilder_ == null) { @@ -2568,11 +3111,14 @@ public Builder clearFaceAnnotations() { return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ public Builder removeFaceAnnotations(int index) { if (faceAnnotationsBuilder_ == null) { @@ -2585,39 +3131,50 @@ public Builder removeFaceAnnotations(int index) { return this; } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder getFaceAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder + getFaceAnnotationsBuilder(int index) { return getFaceAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder + getFaceAnnotationsOrBuilder(int index) { if (faceAnnotationsBuilder_ == null) { - return faceAnnotations_.get(index); } else { + return faceAnnotations_.get(index); + } else { return faceAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public java.util.List - getFaceAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> + getFaceAnnotationsOrBuilderList() { if (faceAnnotationsBuilder_ != null) { return faceAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2625,45 +3182,64 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFac } } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder addFaceAnnotationsBuilder() { - return getFaceAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder + addFaceAnnotationsBuilder() { + return getFaceAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder addFaceAnnotationsBuilder( - int index) { - return getFaceAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder + addFaceAnnotationsBuilder(int index) { + return getFaceAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.getDefaultInstance()); } /** + * + * *
      * Face annotations. There is exactly one element for each unique face.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - public java.util.List - getFaceAnnotationsBuilderList() { + public java.util.List + getFaceAnnotationsBuilderList() { return getFaceAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder> getFaceAnnotationsFieldBuilder() { if (faceAnnotationsBuilder_ == null) { - faceAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceAnnotation, com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder>( + faceAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceAnnotation, + com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder>( faceAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2673,26 +3249,36 @@ public com.google.cloud.videointelligence.v1beta2.FaceAnnotation.Builder addFace return faceAnnotationsBuilder_; } - private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); + shotAnnotations_ = + new java.util.ArrayList( + shotAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + shotAnnotationsBuilder_; /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -2700,11 +3286,14 @@ public java.util.List g } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -2714,11 +3303,14 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2728,11 +3320,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotation } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1beta2.VideoSegment value) { @@ -2749,14 +3344,18 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -2767,13 +3366,17 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public Builder addShotAnnotations(com.google.cloud.videointelligence.v1beta2.VideoSegment value) { + public Builder addShotAnnotations( + com.google.cloud.videointelligence.v1beta2.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2787,11 +3390,14 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1beta2.Vid return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1beta2.VideoSegment value) { @@ -2808,11 +3414,14 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { @@ -2826,14 +3435,18 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( - int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -2844,18 +3457,21 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder addAllShotAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -2863,11 +3479,14 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -2880,11 +3499,14 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2897,39 +3519,50 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getShotAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder + getShotAnnotationsBuilder(int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2937,45 +3570,62 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotA } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder + addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addShotAnnotationsBuilder( - int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder + addShotAnnotationsBuilder(int index) { + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2985,43 +3635,66 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addShotAn return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3035,14 +3708,19 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1beta2. return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder + builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -3053,17 +3731,25 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -3075,11 +3761,15 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1beta return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -3093,48 +3783,67 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; @@ -3142,26 +3851,33 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBui 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_; /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3172,6 +3888,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3193,6 +3911,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3200,8 +3920,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -3212,6 +3931,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3222,8 +3943,7 @@ public Builder setError(
     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;
         }
@@ -3235,6 +3955,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3254,6 +3976,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3262,11 +3986,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3278,11 +4004,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3291,21 +4018,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -3315,30 +4042,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationResults parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationResults(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationResults parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationResults(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3350,9 +4079,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
similarity index 65%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
index 53d69f827..1963a7521 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoAnnotationResultsOrBuilder.java
@@ -1,317 +1,450 @@
+/*
+ * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface VideoAnnotationResultsOrBuilder extends
+public interface VideoAnnotationResultsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getSegmentLabelAnnotations(int index); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ int getSegmentLabelAnnotationsCount(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getShotLabelAnnotations(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ int getShotLabelAnnotationsCount(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3; + * */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1beta2.LabelAnnotation getFrameLabelAnnotations(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ int getFrameLabelAnnotationsCount(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4; + * */ - com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1beta2.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - java.util.List + java.util.List getFaceAnnotationsList(); /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ com.google.cloud.videointelligence.v1beta2.FaceAnnotation getFaceAnnotations(int index); /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ int getFaceAnnotationsCount(); /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ - java.util.List + java.util.List getFaceAnnotationsOrBuilderList(); /** + * + * *
    * Face annotations. There is exactly one element for each unique face.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5; + * */ com.google.cloud.videointelligence.v1beta2.FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder( int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - java.util.List - getShotAnnotationsList(); + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1beta2.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7; + * */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
similarity index 65%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
index 9e4e75eeb..ab8d81597 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
+++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContext.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
 /**
+ *
+ *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoContext} */ -public final class VideoContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoContext) VideoContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,74 +71,100 @@ private VideoContext( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1beta2.VideoSegment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1beta2.VideoSegment.parser(), + extensionRegistry)); + break; } - shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder subBuilder = + null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder + subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); + } + shotChangeDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder subBuilder = null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); + case 34: + { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder + subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder subBuilder = + null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); + } + faceDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +172,7 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -139,22 +181,27 @@ private VideoContext( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoContext.class, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoContext.class, + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -168,6 +215,8 @@ public java.util.List g
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -177,11 +226,13 @@ public java.util.List g
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -195,6 +246,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -208,6 +261,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int i
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -225,11 +280,15 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig labelDetectionConfig_;
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -237,37 +296,53 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + shotChangeDetectionConfig_; /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -275,37 +350,56 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() + : shotChangeDetectionConfig_; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -313,37 +407,55 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig faceDetectionConfig_; /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -351,30 +463,41 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,8 +509,7 @@ 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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -413,24 +535,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLabelDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getShotChangeDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExplicitContentDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,34 +562,33 @@ 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.videointelligence.v1beta2.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1beta2.VideoContext other = (com.google.cloud.videointelligence.v1beta2.VideoContext) obj; + com.google.cloud.videointelligence.v1beta2.VideoContext other = + (com.google.cloud.videointelligence.v1beta2.VideoContext) obj; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) + return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig() - .equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -506,117 +627,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.VideoContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1beta2.VideoContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1beta2.VideoContext 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; } /** + * + * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoContext} */ - 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.videointelligence.v1beta2.VideoContext) com.google.cloud.videointelligence.v1beta2.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoContext.class, com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoContext.class, + com.google.cloud.videointelligence.v1beta2.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.VideoContext.newBuilder() @@ -624,17 +755,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) { getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -672,9 +803,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; } @java.lang.Override @@ -693,7 +824,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoContext result = new com.google.cloud.videointelligence.v1beta2.VideoContext(this); + com.google.cloud.videointelligence.v1beta2.VideoContext result = + new com.google.cloud.videointelligence.v1beta2.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -732,38 +864,39 @@ public com.google.cloud.videointelligence.v1beta2.VideoContext 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.videointelligence.v1beta2.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoContext)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoContext) other); } else { super.mergeFrom(other); return this; @@ -771,7 +904,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.VideoContext.getDefaultInstance()) + return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -790,9 +924,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoContext segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -829,7 +964,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -838,21 +974,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1beta2.VideoSegment, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, + com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -861,7 +1006,8 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List getSegmentsList() {
+    public java.util.List
+        getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -869,6 +1015,8 @@ public java.util.List g
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -885,6 +1033,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -901,6 +1051,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int i
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -924,6 +1076,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -933,7 +1087,8 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -944,6 +1099,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -966,6 +1123,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1beta2.VideoSegme
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -989,6 +1148,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1009,6 +1170,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1018,7 +1181,8 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1029,6 +1193,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1038,11 +1204,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1050,6 +1216,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1069,6 +1237,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1088,6 +1258,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1101,6 +1273,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmen
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1112,11 +1286,14 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder getSegmen
     public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1125,8 +1302,9 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1134,6 +1312,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1143,10 +1323,12 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegme
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1157,10 +1339,13 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
      */
     public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1169,20 +1354,23 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
      *
      * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1beta2.VideoSegment,
+            com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1beta2.VideoSegment, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder, com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1beta2.VideoSegment,
+                com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1190,41 +1378,62 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder addSegmen
 
     private com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig,
+            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>
+        labelDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig + getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,11 +1447,15 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1beta return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder builderForValue) { @@ -1256,17 +1469,25 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.newBuilder( + labelDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1278,11 +1499,15 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1be return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1296,90 +1521,131 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), - getParentForChildren(), - isClean()); + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), getParentForChildren(), isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> + shotChangeDetectionConfigBuilder_; /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1393,14 +1659,19 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder + builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1411,17 +1682,25 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.newBuilder( + shotChangeDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1433,11 +1712,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1451,90 +1734,133 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), - getParentForChildren(), - isClean()); + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), getParentForChildren(), isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null + || explicitContentDetectionConfig_ != null; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1548,14 +1874,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1566,17 +1897,25 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.newBuilder( + explicitContentDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1588,11 +1927,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1606,48 +1949,67 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder + getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), - getParentForChildren(), - isClean()); + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -1655,41 +2017,58 @@ public com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig private com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> + faceDetectionConfigBuilder_; /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig( + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1703,11 +2082,14 @@ public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1beta2 return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder builderForValue) { @@ -1721,17 +2103,24 @@ public Builder setFaceDetectionConfig( return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig( + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.newBuilder( + faceDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { faceDetectionConfig_ = value; } @@ -1743,11 +2132,14 @@ public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1bet return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -1761,55 +2153,70 @@ public Builder clearFaceDetectionConfig() { return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder + getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), - getParentForChildren(), - isClean()); + faceDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), getParentForChildren(), isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } + @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); } @@ -1819,12 +2226,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoContext) private static final com.google.cloud.videointelligence.v1beta2.VideoContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoContext(); } @@ -1833,16 +2240,16 @@ public static com.google.cloud.videointelligence.v1beta2.VideoContext getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1857,6 +2264,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1beta2.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java index 7a88104c1..99909e56e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoContextOrBuilder.java @@ -1,13 +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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; -public interface VideoContextOrBuilder extends +public interface VideoContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -16,9 +34,10 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -29,6 +48,8 @@ public interface VideoContextOrBuilder extends
    */
   com.google.cloud.videointelligence.v1beta2.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -39,6 +60,8 @@ public interface VideoContextOrBuilder extends
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -47,9 +70,11 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -58,114 +83,169 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1beta2.VideoSegment segments = 1;
    */
-  com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder getSegmentsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1beta2.LabelDetectionConfig getLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * .google.cloud.videointelligence.v1beta2.LabelDetectionConfig label_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig + getShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1beta2.FaceDetectionConfig getFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1beta2.FaceDetectionConfig face_detection_config = 5; + * */ - com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1beta2.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder(); } diff --git a/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..c7ab15fb5 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java @@ -0,0 +1,457 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto + +package com.google.cloud.videointelligence.v1beta2; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n?google/cloud/videointelligence/v1beta2" + + "/video_intelligence.proto\022&google.cloud." + + "videointelligence.v1beta2\032\034google/api/an" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032#googl" + + "e/longrunning/operations.proto\032\036google/p" + + "rotobuf/duration.proto\032\037google/protobuf/" + + "timestamp.proto\032\027google/rpc/status.proto" + + "\"\210\002\n\024AnnotateVideoRequest\022\021\n\tinput_uri\030\001" + + " \001(\t\022\025\n\rinput_content\030\006 \001(\014\022F\n\010features\030" + + "\002 \003(\0162/.google.cloud.videointelligence.v" + + "1beta2.FeatureB\003\340A\002\022K\n\rvideo_context\030\003 \001" + + "(\01324.google.cloud.videointelligence.v1be" + + "ta2.VideoContext\022\027\n\noutput_uri\030\004 \001(\tB\003\340A" + + "\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\354\003\n\014VideoCon" + + "text\022F\n\010segments\030\001 \003(\01324.google.cloud.vi" + + "deointelligence.v1beta2.VideoSegment\022\\\n\026" + + "label_detection_config\030\002 \001(\0132<.google.cl" + + "oud.videointelligence.v1beta2.LabelDetec" + + "tionConfig\022g\n\034shot_change_detection_conf" + + "ig\030\003 \001(\0132A.google.cloud.videointelligenc" + + "e.v1beta2.ShotChangeDetectionConfig\022q\n!e" + + "xplicit_content_detection_config\030\004 \001(\0132F" + + ".google.cloud.videointelligence.v1beta2." + + "ExplicitContentDetectionConfig\022Z\n\025face_d" + + "etection_config\030\005 \001(\0132;.google.cloud.vid" + + "eointelligence.v1beta2.FaceDetectionConf" + + "ig\"\232\001\n\024LabelDetectionConfig\022X\n\024label_det" + + "ection_mode\030\001 \001(\0162:.google.cloud.videoin" + + "telligence.v1beta2.LabelDetectionMode\022\031\n" + + "\021stationary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"" + + "*\n\031ShotChangeDetectionConfig\022\r\n\005model\030\001 " + + "\001(\t\"/\n\036ExplicitContentDetectionConfig\022\r\n" + + "\005model\030\001 \001(\t\"D\n\023FaceDetectionConfig\022\r\n\005m" + + "odel\030\001 \001(\t\022\036\n\026include_bounding_boxes\030\002 \001" + + "(\010\"x\n\014VideoSegment\0224\n\021start_time_offset\030" + + "\001 \001(\0132\031.google.protobuf.Duration\0222\n\017end_" + + "time_offset\030\002 \001(\0132\031.google.protobuf.Dura" + + "tion\"i\n\014LabelSegment\022E\n\007segment\030\001 \001(\01324." + + "google.cloud.videointelligence.v1beta2.V" + + "ideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabel" + + "Frame\022.\n\013time_offset\030\001 \001(\0132\031.google.prot" + + "obuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Ent" + + "ity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 " + + "\001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\250\002\n\017LabelAnno" + + "tation\022>\n\006entity\030\001 \001(\0132..google.cloud.vi" + + "deointelligence.v1beta2.Entity\022I\n\021catego" + + "ry_entities\030\002 \003(\0132..google.cloud.videoin" + + "telligence.v1beta2.Entity\022F\n\010segments\030\003 " + + "\003(\01324.google.cloud.videointelligence.v1b" + + "eta2.LabelSegment\022B\n\006frames\030\004 \003(\01322.goog" + + "le.cloud.videointelligence.v1beta2.Label" + + "Frame\"\232\001\n\024ExplicitContentFrame\022.\n\013time_o" + + "ffset\030\001 \001(\0132\031.google.protobuf.Duration\022R" + + "\n\026pornography_likelihood\030\002 \001(\01622.google." + + "cloud.videointelligence.v1beta2.Likeliho" + + "od\"i\n\031ExplicitContentAnnotation\022L\n\006frame" + + "s\030\001 \003(\0132<.google.cloud.videointelligence" + + ".v1beta2.ExplicitContentFrame\"Q\n\025Normali" + + "zedBoundingBox\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(" + + "\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 \001(\002\"T\n\013Face" + + "Segment\022E\n\007segment\030\001 \001(\01324.google.cloud." + + "videointelligence.v1beta2.VideoSegment\"\235" + + "\001\n\tFaceFrame\022`\n\031normalized_bounding_boxe" + + "s\030\001 \003(\0132=.google.cloud.videointelligence" + + ".v1beta2.NormalizedBoundingBox\022.\n\013time_o" + + "ffset\030\002 \001(\0132\031.google.protobuf.Duration\"\255" + + "\001\n\016FaceAnnotation\022\021\n\tthumbnail\030\001 \001(\014\022E\n\010" + + "segments\030\002 \003(\01323.google.cloud.videointel" + + "ligence.v1beta2.FaceSegment\022A\n\006frames\030\003 " + + "\003(\01321.google.cloud.videointelligence.v1b" + + "eta2.FaceFrame\"\337\004\n\026VideoAnnotationResult" + + "s\022\021\n\tinput_uri\030\001 \001(\t\022Z\n\031segment_label_an" + + "notations\030\002 \003(\01327.google.cloud.videointe" + + "lligence.v1beta2.LabelAnnotation\022W\n\026shot" + + "_label_annotations\030\003 \003(\01327.google.cloud." + + "videointelligence.v1beta2.LabelAnnotatio" + + "n\022X\n\027frame_label_annotations\030\004 \003(\01327.goo" + + "gle.cloud.videointelligence.v1beta2.Labe" + + "lAnnotation\022P\n\020face_annotations\030\005 \003(\01326." + + "google.cloud.videointelligence.v1beta2.F" + + "aceAnnotation\022N\n\020shot_annotations\030\006 \003(\0132" + + "4.google.cloud.videointelligence.v1beta2" + + ".VideoSegment\022^\n\023explicit_annotation\030\007 \001" + + "(\0132A.google.cloud.videointelligence.v1be" + + "ta2.ExplicitContentAnnotation\022!\n\005error\030\t" + + " \001(\0132\022.google.rpc.Status\"s\n\025AnnotateVide" + + "oResponse\022Z\n\022annotation_results\030\001 \003(\0132>." + + "google.cloud.videointelligence.v1beta2.V" + + "ideoAnnotationResults\"\247\001\n\027VideoAnnotatio" + + "nProgress\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress" + + "_percent\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013update_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"u\n\025Annot" + + "ateVideoProgress\022\\\n\023annotation_progress\030" + + "\001 \003(\0132?.google.cloud.videointelligence.v" + + "1beta2.VideoAnnotationProgress*\206\001\n\007Featu" + + "re\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DET" + + "ECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032E" + + "XPLICIT_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETE" + + "CTION\020\004*r\n\022LabelDetectionMode\022$\n LABEL_D" + + "ETECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE" + + "\020\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MOD" + + "E\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIF" + + "IED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014" + + "\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020" + + "\0052\312\002\n\030VideoIntelligenceService\022\327\001\n\rAnnot" + + "ateVideo\022<.google.cloud.videointelligenc" + + "e.v1beta2.AnnotateVideoRequest\032\035.google." + + "longrunning.Operation\"i\202\323\344\223\002\035\"\030/v1beta2/" + + "videos:annotate:\001*\332A\022input_uri,features\312" + + "A.\n\025AnnotateVideoResponse\022\025AnnotateVideo" + + "Progress\032T\312A videointelligence.googleapi" + + "s.com\322A.https://www.googleapis.com/auth/" + + "cloud-platformB\244\002\n*com.google.cloud.vide" + + "ointelligence.v1beta2B\035VideoIntelligence" + + "ServiceProtoP\001ZWgoogle.golang.org/genpro" + + "to/googleapis/cloud/videointelligence/v1" + + "beta2;videointelligence\252\002&Google.Cloud.V" + + "ideoIntelligence.V1Beta2\312\002&Google\\Cloud\\" + + "VideoIntelligence\\V1beta2\352\002)Google::Clou" + + "d::VideoIntelligence::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoRequest_descriptor, + new java.lang.String[] { + "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", + }); + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoContext_descriptor, + new java.lang.String[] { + "Segments", + "LabelDetectionConfig", + "ShotChangeDetectionConfig", + "ExplicitContentDetectionConfig", + "FaceDetectionConfig", + }); + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelDetectionConfig_descriptor, + new java.lang.String[] { + "LabelDetectionMode", "StationaryCamera", "Model", + }); + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceDetectionConfig_descriptor, + new java.lang.String[] { + "Model", "IncludeBoundingBoxes", + }); + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor, + new java.lang.String[] { + "StartTimeOffset", "EndTimeOffset", + }); + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1beta2_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_Entity_descriptor, + new java.lang.String[] { + "EntityId", "Description", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_LabelAnnotation_descriptor, + new java.lang.String[] { + "Entity", "CategoryEntities", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "PornographyLikelihood", + }); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { + "Frames", + }); + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_NormalizedBoundingBox_descriptor, + new java.lang.String[] { + "Left", "Top", "Right", "Bottom", + }); + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceSegment_descriptor, + new java.lang.String[] { + "Segment", + }); + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceFrame_descriptor, + new java.lang.String[] { + "NormalizedBoundingBoxes", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_FaceAnnotation_descriptor, + new java.lang.String[] { + "Thumbnail", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationResults_descriptor, + new java.lang.String[] { + "InputUri", + "SegmentLabelAnnotations", + "ShotLabelAnnotations", + "FrameLabelAnnotations", + "FaceAnnotations", + "ShotAnnotations", + "ExplicitAnnotation", + "Error", + }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoResponse_descriptor, + new java.lang.String[] { + "AnnotationResults", + }); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_VideoAnnotationProgress_descriptor, + new java.lang.String[] { + "InputUri", "ProgressPercent", "StartTime", "UpdateTime", + }); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1beta2_AnnotateVideoProgress_descriptor, + new java.lang.String[] { + "AnnotationProgress", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java index 9358a32dc..8efbfcd61 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java +++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1beta2/video_intelligence.proto package com.google.cloud.videointelligence.v1beta2; /** + * + * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoSegment} */ -public final class VideoSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1beta2.VideoSegment) VideoSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoSegment() { - } + + private VideoSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private VideoSegment( 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(); - } + 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 18: { - 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; } + case 18: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private VideoSegment( } 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.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoSegment.class, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoSegment.class, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -128,19 +153,26 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -156,12 +188,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -169,19 +204,26 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -195,6 +237,7 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,7 @@ 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());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.videointelligence.v1beta2.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1beta2.VideoSegment other = (com.google.cloud.videointelligence.v1beta2.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1beta2.VideoSegment other =
+        (com.google.cloud.videointelligence.v1beta2.VideoSegment) obj;
 
     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;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.VideoSegment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1beta2.VideoSegment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1beta2.VideoSegment 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;
   }
   /**
+   *
+   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1beta2.VideoSegment} */ - 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.videointelligence.v1beta2.VideoSegment) com.google.cloud.videointelligence.v1beta2.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1beta2.VideoSegment.class, com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1beta2.VideoSegment.class, + com.google.cloud.videointelligence.v1beta2.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1beta2.VideoSegment.newBuilder() @@ -399,16 +448,15 @@ 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(); @@ -428,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1beta2_VideoSegment_descriptor; } @java.lang.Override @@ -449,7 +497,8 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1beta2.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1beta2.VideoSegment result = new com.google.cloud.videointelligence.v1beta2.VideoSegment(this); + com.google.cloud.videointelligence.v1beta2.VideoSegment result = + new com.google.cloud.videointelligence.v1beta2.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -468,38 +517,39 @@ public com.google.cloud.videointelligence.v1beta2.VideoSegment 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.videointelligence.v1beta2.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1beta2.VideoSegment) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1beta2.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1beta2.VideoSegment.getDefaultInstance()) + return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -533,7 +584,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1beta2.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1beta2.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +597,49 @@ 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_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -596,6 +661,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -603,8 +670,7 @@ 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();
@@ -615,6 +681,8 @@ public Builder setStartTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -626,7 +694,9 @@ 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;
         }
@@ -638,6 +708,8 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -657,6 +729,8 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -665,11 +739,13 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-      
+
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -681,11 +757,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,14 +773,17 @@ 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_;
@@ -709,36 +791,49 @@ 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_;
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -760,6 +855,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -767,8 +864,7 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -779,6 +875,8 @@ public Builder setEndTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -790,7 +888,9 @@ 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;
         }
@@ -802,6 +902,8 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -821,6 +923,8 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -829,11 +933,13 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-      
+
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -845,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -858,21 +967,24 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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>
         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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -882,12 +994,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1beta2.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1beta2.VideoSegment)
   private static final com.google.cloud.videointelligence.v1beta2.VideoSegment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1beta2.VideoSegment();
   }
@@ -896,16 +1008,16 @@ public static com.google.cloud.videointelligence.v1beta2.VideoSegment getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoSegment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoSegment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoSegment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoSegment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1032,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1beta2.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
index 3ea6fe7fe..7505cfae2 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegmentOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1beta2/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1beta2;
 
-public interface VideoSegmentOrBuilder extends
+public interface VideoSegmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1beta2.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -38,26 +62,34 @@ public interface VideoSegmentOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto b/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
similarity index 100%
rename from owl-bot-staging/v1beta2/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
rename to proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java
similarity index 61%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java
rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java
index fe69b3d05..659f2aef5 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java
+++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgress.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
 /**
+ *
+ *
  * 
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationProgress_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationProgress_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationProgress_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationProgress_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -89,80 +110,108 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class,
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List annotationProgress_;
+  private java.util.List
+      annotationProgress_;
   /**
+   *
+   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress( + int index) { return annotationProgress_.get(index); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationProgress_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p1beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other = + (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList() - .equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress + 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress 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.videointelligence.v1p1beta1.AnnotateVideoProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress 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; } /** + * + * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p1beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.class,
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress result =
+          new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p1beta1.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress
+              .getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVi
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationProgressFieldBuilder() : null;
+            annotationProgressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationProgressFieldBuilder()
+                    : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationProgress_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationProgress_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
+        annotationProgress_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress>(
+                annotationProgress_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress,
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>
+        annotationProgressBuilder_;
 
     /**
+     *
+     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -537,11 +621,15 @@ public java.util.List * Progress metadata for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationProgressCount() { } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getA } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { @@ -586,14 +683,20 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p1beta return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress value) { @@ -645,14 +757,19 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAllAnnotationProgress( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress> + values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationProgress() { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationProgress(int index) { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + getAnnotationProgressBuilder(int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); } else { + return annotationProgress_.get(index); + } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBui } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( - int index) { - return getAnnotationProgressFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder(int index) { + return getAnnotationProgressFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder> + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Buil } return annotationProgressBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..250a96c5f --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public interface AnnotateVideoProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getAnnotationProgress( + int index); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + int getAnnotationProgressCount(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java similarity index 73% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java index 985368146..eb64e7fbf 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequest.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -29,16 +47,15 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,81 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - features_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 26: { - com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + features_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 26: + { + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); + } + videoContext_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.VideoContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - outputUri_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: { + outputUri_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - inputContent_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + case 50: + { + inputContent_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +157,7 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -141,22 +166,27 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -172,6 +202,7 @@ private AnnotateVideoRequest(
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -180,14 +211,15 @@ 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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -203,16 +235,15 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; + * * @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 { @@ -223,6 +254,8 @@ public java.lang.String getInputUri() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -230,6 +263,7 @@ public java.lang.String getInputUri() {
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -240,34 +274,50 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature> features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature> + features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>() { - public com.google.cloud.videointelligence.v1p1beta1.Feature convert(java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p1beta1.Feature convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Feature result = com.google.cloud.videointelligence.v1p1beta1.Feature.valueOf(from); - return result == null ? com.google.cloud.videointelligence.v1p1beta1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p1beta1.Feature result = + com.google.cloud.videointelligence.v1p1beta1.Feature.valueOf(from); + return result == null + ? com.google.cloud.videointelligence.v1p1beta1.Feature.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>( + features_, features_converter_); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ @java.lang.Override @@ -275,11 +325,16 @@ public int getFeaturesCount() { return features_.size(); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -288,24 +343,33 @@ public com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return features_; } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -313,16 +377,20 @@ public com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int inde public int getFeaturesValue(int index) { return features_.get(index); } + private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p1beta1.VideoContext videoContext_; /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -330,18 +398,25 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext() { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() + : videoContext_; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -349,13 +424,16 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -367,6 +445,7 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVid
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ @java.lang.Override @@ -375,14 +454,15 @@ 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; } } /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -394,16 +474,15 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -414,6 +493,8 @@ public java.lang.String getOutputUri() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -421,6 +502,7 @@ public java.lang.String getOutputUri() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ @java.lang.Override @@ -429,14 +511,15 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -444,16 +527,15 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -462,6 +544,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,8 +556,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -513,18 +595,17 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -533,8 +614,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -544,27 +624,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.videointelligence.v1p1beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext() - .equals(other.getVideoContext())) return false; + if (!getVideoContext().equals(other.getVideoContext())) return false; } - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOutputUri().equals(other.getOutputUri())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -598,134 +674,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest + 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest 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.videointelligence.v1p1beta1.AnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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; } /** + * + * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p1beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.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(); @@ -749,13 +836,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -770,7 +858,8 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest result = + new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -794,46 +883,50 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p1beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -881,7 +974,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -890,10 +985,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -909,13 +1007,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; + * * @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; @@ -924,6 +1022,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -939,15 +1039,14 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 { @@ -955,6 +1054,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -970,20 +1071,22 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -999,15 +1102,18 @@ public Builder setInputUri(
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1023,16 +1129,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; + * * @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; @@ -1040,6 +1146,8 @@ public Builder setInputUriBytes( private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1047,6 +1155,7 @@ public Builder setInputUriBytes(
      * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -1054,6 +1163,8 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1061,19 +1172,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1081,17 +1195,18 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; + * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = - java.util.Collections.emptyList(); + private java.util.List features_ = java.util.Collections.emptyList(); + private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1099,34 +1214,50 @@ private void ensureFeaturesIsMutable() { } } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p1beta1.Feature>( + features_, features_converter_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -1134,11 +1265,16 @@ public com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1154,11 +1290,16 @@ public Builder setFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The features to add. * @return This builder for chaining. */ @@ -1172,11 +1313,16 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p1beta1.Feature return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The features to add. * @return This builder for chaining. */ @@ -1190,11 +1336,16 @@ public Builder addAllFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1204,23 +1355,32 @@ public Builder clearFeatures() { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1228,28 +1388,37 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue( - int index, int value) { + public Builder setFeaturesValue(int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1260,16 +1429,20 @@ public Builder addFeaturesValue(int value) { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue( - java.lang.Iterable values) { + public Builder addAllFeaturesValue(java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1280,41 +1453,55 @@ public Builder addAllFeaturesValue( private com.google.cloud.videointelligence.v1p1beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> videoContextBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoContext, + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> + videoContextBuilder_; /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() + : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public Builder setVideoContext(com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { + public Builder setVideoContext( + com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1328,6 +1515,8 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1p1beta1.Vide return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1346,17 +1535,22 @@ public Builder setVideoContext( return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { + public Builder mergeVideoContext( + com.google.cloud.videointelligence.v1p1beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder(videoContext_) + .mergeFrom(value) + .buildPartial(); } else { videoContext_ = value; } @@ -1368,6 +1562,8 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p1beta1.Vi return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1386,33 +1582,42 @@ public Builder clearVideoContext() { return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder + getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null ? - com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance() + : videoContext_; } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1420,14 +1625,17 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVid * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoContext, + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoContext, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder>( - getVideoContext(), - getParentForChildren(), - isClean()); + videoContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoContext, + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder>( + getVideoContext(), getParentForChildren(), isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1435,6 +1643,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVid private java.lang.Object outputUri_ = ""; /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1446,13 +1656,13 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVid
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1461,6 +1671,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1472,15 +1684,14 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1488,6 +1699,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1499,20 +1712,22 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1524,15 +1739,18 @@ public Builder setOutputUri(
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1544,16 +1762,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1561,6 +1779,8 @@ public Builder setOutputUriBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1568,13 +1788,13 @@ public Builder setOutputUriBytes(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1583,6 +1803,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1590,15 +1812,14 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1606,6 +1827,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1613,20 +1836,22 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1634,15 +1859,18 @@ public Builder setLocationId(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1650,23 +1878,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1676,30 +1904,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1711,9 +1941,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java index 8a54ec4f0..0fd185b9a 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface AnnotateVideoRequestOrBuilder extends +public interface AnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -23,10 +41,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -42,12 +63,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -55,78 +78,111 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ java.util.List getFeaturesList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ int getFeaturesCount(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p1beta1.Feature getFeatures(int index); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - java.util.List - getFeaturesValueList(); + java.util.List getFeaturesValueList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3; + * * @return The videoContext. */ com.google.cloud.videointelligence.v1p1beta1.VideoContext getVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -136,6 +192,8 @@ public interface AnnotateVideoRequestOrBuilder extends com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -147,10 +205,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ java.lang.String getOutputUri(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -162,12 +223,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString - getOutputUriBytes(); + com.google.protobuf.ByteString getOutputUriBytes(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -175,10 +238,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -186,8 +252,8 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java similarity index 61% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java index 43acb5e59..387e5c0f6 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationResults_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationResults_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -89,80 +110,108 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List annotationResults_;
+  private java.util.List
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( + int index) { return annotationResults_.get(index); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p1beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList() - .equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse + 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse 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.videointelligence.v1p1beta1.AnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse 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; } /** + * + * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p1beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p1beta1.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse
+              .getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.AnnotateVi
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationResultsFieldBuilder() : null;
+            annotationResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationResultsFieldBuilder()
+                    : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationResults_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ = new java.util.ArrayList(annotationResults_);
+        annotationResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults>(
+                annotationResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults,
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -537,11 +621,15 @@ public java.util.List * Annotation results for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationResultsCount() { } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( + int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAn } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { @@ -586,14 +683,20 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p1beta1 return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults value) { @@ -645,14 +757,19 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAllAnnotationResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults> + values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationResults(int index) { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + getAnnotationResultsBuilder(int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); } else { + return annotationResults_.get(index); + } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuil } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( - int index) { - return getAnnotationResultsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder(int index) { + return getAnnotationResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder> + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Build } return annotationResultsBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..b12d41cc6 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public interface AnnotateVideoResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getAnnotationResults( + int index); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + */ + int getAnnotationResultsCount(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java similarity index 71% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java index 35fb601f9..aa2158852 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Entity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entityId_ = ""; description_ = ""; @@ -27,16 +45,15 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Entity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Entity( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.Entity.class, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.Entity.class, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -117,6 +141,7 @@ private Entity(
    * 
* * string entity_id = 1; + * * @return The entityId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -140,16 +166,15 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getEntityId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDescription() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ 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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -298,19 +329,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.videointelligence.v1p1beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.Entity other = (com.google.cloud.videointelligence.v1p1beta1.Entity) obj; + com.google.cloud.videointelligence.v1p1beta1.Entity other = + (com.google.cloud.videointelligence.v1p1beta1.Entity) obj; - if (!getEntityId() - .equals(other.getEntityId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getEntityId().equals(other.getEntityId())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity 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; } /** + * + * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.Entity} */ - 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.videointelligence.v1p1beta1.Entity) com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.Entity.class, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.Entity.class, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder() @@ -452,16 +490,15 @@ 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(); @@ -475,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; } @java.lang.Override @@ -496,7 +533,8 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.Entity result = new com.google.cloud.videointelligence.v1p1beta1.Entity(this); + com.google.cloud.videointelligence.v1p1beta1.Entity result = + new com.google.cloud.videointelligence.v1p1beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -508,38 +546,39 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity 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.videointelligence.v1p1beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.Entity)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.Entity) other); } else { super.mergeFrom(other); return this; @@ -547,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance()) + return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -579,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,6 +632,8 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -598,13 +641,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; + * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -613,6 +656,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -620,15 +665,14 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -636,6 +680,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -643,20 +689,22 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId( - java.lang.String value) { + public Builder setEntityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -664,15 +712,18 @@ public Builder setEntityId(
      * 
* * string entity_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -680,16 +731,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; + * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -697,18 +748,20 @@ public Builder setEntityIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -717,20 +770,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -738,54 +792,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -793,18 +854,20 @@ public Builder setDescriptionBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -813,20 +876,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -834,61 +898,68 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -898,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.Entity) private static final com.google.cloud.videointelligence.v1p1beta1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.Entity(); } @@ -912,16 +983,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java index dc844d8e5..b380cbe63 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/EntityOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -15,10 +33,13 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The entityId. */ java.lang.String getEntityId(); /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -26,48 +47,58 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - com.google.protobuf.ByteString - getEntityIdBytes(); + com.google.protobuf.ByteString getEntityIdBytes(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java similarity index 65% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java index e92ea8d67..cb811b4eb 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              frames_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                frames_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              frames_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.parser(),
+                      extensionRegistry));
+              break;
             }
-            frames_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -89,80 +110,101 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class,
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
+   *
+   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +216,7 @@ 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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -189,8 +230,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +240,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.videointelligence.v1p1beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other = + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) obj; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +270,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation + 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation 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.videointelligence.v1p1beta1.ExplicitContentAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation 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; } /** + * + * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -328,39 +377,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p1beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.class,
+              com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,19 +426,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result = buildPartial();
+      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -395,7 +450,8 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation result =
+          new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +470,51 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p1beta1.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation
+              .getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -472,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitCo
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFramesFieldBuilder() : null;
+            framesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFramesFieldBuilder()
+                    : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -499,7 +561,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +572,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List frames_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        frames_ = java.util.Collections.emptyList();
+
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ = new java.util.ArrayList(frames_);
+        frames_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame>(frames_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame,
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>
+        framesBuilder_;
 
     /**
+     *
+     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -537,11 +612,14 @@ public java.util.List * All video frames where explicit content was detected. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -551,11 +629,14 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -565,11 +646,14 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFram } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { @@ -586,14 +670,18 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -604,13 +692,17 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +716,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p1beta1.ExplicitCo return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame value) { @@ -645,11 +740,14 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { @@ -663,14 +761,18 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -681,18 +783,22 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -700,11 +806,14 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -717,11 +826,14 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -734,39 +846,50 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder + getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -774,56 +897,74 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilde } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder + addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -833,30 +974,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1011,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java index 4b4ad95e5..329ec0730 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,52 +1,83 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentAnnotationOrBuilder extends +public interface ExplicitContentAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getFrames(int index); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ int getFramesCount(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java index 7640c1ef2..a48629db2 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfig.java @@ -1,40 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,34 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder + .class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +127,7 @@ private ExplicitContentDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +136,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +152,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +181,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +205,16 @@ 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,135 +233,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig 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; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.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(); @@ -345,19 +388,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +411,10 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +424,52 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConf 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.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -435,11 +489,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +508,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +517,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +532,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +541,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +556,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +565,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +588,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +607,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +633,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +671,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java index 64c319d2c..49568f197 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentDetectionConfigOrBuilder extends +public interface ExplicitContentDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java similarity index 67% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java index e5e2cffc7..4f69fd1ca 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - pornographyLikelihood_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pornographyLikelihood_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private ExplicitContentFrame( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -122,12 +147,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -135,6 +163,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -150,31 +180,43 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Likelihood result = com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p1beta1.Likelihood result = + com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,12 +228,13 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -204,12 +247,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p1beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,17 +262,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.videointelligence.v1p1beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other = + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -255,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame + 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame 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.videointelligence.v1p1beta1.ExplicitContentFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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; } /** + * + * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p1beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.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(); @@ -398,13 +452,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -419,7 +474,8 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame result = + new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -434,46 +490,50 @@ public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p1beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -499,7 +559,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -511,36 +573,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -562,6 +637,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -569,8 +646,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -581,6 +657,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -592,7 +670,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -604,6 +682,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -623,6 +703,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -631,11 +713,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -647,11 +731,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,14 +747,17 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -675,80 +765,100 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.Likelihood result = com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p1beta1.Likelihood result = + com.google.cloud.videointelligence.v1p1beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p1beta1.Likelihood.UNRECOGNIZED + : result; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p1beta1.Likelihood value) { + public Builder setPornographyLikelihood( + com.google.cloud.videointelligence.v1p1beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -758,30 +868,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,9 +905,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java index 50a4ec1f9..17c1891c5 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ExplicitContentFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ExplicitContentFrameOrBuilder extends +public interface ExplicitContentFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,20 +62,26 @@ public interface ExplicitContentFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p1beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p1beta1.Likelihood getPornographyLikelihood(); diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java similarity index 68% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java index fa54def2d..6ae946d28 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Feature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.Feature} */ -public enum Feature - implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Feature */ FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum Feature */ LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum Feature */ SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum Feature */ EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * Speech transcription.
    * 
@@ -56,6 +82,8 @@ public enum Feature ; /** + * + * *
    * Unspecified.
    * 
@@ -64,6 +92,8 @@ public enum Feature */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -72,6 +102,8 @@ public enum Feature */ public static final int LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -80,6 +112,8 @@ public enum Feature */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -88,6 +122,8 @@ public enum Feature */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * Speech transcription.
    * 
@@ -96,7 +132,6 @@ public enum Feature */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,51 +156,56 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: return FEATURE_UNSPECIFIED; - case 1: return LABEL_DETECTION; - case 2: return SHOT_CHANGE_DETECTION; - case 3: return EXPLICIT_CONTENT_DETECTION; - case 6: return SPEECH_TRANSCRIPTION; - default: return null; + case 0: + return FEATURE_UNSPECIFIED; + case 1: + return LABEL_DETECTION; + case 2: + return SHOT_CHANGE_DETECTION; + case 3: + return EXPLICIT_CONTENT_DETECTION; + case 6: + return SPEECH_TRANSCRIPTION; + 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< - Feature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -181,4 +221,3 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.Feature) } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java similarity index 77% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java index b5674894d..f8a30ce28 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelAnnotation} */ -public final class LabelAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) LabelAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,53 +73,71 @@ private LabelAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p1beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - categoryEntities_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.Entity.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelSegment.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.LabelSegment>(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.LabelFrame>(); + mutable_bitField0_ |= 0x00000004; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +145,7 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -126,27 +160,33 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p1beta1.Entity entity_; /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -154,18 +194,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Detected entity.
    * 
@@ -180,6 +227,8 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -190,10 +239,13 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List getCategoryEntitiesList() {
+  public java.util.List
+      getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -204,11 +256,13 @@ public java.util.List getCa
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -223,6 +277,8 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -237,6 +293,8 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -255,6 +313,8 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
@@ -262,10 +322,13 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -273,11 +336,14 @@ public java.util.List * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -289,6 +355,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -300,6 +368,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int return segments_.get(index); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -315,6 +385,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -326,6 +398,8 @@ public java.util.List g return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -333,11 +407,13 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -349,6 +425,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -360,6 +438,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -373,6 +453,7 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,8 +465,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -408,20 +488,16 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,24 +507,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.videointelligence.v1p1beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other = + (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList() - .equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getEntity().equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,117 +555,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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; } /** + * + * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelAnnotation} */ - 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.videointelligence.v1p1beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.newBuilder() @@ -600,19 +683,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,13 +727,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance(); } @@ -665,7 +749,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation result = + new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -707,38 +792,39 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation 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.videointelligence.v1p1beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) other); } else { super.mergeFrom(other); return this; @@ -746,7 +832,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -768,9 +856,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoryEntitiesFieldBuilder() : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoryEntitiesFieldBuilder() + : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -794,9 +883,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -820,9 +910,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -847,7 +938,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,38 +948,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p1beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p1beta1.Entity, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p1beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Detected entity.
      * 
@@ -908,6 +1014,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p1beta1.Entity val return this; } /** + * + * *
      * Detected entity.
      * 
@@ -926,6 +1034,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Detected entity.
      * 
@@ -936,7 +1046,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p1beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -948,6 +1060,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p1beta1.Entity v return this; } /** + * + * *
      * Detected entity.
      * 
@@ -966,6 +1080,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -973,11 +1089,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Detected entity.
      * 
@@ -988,11 +1106,14 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Detected entity.
      * 
@@ -1000,32 +1121,43 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.Entity, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.Entity, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(categoryEntities_); + categoryEntities_ = + new java.util.ArrayList( + categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.Entity, + com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> + categoryEntitiesBuilder_; /** + * + * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1035,7 +1167,8 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List getCategoryEntitiesList() {
+    public java.util.List
+        getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1043,6 +1176,8 @@ public java.util.List getCa
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1060,6 +1195,8 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1077,6 +1214,8 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(i
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1101,6 +1240,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1122,6 +1263,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1145,6 +1288,8 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p1beta1.
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1169,6 +1314,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1190,6 +1337,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1211,6 +1360,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1224,8 +1375,7 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1233,6 +1383,8 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1253,6 +1405,8 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1273,6 +1427,8 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1287,6 +1443,8 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1296,14 +1454,17 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder
+        getCategoryEntitiesOrBuilder(int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);  } else {
+        return categoryEntities_.get(index);
+      } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1313,8 +1474,8 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesOrBuilderList() {
+    public java.util.List
+        getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1322,6 +1483,8 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1331,11 +1494,14 @@ public com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder
+        addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1347,10 +1513,13 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEn
      */
     public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1p1beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1360,16 +1529,22 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesBuilderList() {
+    public java.util.List
+        getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1p1beta1.Entity,
+            com.google.cloud.videointelligence.v1p1beta1.Entity.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.Entity, com.google.cloud.videointelligence.v1p1beta1.Entity.Builder, com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p1beta1.Entity,
+                com.google.cloud.videointelligence.v1p1beta1.Entity.Builder,
+                com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1380,25 +1555,34 @@ public com.google.cloud.videointelligence.v1p1beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(
+                segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1p1beta1.LabelSegment,
+            com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1406,6 +1590,8 @@ public java.util.List } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1420,6 +1606,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1434,6 +1622,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1455,6 +1645,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1462,7 +1654,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1473,6 +1666,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1493,6 +1688,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p1beta1.LabelSeg return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1514,6 +1711,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1532,6 +1731,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1539,7 +1740,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1550,6 +1752,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1557,11 +1761,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1569,6 +1773,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1586,6 +1792,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1603,6 +1811,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1614,6 +1824,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1623,19 +1835,23 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1643,6 +1859,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1650,10 +1868,13 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1662,48 +1883,63 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelSegment, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelSegment, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelSegment, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1718,6 +1954,8 @@ public java.util.List g } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1732,6 +1970,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1746,6 +1986,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int ind } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1767,6 +2009,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1774,7 +2018,8 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1785,6 +2030,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1805,6 +2052,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p1beta1.LabelFrame return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1826,6 +2075,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1844,6 +2095,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1851,7 +2104,8 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1862,6 +2116,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1869,11 +2125,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1881,6 +2137,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1898,6 +2156,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1915,6 +2175,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1926,6 +2188,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1935,19 +2199,23 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1955,6 +2223,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1962,10 +2232,12 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1974,37 +2246,43 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelFrame, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelFrame, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -2014,12 +2292,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation(); } @@ -2028,16 +2307,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2052,6 +2331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java index f38730273..71d03ff77 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelAnnotationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelAnnotationOrBuilder extends +public interface LabelAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p1beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p1beta1.Entity getEntity(); /** + * + * *
    * Detected entity.
    * 
@@ -35,6 +59,8 @@ public interface LabelAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -44,9 +70,10 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
-  java.util.List 
-      getCategoryEntitiesList();
+  java.util.List getCategoryEntitiesList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -58,6 +85,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p1beta1.Entity getCategoryEntities(int index);
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -69,6 +98,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   int getCategoryEntitiesCount();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -78,9 +109,11 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;
    */
-  java.util.List 
+  java.util.List
       getCategoryEntitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -94,15 +127,18 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -111,6 +147,8 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p1beta1.LabelSegment getSegments(int index); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -119,15 +157,19 @@ com.google.cloud.videointelligence.v1p1beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -138,15 +180,18 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -155,6 +200,8 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p1beta1.LabelFrame getFrames(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -163,21 +210,24 @@ com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java similarity index 68% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java index 7d6bf22b0..eadc08afa 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -26,16 +44,15 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - labelDetectionMode_ = rawValue; - break; - } - case 16: { + case 8: + { + int rawValue = input.readEnum(); - stationaryCamera_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: + { + stationaryCamera_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,60 +104,78 @@ private LabelDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED + : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -146,6 +183,7 @@ private LabelDetectionConfig(
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -156,6 +194,8 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -163,6 +203,7 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; + * * @return The model. */ @java.lang.Override @@ -171,14 +212,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -186,16 +228,15 @@ public java.lang.String getModel() {
    * 
* * string model = 3; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -204,6 +245,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,9 +257,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -235,13 +279,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -254,18 +299,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.videointelligence.v1p1beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other = + (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -280,8 +324,7 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -290,134 +333,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig + 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig 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.videointelligence.v1p1beta1.LabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p1beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.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(); @@ -431,13 +485,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -452,7 +507,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig result = + new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -464,46 +520,50 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p1beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance()) + return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -533,7 +593,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,90 +607,118 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode.UNRECOGNIZED + : result; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -636,6 +726,7 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -643,6 +734,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -650,16 +743,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -667,10 +763,11 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -678,6 +775,8 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -685,13 +784,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -700,6 +799,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -707,15 +808,14 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -723,6 +823,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -730,20 +832,22 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -751,15 +855,18 @@ public Builder setModel(
      * 
* * string model = 3; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -767,23 +874,23 @@ public Builder clearModel() {
      * 
* * string model = 3; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -793,30 +900,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +937,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java index 6f3007397..0b0fd0328 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionConfigOrBuilder.java @@ -1,36 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelDetectionConfigOrBuilder extends +public interface LabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p1beta1.LabelDetectionMode getLabelDetectionMode(); /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -38,11 +64,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -50,10 +79,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -61,8 +93,8 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java similarity index 68% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java index 997ec6b30..3e3837bdd 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelDetectionMode.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.LabelDetectionMode} */ -public enum LabelDetectionMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum LabelDetectionMode */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** + * + * *
    * Detect shot-level labels.
    * 
@@ -29,6 +49,8 @@ public enum LabelDetectionMode */ SHOT_MODE(1), /** + * + * *
    * Detect frame-level labels.
    * 
@@ -37,6 +59,8 @@ public enum LabelDetectionMode */ FRAME_MODE(2), /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -48,6 +72,8 @@ public enum LabelDetectionMode ; /** + * + * *
    * Unspecified.
    * 
@@ -56,6 +82,8 @@ public enum LabelDetectionMode */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Detect shot-level labels.
    * 
@@ -64,6 +92,8 @@ public enum LabelDetectionMode */ public static final int SHOT_MODE_VALUE = 1; /** + * + * *
    * Detect frame-level labels.
    * 
@@ -72,6 +102,8 @@ public enum LabelDetectionMode */ public static final int FRAME_MODE_VALUE = 2; /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -80,7 +112,6 @@ public enum LabelDetectionMode */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,41 +136,48 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: return SHOT_MODE; - case 2: return FRAME_MODE; - case 3: return SHOT_AND_FRAME_MODE; - default: return null; + case 0: + return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: + return SHOT_MODE; + case 2: + return FRAME_MODE; + case 3: + return SHOT_AND_FRAME_MODE; + 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< - LabelDetectionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -147,8 +185,7 @@ public LabelDetectionMode findValueByNumber(int number) { public static LabelDetectionMode 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; @@ -164,4 +201,3 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.LabelDetectionMode) } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java similarity index 70% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java index ec3e6a672..e11221933 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrame.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelFrame} */ -public final class LabelFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelFrame) LabelFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelFrame() { - } + + private LabelFrame() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private LabelFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,35 +102,40 @@ private LabelFrame( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -120,12 +143,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -133,6 +159,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -148,11 +176,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -161,6 +192,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -190,12 +221,10 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +234,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.videointelligence.v1p1beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelFrame other = + (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,125 +264,134 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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; } /** + * + * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelFrame} */ - 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.videointelligence.v1p1beta1.LabelFrame) com.google.cloud.videointelligence.v1p1beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p1beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelFrame.newBuilder() @@ -362,16 +399,15 @@ 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(); @@ -387,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; } @java.lang.Override @@ -408,7 +444,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p1beta1.LabelFrame result = + new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -423,38 +460,39 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelFrame 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.videointelligence.v1p1beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelFrame) other); } else { super.mergeFrom(other); return this; @@ -462,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -488,7 +527,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,36 +540,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -551,6 +604,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -558,8 +613,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -570,6 +624,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -581,7 +637,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -593,6 +649,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -612,6 +670,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -620,11 +680,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,11 +698,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -649,26 +714,32 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -676,37 +747,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p1beta1.LabelFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelFrame(); } @@ -730,16 +807,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java index b07cb0987..e67a97b7c 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelFrameOrBuilder extends +public interface LabelFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,11 +62,14 @@ public interface LabelFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java similarity index 69% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java index aa9164eac..e75e28dad 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelSegment} */ -public final class LabelSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.LabelSegment) LabelSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSegment() { - } + + private LabelSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private LabelSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private LabelSegment( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p1beta1.VideoSegment segment_; /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -119,18 +144,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -145,11 +177,14 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -158,6 +193,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +205,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -187,12 +222,10 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,21 +235,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.videointelligence.v1p1beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p1beta1.LabelSegment other = + (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +265,134 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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; } /** + * + * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.LabelSegment} */ - 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.videointelligence.v1p1beta1.LabelSegment) com.google.cloud.videointelligence.v1p1beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p1beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.LabelSegment.newBuilder() @@ -359,16 +400,15 @@ 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(); @@ -384,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; } @java.lang.Override @@ -405,7 +445,8 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p1beta1.LabelSegment result = + new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -420,38 +461,39 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelSegment 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.videointelligence.v1p1beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.LabelSegment) other); } else { super.mergeFrom(other); return this; @@ -459,7 +501,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.LabelSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -485,7 +528,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,34 +541,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p1beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -545,6 +602,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSegm return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -563,6 +622,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -573,7 +634,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -585,6 +648,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p1beta1.VideoSe return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -603,6 +668,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -610,26 +677,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -637,26 +710,32 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -664,37 +743,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -704,12 +789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p1beta1.LabelSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.LabelSegment(); } @@ -718,16 +803,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java similarity index 65% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java index 58c118f29..c1d05c13b 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/LabelSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface LabelSegmentOrBuilder extends +public interface LabelSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p1beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -35,11 +59,14 @@ public interface LabelSegmentOrBuilder extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java similarity index 67% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java index a9a55a5a0..5d892e15e 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/Likelihood.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p1beta1.Likelihood} */ -public enum Likelihood - implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified likelihood.
    * 
@@ -21,6 +39,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Very unlikely.
    * 
@@ -29,6 +49,8 @@ public enum Likelihood */ VERY_UNLIKELY(1), /** + * + * *
    * Unlikely.
    * 
@@ -37,6 +59,8 @@ public enum Likelihood */ UNLIKELY(2), /** + * + * *
    * Possible.
    * 
@@ -45,6 +69,8 @@ public enum Likelihood */ POSSIBLE(3), /** + * + * *
    * Likely.
    * 
@@ -53,6 +79,8 @@ public enum Likelihood */ LIKELY(4), /** + * + * *
    * Very likely.
    * 
@@ -64,6 +92,8 @@ public enum Likelihood ; /** + * + * *
    * Unspecified likelihood.
    * 
@@ -72,6 +102,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Very unlikely.
    * 
@@ -80,6 +112,8 @@ public enum Likelihood */ public static final int VERY_UNLIKELY_VALUE = 1; /** + * + * *
    * Unlikely.
    * 
@@ -88,6 +122,8 @@ public enum Likelihood */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Possible.
    * 
@@ -96,6 +132,8 @@ public enum Likelihood */ public static final int POSSIBLE_VALUE = 3; /** + * + * *
    * Likely.
    * 
@@ -104,6 +142,8 @@ public enum Likelihood */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Very likely.
    * 
@@ -112,7 +152,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,58 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -198,4 +243,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p1beta1.Likelihood) } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java similarity index 65% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java index 5187ae6c1..abfa94593 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ShotChangeDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1p1beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +231,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig + 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig 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; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.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(); @@ -345,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -366,7 +403,8 @@ public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +414,51 @@ public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p1beta1.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +496,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +520,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +529,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +544,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +553,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +576,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +595,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java index 121a9585f..74c6d0bf7 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ShotChangeDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface ShotChangeDetectionConfigOrBuilder extends +public interface ShotChangeDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java similarity index 76% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java index 3002c53e9..ac6126fc7 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContext.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechContext}
  */
-public final class SpeechContext extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechContext)
     SpeechContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,22 +72,23 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              phrases_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                phrases_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              phrases_.add(s);
+              break;
             }
-            phrases_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,8 +96,7 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -88,22 +105,27 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class,
+            com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
+   *
+   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -114,13 +136,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_; } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -131,12 +155,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -147,6 +174,7 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -154,6 +182,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -164,15 +194,16 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +215,7 @@ 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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -214,15 +244,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.videointelligence.v1p1beta1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechContext other = (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechContext other = + (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) obj; - if (!getPhrasesList() - .equals(other.getPhrasesList())) return false; + if (!getPhrasesList().equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,96 +274,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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; } /** + * + * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -341,21 +379,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechContext}
    */
-  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.videointelligence.v1p1beta1.SpeechContext)
       com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.class,
+              com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechContext.newBuilder()
@@ -363,16 +403,15 @@ 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();
@@ -382,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -403,7 +442,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.SpeechContext result = new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1p1beta1.SpeechContext result =
+          new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -418,38 +458,39 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext 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.videointelligence.v1p1beta1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechContext)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechContext) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -457,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance())
+        return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -487,7 +529,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p1beta1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -496,16 +539,21 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList phrases_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -516,13 +564,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -533,12 +583,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -549,6 +602,7 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -556,6 +610,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -566,14 +622,16 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -584,21 +642,23 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases( - int index, java.lang.String value) { + public Builder setPhrases(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -609,20 +669,22 @@ public Builder setPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases( - java.lang.String value) { + public Builder addPhrases(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -633,18 +695,19 @@ public Builder addPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases( - java.lang.Iterable values) { + public Builder addAllPhrases(java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -655,6 +718,7 @@ public Builder addAllPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -664,6 +728,8 @@ public Builder clearPhrases() { return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -674,23 +740,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes( - com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -700,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechContext) private static final com.google.cloud.videointelligence.v1p1beta1.SpeechContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechContext(); } @@ -714,16 +780,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.SpeechContext getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java similarity index 78% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java index caa989cc5..c9352d268 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechContextOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechContextOrBuilder extends +public interface SpeechContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -18,11 +36,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - java.util.List - getPhrasesList(); + java.util.List getPhrasesList(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -33,10 +53,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ int getPhrasesCount(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -47,11 +70,14 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -62,9 +88,9 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString - getPhrasesBytes(int index); + com.google.protobuf.ByteString getPhrasesBytes(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java similarity index 72% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java index d307a0474..1bf3e5367 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternative.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,39 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - transcript_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + transcript_ = s; + break; } - words_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.WordInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 21: + { + confidence_ = input.readFloat(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.WordInfo>(); + mutable_bitField0_ |= 0x00000001; + } + words_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.WordInfo.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +112,7 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -99,27 +121,34 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + .class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** + * + * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ @java.lang.Override @@ -128,29 +157,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** + * + * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -161,6 +190,8 @@ public java.lang.String getTranscript() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -171,6 +202,7 @@ public java.lang.String getTranscript() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -181,6 +213,8 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -192,6 +226,8 @@ public java.util.List get return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -199,11 +235,13 @@ public java.util.List get * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -215,6 +253,8 @@ public int getWordsCount() { return words_.size(); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -226,6 +266,8 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index) return words_.get(index); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -239,6 +281,7 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +293,7 @@ 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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -274,12 +316,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,20 +329,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.videointelligence.v1p1beta1.SpeechRecognitionAlternative)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other = + (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) obj; - if (!getTranscript() - .equals(other.getTranscript())) return false; + if (!getTranscript().equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getWordsList() - .equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getWordsList().equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,8 +356,7 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -329,135 +367,148 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative + 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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; } /** + * + * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,19 +526,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative build() { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -495,8 +549,10 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(this); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + buildPartial() { + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative result = + new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -517,46 +573,52 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative 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.videointelligence.v1p1beta1.SpeechRecognitionAlternative) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative)other); + if (other + instanceof com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + .getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -582,9 +644,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechReco wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -605,11 +668,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parsedMessage = null; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,22 +684,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object transcript_ = ""; /** + * + * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -642,20 +711,21 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -663,61 +733,70 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript( - java.lang.String value) { + public Builder setTranscript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** + * + * *
      * Output only. Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes( - com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -728,6 +807,7 @@ public Builder setTranscriptBytes(
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -735,6 +815,8 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -745,16 +827,19 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -765,28 +850,36 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(words_); + words_ = + new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> wordsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.WordInfo, + com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> + wordsBuilder_; /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -801,6 +894,8 @@ public java.util.List get } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -815,6 +910,8 @@ public int getWordsCount() { } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -829,6 +926,8 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index) } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -850,6 +949,8 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -868,6 +969,8 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -888,6 +991,8 @@ public Builder addWords(com.google.cloud.videointelligence.v1p1beta1.WordInfo va return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -909,6 +1014,8 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -927,6 +1034,8 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -945,6 +1054,8 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -952,11 +1063,11 @@ public Builder addWords( * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ public Builder addAllWords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -964,6 +1075,8 @@ public Builder addAllWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -981,6 +1094,8 @@ public Builder clearWords() { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -998,6 +1113,8 @@ public Builder removeWords(int index) { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1009,6 +1126,8 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder getWordsBui return getWordsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1018,19 +1137,22 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder getWordsBui public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder( int index) { if (wordsBuilder_ == null) { - return words_.get(index); } else { + return words_.get(index); + } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1038,6 +1160,8 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1045,10 +1169,12 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOr * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
@@ -1057,37 +1183,43 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBui */ public com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder addWordsBuilder( int index) { - return getWordsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.WordInfo, + com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.WordInfo, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder>( - words_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + wordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.WordInfo, + com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder>( + words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; } + @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); } @@ -1097,30 +1229,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,9 +1267,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java similarity index 75% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java index 143eff3c7..78615e9f5 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechRecognitionAlternativeOrBuilder extends +public interface SpeechRecognitionAlternativeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ java.lang.String getTranscript(); /** + * + * *
    * Output only. Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - com.google.protobuf.ByteString - getTranscriptBytes(); + com.google.protobuf.ByteString getTranscriptBytes(); /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -38,20 +61,24 @@ public interface SpeechRecognitionAlternativeOrBuilder extends
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - java.util.List - getWordsList(); + java.util.List getWordsList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -60,6 +87,8 @@ public interface SpeechRecognitionAlternativeOrBuilder extends */ com.google.cloud.videointelligence.v1p1beta1.WordInfo getWords(int index); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
@@ -68,21 +97,24 @@ public interface SpeechRecognitionAlternativeOrBuilder extends */ int getWordsCount(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - java.util.List + java.util.List getWordsOrBuilderList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * 
* * repeated .google.cloud.videointelligence.v1p1beta1.WordInfo words = 3; */ - com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder getWordsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java similarity index 64% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java index 78cb61017..1e66be667 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscription.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscription} */ -public final class SpeechTranscription extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) SpeechTranscriptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscription() { alternatives_ = 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 SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,29 @@ private SpeechTranscription( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1 + .SpeechRecognitionAlternative>(); + mutable_bitField0_ |= 0x00000001; + } + alternatives_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + .parser(), + extensionRegistry)); + break; } - alternatives_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +101,7 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -87,22 +110,28 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List alternatives_; + private java.util.List + alternatives_; /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -110,13 +139,18 @@ private SpeechTranscription(
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { return alternatives_; } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -124,14 +158,20 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends
+              com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder>
       getAlternativesOrBuilderList() {
     return alternatives_;
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -139,13 +179,17 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
   public int getAlternativesCount() {
     return alternatives_.size();
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -153,13 +197,18 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives( + int index) { return alternatives_.get(index); } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -167,15 +216,18 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { return alternatives_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +239,7 @@ 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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -202,8 +253,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -213,15 +263,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.videointelligence.v1p1beta1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other = + (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) obj; - if (!getAlternativesList() - .equals(other.getAlternativesList())) return false; + if (!getAlternativesList().equals(other.getAlternativesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -243,117 +293,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription 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.videointelligence.v1p1beta1.SpeechTranscription prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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; } /** + * + * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscription} */ - 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.videointelligence.v1p1beta1.SpeechTranscription) com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.newBuilder() @@ -361,17 +421,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) { getAlternativesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,13 +445,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance(); } @@ -406,7 +467,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription build() @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription result = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription result = + new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -425,46 +487,50 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription 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) { + 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.videointelligence.v1p1beta1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()) + return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -483,9 +549,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTran alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAlternativesFieldBuilder() : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAlternativesFieldBuilder() + : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -510,7 +577,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,21 +588,32 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List alternatives_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative> + alternatives_ = java.util.Collections.emptyList(); + private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(alternatives_); + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative>( + alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + alternativesBuilder_; /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -541,9 +621,12 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -551,6 +634,8 @@ public java.util.List * May contain one or more recognition hypotheses (up to the maximum specified * in `max_alternatives`). These alternatives are ordered in terms of @@ -558,7 +643,9 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -568,6 +655,8 @@ public int getAlternativesCount() { } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -575,9 +664,12 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + getAlternatives(int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -585,6 +677,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -592,10 +686,13 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -609,6 +706,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -616,10 +715,14 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -630,6 +733,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -637,9 +742,12 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public Builder addAlternatives(com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + public Builder addAlternatives( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -653,6 +761,8 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1p1beta1.Spee return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -660,10 +770,13 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1p1beta1.Spee
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -677,6 +790,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -684,10 +799,13 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -698,6 +816,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -705,10 +825,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -719,6 +843,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -726,14 +852,17 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAllAlternatives( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative> + values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -741,6 +870,8 @@ public Builder addAllAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -748,7 +879,9 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -761,6 +894,8 @@ public Builder clearAlternatives() { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -768,7 +903,9 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -781,6 +918,8 @@ public Builder removeAlternatives(int index) { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -788,13 +927,17 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + getAlternativesBuilder(int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -802,16 +945,21 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); } else { + return alternatives_.get(index); + } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -819,10 +967,14 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -830,6 +982,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -837,13 +991,20 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { - return getAlternativesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder() { + return getAlternativesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -851,14 +1012,21 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( - int index) { - return getAlternativesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder(int index) { + return getAlternativesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -866,29 +1034,35 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder> + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + alternativesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); alternatives_ = null; } return alternativesBuilder_; } + @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); } @@ -898,30 +1072,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,9 +1109,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java similarity index 70% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java index 7d68bf7a8..d72b44cc6 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,64 +73,72 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: { - - maxAlternatives_ = input.readInt32(); - break; - } - case 24: { - - filterProfanity_ = input.readBool(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + languageCode_ = s; + break; } - speechContexts_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechContext.parser(), extensionRegistry)); - break; - } - case 40: { - - enableAutomaticPunctuation_ = input.readBool(); - break; - } - case 48: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + maxAlternatives_ = input.readInt32(); + break; } - audioTracks_.addInt(input.readInt32()); - break; - } - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 24: + { + filterProfanity_ = input.readBool(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.SpeechContext>(); + mutable_bitField0_ |= 0x00000001; + } + speechContexts_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.parser(), + extensionRegistry)); + break; } - while (input.getBytesUntilLimit() > 0) { + case 40: + { + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } audioTracks_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + audioTracks_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,8 +146,7 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -134,22 +158,27 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -159,6 +188,7 @@ private SpeechTranscriptionConfig(
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ @java.lang.Override @@ -167,14 +197,15 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -184,16 +215,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -204,6 +234,8 @@ public java.lang.String getLanguageCode() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -213,6 +245,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -223,6 +256,8 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -231,6 +266,7 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -239,68 +275,93 @@ public boolean getFilterProfanity() { } public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; - private java.util.List speechContexts_; + private java.util.List + speechContexts_; /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> getSpeechContextsOrBuilderList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder + getSpeechContextsOrBuilder(int index) { return speechContexts_.get(index); } public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -311,6 +372,7 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSp
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -321,47 +383,57 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List - getAudioTracksList() { + public java.util.List getAudioTracksList() { return audioTracks_; } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } + private int audioTracksMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,8 +445,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -411,32 +482,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } @@ -448,25 +514,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.videointelligence.v1p1beta1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() - != other.getMaxAlternatives()) return false; - if (getFilterProfanity() - != other.getFilterProfanity()) return false; - if (!getSpeechContextsList() - .equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() - != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList() - .equals(other.getAudioTracksList())) return false; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other = + (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() != other.getMaxAlternatives()) return false; + if (getFilterProfanity() != other.getFilterProfanity()) return false; + if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -483,15 +544,13 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); @@ -502,135 +561,147 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig + 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig 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; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.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) { getSpeechContextsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -654,19 +725,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig build() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -675,7 +749,8 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig result = + new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -703,46 +778,51 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig bu 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.videointelligence.v1p1beta1.SpeechTranscriptionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .getDefaultInstance()) return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -771,9 +851,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.SpeechTran speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechContextsFieldBuilder() : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechContextsFieldBuilder() + : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -811,7 +892,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -820,10 +903,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object languageCode_ = ""; /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -833,13 +919,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -848,6 +934,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -857,15 +945,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -873,6 +960,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -882,20 +971,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -905,15 +996,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -923,23 +1017,25 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_ ; + private int maxAlternatives_; /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -949,6 +1045,7 @@ public Builder setLanguageCodeBytes(
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -956,6 +1053,8 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -965,16 +1064,19 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -984,17 +1086,20 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_ ; + private boolean filterProfanity_; /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1003,6 +1108,7 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -1010,6 +1116,8 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1018,16 +1126,19 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1036,35 +1147,47 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } - private java.util.List speechContexts_ = - java.util.Collections.emptyList(); + private java.util.List + speechContexts_ = java.util.Collections.emptyList(); + private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(speechContexts_); + speechContexts_ = + new java.util.ArrayList( + speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> speechContextsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> + speechContextsBuilder_; /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1072,11 +1195,15 @@ public java.util.List * Optional. A means to provide context to assist the speech recognition. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1086,11 +1213,15 @@ public int getSpeechContextsCount() { } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1100,11 +1231,15 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechConte } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { @@ -1121,14 +1256,19 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.set(index, builderForValue.build()); @@ -1139,13 +1279,18 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { + public Builder addSpeechContexts( + com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { if (speechContextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1159,11 +1304,15 @@ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p1beta1.Sp return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext value) { @@ -1180,11 +1329,15 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { @@ -1198,14 +1351,19 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.add(index, builderForValue.build()); @@ -1216,18 +1374,22 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllSpeechContexts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1235,11 +1397,15 @@ public Builder addAllSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1252,11 +1418,15 @@ public Builder clearSpeechContexts() { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1269,39 +1439,53 @@ public Builder removeSpeechContexts(int index) { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder getSpeechContextsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder + getSpeechContextsBuilder(int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder + getSpeechContextsOrBuilder(int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); } else { + return speechContexts_.get(index); + } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1309,45 +1493,67 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSp } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder + addSpeechContextsBuilder() { + return getSpeechContextsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpeechContextsBuilder( - int index) { - return getSpeechContextsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder + addSpeechContextsBuilder(int index) { + return getSpeechContextsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechContext, com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder>( + speechContextsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechContext, + com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1357,8 +1563,10 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpe return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_ ; + private boolean enableAutomaticPunctuation_; /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1369,6 +1577,7 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechContext.Builder addSpe
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1376,6 +1585,8 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1386,16 +1597,19 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1406,55 +1620,66 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); + private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ - public java.util.List - getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; + public java.util.List getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(audioTracks_) + : audioTracks_; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1462,30 +1687,35 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks( - int index, int value) { + public Builder setAudioTracks(int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1496,30 +1726,34 @@ public Builder addAudioTracks(int value) { return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks( - java.lang.Iterable values) { + public Builder addAllAudioTracks(java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1528,9 +1762,9 @@ public Builder clearAudioTracks() { 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); } @@ -1540,30 +1774,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1575,9 +1811,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java index 234ebc7c1..48abab930 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechTranscriptionConfigOrBuilder extends +public interface SpeechTranscriptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -17,10 +35,13 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -30,12 +51,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -45,11 +68,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ int getMaxAlternatives(); /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -58,55 +84,78 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ boolean getFilterProfanity(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSpeechContextsList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p1beta1.SpeechContext getSpeechContexts(int index); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getSpeechContextsCount(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -117,37 +166,47 @@ com.google.cloud.videointelligence.v1p1beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ int getAudioTracksCount(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java similarity index 57% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java index d99f89c3c..c46c1dec3 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/SpeechTranscriptionOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface SpeechTranscriptionOrBuilder extends +public interface SpeechTranscriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -15,11 +33,15 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List getAlternativesList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -27,10 +49,15 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives(int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative getAlternatives( + int index); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -38,10 +65,14 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ int getAlternativesCount(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,11 +80,17 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -61,8 +98,10 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java similarity index 70% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java index 3c2c424ea..96b6ac7a2 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgress.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,55 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - - progressPercent_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + inputUri_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + progressPercent_ = input.readInt32(); + break; } + case 26: + { + 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; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +126,40 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -141,30 +168,30 @@ 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; } } /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -175,12 +202,15 @@ public java.lang.String getInputUri() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** + * + * *
    * Output only. Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -191,11 +221,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -203,11 +236,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -215,6 +251,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Time when the request was received.
    * 
@@ -229,11 +267,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -241,11 +282,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -253,6 +297,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time of the most recent update.
    * 
@@ -265,6 +311,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +323,7 @@ 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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -303,16 +349,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,26 +365,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.videointelligence.v1p1beta1.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other = + (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (getProgressPercent() - != other.getProgressPercent()) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (getProgressPercent() != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -372,134 +412,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress + 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress 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.videointelligence.v1p1beta1.VideoAnnotationProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress 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; } /** + * + * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p1beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.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(); @@ -523,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + .getDefaultInstance(); } @java.lang.Override @@ -544,7 +597,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress result = + new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -565,46 +619,51 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress buil 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.videointelligence.v1p1beta1.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -637,7 +696,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,19 +710,21 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -670,21 +733,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -692,70 +756,80 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -763,32 +837,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -796,24 +876,33 @@ public Builder clearProgressPercent() { 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. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Output only. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -824,6 +913,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Time when the request was received.
      * 
@@ -844,14 +935,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -862,6 +954,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Time when the request was received.
      * 
@@ -872,7 +966,7 @@ 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; } @@ -884,6 +978,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the request was received.
      * 
@@ -902,6 +998,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Time when the request was received.
      * 
@@ -909,11 +1007,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the request was received.
      * 
@@ -924,11 +1024,12 @@ 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. Time when the request was received.
      * 
@@ -936,14 +1037,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -951,34 +1055,47 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -999,14 +1116,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1017,6 +1135,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -1027,7 +1147,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1039,6 +1159,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -1057,6 +1179,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -1064,11 +1188,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -1079,11 +1205,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time of the most recent update.
      * 
@@ -1091,21 +1220,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @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); } @@ -1115,30 +1247,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,9 +1284,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java similarity index 74% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java index f14708f97..a8f0333d3 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationProgressOrBuilder.java @@ -1,64 +1,96 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface VideoAnnotationProgressOrBuilder extends +public interface VideoAnnotationProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Output only. Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Time when the request was received.
    * 
@@ -68,24 +100,32 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time of the most recent update.
    * 
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java similarity index 64% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java index 802045313..2bf29f9d3 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResults.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -30,16 +48,15 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,90 +76,123 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - segmentLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - shotLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - frameLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + shotLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000004; + } + frameLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000008; + } + shotAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), + extensionRegistry)); + break; } + case 58: + { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder + subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); + } + explicitAnnotation_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - 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; } + case 74: + { + 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; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - speechTranscriptions_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 90: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + speechTranscriptions_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription>(); + mutable_bitField0_ |= 0x00000010; + } + speechTranscriptions_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,8 +200,7 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -172,28 +221,34 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -202,30 +257,30 @@ 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; } } /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -234,268 +289,364 @@ public java.lang.String getInputUri() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List segmentLabelAnnotations_; + private java.util.List + segmentLabelAnnotations_; /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { return segmentLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List shotLabelAnnotations_; + private java.util.List + shotLabelAnnotations_; /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations( + int index) { return shotLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List frameLabelAnnotations_; + private java.util.List + frameLabelAnnotations_; /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { return frameLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { return frameLabelAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List shotAnnotations_; + private java.util.List + shotAnnotations_; /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + explicitAnnotation_; /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -503,98 +654,139 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + getExplicitAnnotation() { + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List speechTranscriptions_; + private java.util.List + speechTranscriptions_; /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( + int index) { return speechTranscriptions_.get(index); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { return speechTranscriptions_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ @java.lang.Override @@ -602,12 +794,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ @java.lang.Override @@ -615,6 +810,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -628,6 +825,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -639,8 +837,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -678,32 +875,32 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, frameLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, speechTranscriptions_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              11, speechTranscriptions_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -713,34 +910,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.videointelligence.v1p1beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) obj;
-
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList()
-        .equals(other.getSegmentLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList()
-        .equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList()
-        .equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getShotAnnotationsList()
-        .equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other =
+        (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) obj;
+
+    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
+      return false;
+    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation()
-          .equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
     }
-    if (!getSpeechTranscriptionsList()
-        .equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -789,132 +980,143 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults
+      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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults 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.videointelligence.v1p1beta1.VideoAnnotationResults prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults 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;
   }
   /**
+   *
+   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p1beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -922,6 +1124,7 @@ private void maybeForceBuilderInitialization() { getSpeechTranscriptionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -973,14 +1176,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults + .getDefaultInstance(); } @java.lang.Override @@ -994,12 +1199,14 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults result = + new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1060,46 +1267,51 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults build 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.videointelligence.v1p1beta1.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults other) { + if (other + == com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1122,9 +1334,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnot segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentLabelAnnotationsFieldBuilder() : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentLabelAnnotationsFieldBuilder() + : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1148,9 +1361,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnot shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotLabelAnnotationsFieldBuilder() : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotLabelAnnotationsFieldBuilder() + : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1174,9 +1388,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnot frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFrameLabelAnnotationsFieldBuilder() : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFrameLabelAnnotationsFieldBuilder() + : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1200,9 +1415,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnot shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotAnnotationsFieldBuilder() : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotAnnotationsFieldBuilder() + : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1229,9 +1445,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoAnnot speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000010); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechTranscriptionsFieldBuilder() : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechTranscriptionsFieldBuilder() + : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -1259,7 +1476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1268,23 +1487,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -1293,21 +1515,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -1315,83 +1538,101 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Output only. Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private java.util.List segmentLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + new java.util.ArrayList( + segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + segmentLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1399,12 +1640,16 @@ public java.util.List * Label annotations on video level or user specified segment level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1414,14 +1659,19 @@ public int getSegmentLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1429,12 +1679,16 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLa } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1451,15 +1705,20 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1470,14 +1729,19 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1491,12 +1755,16 @@ public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1513,12 +1781,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -1532,15 +1804,20 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1551,19 +1828,23 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -1571,12 +1852,16 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1589,12 +1874,16 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1607,42 +1896,56 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + getSegmentLabelAnnotationsBuilder(int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); } else { + return segmentLabelAnnotations_.get(index); + } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1650,48 +1953,70 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( - int index) { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder(int index) { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1701,27 +2026,38 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addS return segmentLabelAnnotationsBuilder_; } - private java.util.List shotLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); + shotLabelAnnotations_ = + new java.util.ArrayList( + shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + shotLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -1729,12 +2065,16 @@ public java.util.List * Label annotations on shot level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -1744,14 +2084,19 @@ public int getShotLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations( + int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -1759,12 +2104,16 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabel } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1781,15 +2130,20 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -1800,14 +2154,19 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1821,12 +2180,16 @@ public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p1be return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -1843,12 +2206,16 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -1862,15 +2229,20 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -1881,19 +2253,23 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -1901,12 +2277,16 @@ public Builder addAllShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -1919,12 +2299,16 @@ public Builder clearShotLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -1937,42 +2321,56 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + getShotLabelAnnotationsBuilder(int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); } else { + return shotLabelAnnotations_.get(index); + } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1980,48 +2378,70 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( - int index) { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder(int index) { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2031,27 +2451,38 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addS return shotLabelAnnotationsBuilder_; } - private java.util.List frameLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + frameLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); + frameLabelAnnotations_ = + new java.util.ArrayList( + frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + frameLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2059,12 +2490,16 @@ public java.util.List * Label annotations on frame level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2074,14 +2509,19 @@ public int getFrameLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2089,12 +2529,16 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabe } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2111,15 +2555,20 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2130,14 +2579,19 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2151,12 +2605,16 @@ public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p1b return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation value) { @@ -2173,12 +2631,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { @@ -2192,15 +2654,20 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2211,19 +2678,23 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2231,12 +2702,16 @@ public Builder addAllFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2249,12 +2724,16 @@ public Builder clearFrameLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2267,42 +2746,56 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + getFrameLabelAnnotationsBuilder(int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); } else { + return frameLabelAnnotations_.get(index); + } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2310,48 +2803,70 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( - int index) { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder(int index) { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2361,26 +2876,36 @@ public com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation.Builder addF return frameLabelAnnotationsBuilder_; } - private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); + shotAnnotations_ = + new java.util.ArrayList( + shotAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + shotAnnotationsBuilder_; /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -2388,11 +2913,14 @@ public java.util.List } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -2402,11 +2930,14 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2416,11 +2947,14 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotati } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { @@ -2437,14 +2971,18 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -2455,13 +2993,17 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { + public Builder addShotAnnotations( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2475,11 +3017,14 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p1beta1.V return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment value) { @@ -2496,11 +3041,14 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { @@ -2514,14 +3062,18 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( - int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -2532,18 +3084,21 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder addAllShotAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -2551,11 +3106,14 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -2568,11 +3126,14 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2585,39 +3146,50 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getShotAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder + getShotAnnotationsBuilder(int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2625,45 +3197,64 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSho } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder + addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addShotAnnotationsBuilder( - int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder + addShotAnnotationsBuilder(int index) { + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2673,43 +3264,66 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addShot return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2723,14 +3337,19 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p1beta return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder + builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -2741,17 +3360,25 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -2763,11 +3390,15 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p1be return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -2781,73 +3412,104 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List speechTranscriptions_ = - java.util.Collections.emptyList(); + private java.util.List + speechTranscriptions_ = java.util.Collections.emptyList(); + private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); + speechTranscriptions_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription>( + speechTranscriptions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + speechTranscriptionsBuilder_; /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -2855,11 +3517,15 @@ public java.util.List * Speech transcription. *
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -2869,13 +3535,18 @@ public int getSpeechTranscriptionsCount() { } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( + int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -2883,11 +3554,15 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeec } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { @@ -2904,14 +3579,19 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -2922,13 +3602,18 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { + public Builder addSpeechTranscriptions( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2942,11 +3627,15 @@ public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p1be return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription value) { @@ -2963,11 +3652,15 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { @@ -2981,14 +3674,19 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -2999,18 +3697,23 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription> + values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -3018,11 +3721,15 @@ public Builder addAllSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -3035,11 +3742,15 @@ public Builder clearSpeechTranscriptions() { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -3052,39 +3763,53 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder + getSpeechTranscriptionsBuilder(int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); } else { + return speechTranscriptions_.get(index); + } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -3092,45 +3817,69 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + .getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( - int index) { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder(int index) { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription + .getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -3142,26 +3891,33 @@ public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription.Builder 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. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3172,6 +3928,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3193,6 +3951,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3200,8 +3960,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -3212,6 +3971,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3222,8 +3983,7 @@ public Builder setError(
     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;
         }
@@ -3235,6 +3995,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3254,6 +4016,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3262,11 +4026,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3278,11 +4044,12 @@ 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. If set, indicates an error. Note that for a single
      * `AnnotateVideoRequest` some videos may succeed and some may fail.
@@ -3291,21 +4058,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -3315,30 +4082,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationResults parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationResults(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationResults parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationResults(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3350,9 +4119,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
similarity index 60%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
index 65b755a57..23562467c 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,317 +1,459 @@
+/*
+ * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
-public interface VideoAnnotationResultsOrBuilder extends
+public interface VideoAnnotationResultsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Output only. Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations(int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getSegmentLabelAnnotations( + int index); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ int getSegmentLabelAnnotationsCount(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getShotLabelAnnotations(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ int getShotLabelAnnotationsCount(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation shot_label_annotations = 3; + * */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1p1beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ int getFrameLabelAnnotationsCount(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p1beta1.LabelAnnotation frame_label_annotations = 4; + * */ - com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p1beta1.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions(int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscription getSpeechTranscriptions( + int index); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ int getSpeechTranscriptionsCount(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p1beta1.SpeechTranscription speech_transcriptions = 11; + * */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index); /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Output only. If set, indicates an error. Note that for a single
    * `AnnotateVideoRequest` some videos may succeed and some may fail.
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
similarity index 63%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
index b1f073c52..f6420662c 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
+++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContext.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
 /**
+ *
+ *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoContext} */ -public final class VideoContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoContext) VideoContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,74 +71,102 @@ private VideoContext( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p1beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.parser(), + extensionRegistry)); + break; } - shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder subBuilder = + null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder + subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); + } + shotChangeDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder subBuilder = null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); + case 34: + { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder + subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder + subBuilder = null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); + } + speechTranscriptionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +174,7 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -139,22 +183,27 @@ private VideoContext( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -164,10 +213,13 @@ private VideoContext(
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List getSegmentsList() {
+  public java.util.List
+      getSegmentsList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -177,11 +229,14 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -195,6 +250,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -208,6 +265,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -225,11 +284,16 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -237,37 +301,56 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + getLabelDetectionConfig() { + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -275,37 +358,57 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -313,37 +416,57 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + speechTranscriptionConfig_; /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -351,30 +474,45 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,8 +524,7 @@ 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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -413,24 +550,26 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLabelDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getShotChangeDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExplicitContentDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getExplicitContentDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSpeechTranscriptionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getSpeechTranscriptionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,34 +579,34 @@ 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.videointelligence.v1p1beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.VideoContext other = (com.google.cloud.videointelligence.v1p1beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p1beta1.VideoContext other = + (com.google.cloud.videointelligence.v1p1beta1.VideoContext) obj; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) + return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig() - .equals(other.getSpeechTranscriptionConfig())) return false; + if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -506,117 +645,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.VideoContext 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; } /** + * + * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoContext} */ - 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.videointelligence.v1p1beta1.VideoContext) com.google.cloud.videointelligence.v1p1beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p1beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoContext.newBuilder() @@ -624,17 +773,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) { getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -672,9 +821,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; } @java.lang.Override @@ -693,7 +842,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoContext result = new com.google.cloud.videointelligence.v1p1beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p1beta1.VideoContext result = + new com.google.cloud.videointelligence.v1p1beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -732,38 +882,39 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoContext 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.videointelligence.v1p1beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoContext)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoContext) other); } else { super.mergeFrom(other); return this; @@ -771,7 +922,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoContext.getDefaultInstance()) + return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -790,9 +942,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -829,7 +982,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -838,21 +992,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1p1beta1.VideoSegment, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -861,7 +1024,8 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List getSegmentsList() {
+    public java.util.List
+        getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -869,6 +1033,8 @@ public java.util.List
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -885,6 +1051,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -901,6 +1069,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -924,6 +1094,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -933,7 +1105,8 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -944,6 +1117,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -966,6 +1141,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p1beta1.VideoSeg
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -989,6 +1166,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1009,6 +1188,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1018,7 +1199,8 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1029,6 +1211,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1038,11 +1222,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1050,6 +1234,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1069,6 +1255,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1088,6 +1276,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1101,6 +1291,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1112,11 +1304,14 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1125,8 +1320,9 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1134,6 +1330,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1143,10 +1341,13 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1157,10 +1358,14 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1169,20 +1374,23 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p1beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p1beta1.VideoSegment, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p1beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1190,41 +1398,62 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig,
+            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>
+        labelDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig + getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,11 +1467,15 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p1be return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1256,17 +1489,25 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.newBuilder( + labelDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1278,11 +1519,15 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p1 return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1296,90 +1541,131 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), - getParentForChildren(), - isClean()); + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), getParentForChildren(), isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> + shotChangeDetectionConfigBuilder_; /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1393,14 +1679,19 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder + builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1411,17 +1702,25 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.newBuilder( + shotChangeDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1433,11 +1732,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1451,90 +1754,133 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), - getParentForChildren(), - isClean()); + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), getParentForChildren(), isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null + || explicitContentDetectionConfig_ != null; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1548,14 +1894,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1566,17 +1917,25 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .newBuilder(explicitContentDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1588,11 +1947,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1606,90 +1969,133 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder + getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), - getParentForChildren(), - isClean()); + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1 + .ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> + speechTranscriptionConfigBuilder_; /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1703,14 +2109,19 @@ public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder + builderForValue) { if (speechTranscriptionConfigBuilder_ == null) { speechTranscriptionConfig_ = builderForValue.build(); onChanged(); @@ -1721,17 +2132,25 @@ public Builder setSpeechTranscriptionConfig( return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.newBuilder( + speechTranscriptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -1743,11 +2162,15 @@ public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -1761,55 +2184,74 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder + getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null ? - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), - getParentForChildren(), - isClean()); + speechTranscriptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; } + @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); } @@ -1819,12 +2261,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p1beta1.VideoContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoContext(); } @@ -1833,16 +2275,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1857,6 +2299,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java similarity index 60% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java index 570517736..fd3623848 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoContextOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface VideoContextOrBuilder extends +public interface VideoContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -16,9 +34,10 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -29,6 +48,8 @@ public interface VideoContextOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p1beta1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -39,6 +60,8 @@ public interface VideoContextOrBuilder extends
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -47,9 +70,11 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p1beta1.VideoSegment segments = 1;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -62,110 +87,173 @@ com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig getLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig label_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder(); } diff --git a/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..694737519 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,468 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p1beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p1bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p1beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p1beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p1beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\202\004\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p1beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p1beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p1beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p1beta1.ExplicitContentDetection" + + "Config\022h\n\033speech_transcription_config\030\006 " + + "\001(\0132C.google.cloud.videointelligence.v1p" + + "1beta1.SpeechTranscriptionConfig\"\234\001\n\024Lab" + + "elDetectionConfig\022Z\n\024label_detection_mod" + + "e\030\001 \001(\0162<.google.cloud.videointelligence" + + ".v1p1beta1.LabelDetectionMode\022\031\n\021station" + + "ary_camera\030\002 \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotC" + + "hangeDetectionConfig\022\r\n\005model\030\001 \001(\t\"/\n\036E" + + "xplicitContentDetectionConfig\022\r\n\005model\030\001" + + " \001(\t\"x\n\014VideoSegment\0224\n\021start_time_offse" + + "t\030\001 \001(\0132\031.google.protobuf.Duration\0222\n\017en" + + "d_time_offset\030\002 \001(\0132\031.google.protobuf.Du" + + "ration\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\0132" + + "6.google.cloud.videointelligence.v1p1bet" + + "a1.VideoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nL" + + "abelFrame\022.\n\013time_offset\030\001 \001(\0132\031.google." + + "protobuf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n" + + "\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013descriptio" + + "n\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017Label" + + "Annotation\022@\n\006entity\030\001 \001(\01320.google.clou" + + "d.videointelligence.v1p1beta1.Entity\022K\n\021" + + "category_entities\030\002 \003(\01320.google.cloud.v" + + "ideointelligence.v1p1beta1.Entity\022H\n\010seg" + + "ments\030\003 \003(\01326.google.cloud.videointellig" + + "ence.v1p1beta1.LabelSegment\022D\n\006frames\030\004 " + + "\003(\01324.google.cloud.videointelligence.v1p" + + "1beta1.LabelFrame\"\234\001\n\024ExplicitContentFra" + + "me\022.\n\013time_offset\030\001 \001(\0132\031.google.protobu" + + "f.Duration\022T\n\026pornography_likelihood\030\002 \001" + + "(\01624.google.cloud.videointelligence.v1p1" + + "beta1.Likelihood\"k\n\031ExplicitContentAnnot" + + "ation\022N\n\006frames\030\001 \003(\0132>.google.cloud.vid" + + "eointelligence.v1p1beta1.ExplicitContent" + + "Frame\"\365\004\n\026VideoAnnotationResults\022\021\n\tinpu" + + "t_uri\030\001 \001(\t\022\\\n\031segment_label_annotations" + + "\030\002 \003(\01329.google.cloud.videointelligence." + + "v1p1beta1.LabelAnnotation\022Y\n\026shot_label_" + + "annotations\030\003 \003(\01329.google.cloud.videoin" + + "telligence.v1p1beta1.LabelAnnotation\022Z\n\027" + + "frame_label_annotations\030\004 \003(\01329.google.c" + + "loud.videointelligence.v1p1beta1.LabelAn" + + "notation\022P\n\020shot_annotations\030\006 \003(\01326.goo" + + "gle.cloud.videointelligence.v1p1beta1.Vi" + + "deoSegment\022`\n\023explicit_annotation\030\007 \001(\0132" + + "C.google.cloud.videointelligence.v1p1bet" + + "a1.ExplicitContentAnnotation\022\\\n\025speech_t" + + "ranscriptions\030\013 \003(\0132=.google.cloud.video" + + "intelligence.v1p1beta1.SpeechTranscripti" + + "on\022!\n\005error\030\t \001(\0132\022.google.rpc.Status\"u\n" + + "\025AnnotateVideoResponse\022\\\n\022annotation_res" + + "ults\030\001 \003(\0132@.google.cloud.videointellige" + + "nce.v1p1beta1.VideoAnnotationResults\"\247\001\n" + + "\027VideoAnnotationProgress\022\021\n\tinput_uri\030\001 " + + "\001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nstart_t" + + "ime\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\"w\n\025AnnotateVideoProgress\022^\n\023annot" + + "ation_progress\030\001 \003(\0132A.google.cloud.vide" + + "ointelligence.v1p1beta1.VideoAnnotationP" + + "rogress\"\222\002\n\031SpeechTranscriptionConfig\022\032\n" + + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + + "e.cloud.videointelligence.v1p1beta1.Spee" + + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + + "\003\340A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003" + + "\340A\001\"s\n\023SpeechTranscription\022\\\n\014alternativ" + + "es\030\001 \003(\0132F.google.cloud.videointelligenc" + + "e.v1p1beta1.SpeechRecognitionAlternative" + + "\"\216\001\n\034SpeechRecognitionAlternative\022\022\n\ntra" + + "nscript\030\001 \001(\t\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022A" + + "\n\005words\030\003 \003(\01322.google.cloud.videointell" + + "igence.v1p1beta1.WordInfo\"t\n\010WordInfo\022-\n" + + "\nstart_time\030\001 \001(\0132\031.google.protobuf.Dura" + + "tion\022+\n\010end_time\030\002 \001(\0132\031.google.protobuf" + + ".Duration\022\014\n\004word\030\003 \001(\t*\214\001\n\007Feature\022\027\n\023F" + + "EATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION\020" + + "\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICIT" + + "_CONTENT_DETECTION\020\003\022\030\n\024SPEECH_TRANSCRIP" + + "TION\020\006*r\n\022LabelDetectionMode\022$\n LABEL_DE" + + "TECTION_MODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020" + + "\001\022\016\n\nFRAME_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE" + + "\020\003*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFI" + + "ED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n" + + "\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005" + + "2\316\002\n\030VideoIntelligenceService\022\333\001\n\rAnnota" + + "teVideo\022>.google.cloud.videointelligence" + + ".v1p1beta1.AnnotateVideoRequest\032\035.google" + + ".longrunning.Operation\"k\202\323\344\223\002\037\"\032/v1p1bet" + + "a1/videos:annotate:\001*\332A\022input_uri,featur" + + "es\312A.\n\025AnnotateVideoResponse\022\025AnnotateVi" + + "deoProgress\032T\312A videointelligence.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\256\002\n,com.google.cloud.v" + + "ideointelligence.v1p1beta1B\035VideoIntelli" + + "genceServiceProtoP\001ZYgoogle.golang.org/g" + + "enproto/googleapis/cloud/videointelligen" + + "ce/v1p1beta1;videointelligence\252\002(Google." + + "Cloud.VideoIntelligence.V1P1Beta1\312\002(Goog" + + "le\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+G" + + "oogle::Cloud::VideoIntelligence::V1p1bet" + + "a1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { + "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoContext_descriptor, + new java.lang.String[] { + "Segments", + "LabelDetectionConfig", + "ShotChangeDetectionConfig", + "ExplicitContentDetectionConfig", + "SpeechTranscriptionConfig", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { + "LabelDetectionMode", "StationaryCamera", "Model", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor, + new java.lang.String[] { + "StartTimeOffset", "EndTimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_Entity_descriptor, + new java.lang.String[] { + "EntityId", "Description", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_LabelAnnotation_descriptor, + new java.lang.String[] { + "Entity", "CategoryEntities", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "PornographyLikelihood", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { + "Frames", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { + "InputUri", + "SegmentLabelAnnotations", + "ShotLabelAnnotations", + "FrameLabelAnnotations", + "ShotAnnotations", + "ExplicitAnnotation", + "SpeechTranscriptions", + "Error", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { + "AnnotationResults", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { + "InputUri", "ProgressPercent", "StartTime", "UpdateTime", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { + "AnnotationProgress", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { + "LanguageCode", + "MaxAlternatives", + "FilterProfanity", + "SpeechContexts", + "EnableAutomaticPunctuation", + "AudioTracks", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechContext_descriptor, + new java.lang.String[] { + "Phrases", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechTranscription_descriptor, + new java.lang.String[] { + "Alternatives", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { + "Transcript", "Confidence", "Words", + }); + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", "Word", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java similarity index 71% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java index 27ba5a7ff..768a48795 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; /** + * + * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoSegment} */ -public final class VideoSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.VideoSegment) VideoSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoSegment() { - } + + private VideoSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private VideoSegment( 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(); - } + 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 18: { - 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; } + case 18: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private VideoSegment( } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -128,19 +153,26 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -156,12 +188,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -169,19 +204,26 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -195,6 +237,7 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,7 @@ 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());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.videointelligence.v1p1beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p1beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p1beta1.VideoSegment other =
+        (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) obj;
 
     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;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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;
   }
   /**
+   *
+   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.VideoSegment} */ - 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.videointelligence.v1p1beta1.VideoSegment) com.google.cloud.videointelligence.v1p1beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p1beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p1beta1.VideoSegment.newBuilder() @@ -399,16 +448,15 @@ 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(); @@ -428,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p1beta1_VideoSegment_descriptor; } @java.lang.Override @@ -449,7 +497,8 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p1beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p1beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p1beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p1beta1.VideoSegment result = + new com.google.cloud.videointelligence.v1p1beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -468,38 +517,39 @@ public com.google.cloud.videointelligence.v1p1beta1.VideoSegment 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.videointelligence.v1p1beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.VideoSegment) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p1beta1.VideoSegment.getDefaultInstance()) + return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -533,7 +584,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p1beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +597,49 @@ 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_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -596,6 +661,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -603,8 +670,7 @@ 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();
@@ -615,6 +681,8 @@ public Builder setStartTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -626,7 +694,9 @@ 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;
         }
@@ -638,6 +708,8 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -657,6 +729,8 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -665,11 +739,13 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-      
+
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -681,11 +757,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,14 +773,17 @@ 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_;
@@ -709,36 +791,49 @@ 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_;
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -760,6 +855,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -767,8 +864,7 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -779,6 +875,8 @@ public Builder setEndTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -790,7 +888,9 @@ 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;
         }
@@ -802,6 +902,8 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -821,6 +923,8 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -829,11 +933,13 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-      
+
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -845,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -858,21 +967,24 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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>
         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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -882,12 +994,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p1beta1.VideoSegment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.VideoSegment();
   }
@@ -896,16 +1008,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoSegment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoSegment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoSegment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoSegment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1032,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p1beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
index e94668442..f2555f0b4 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoSegmentOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
-public interface VideoSegmentOrBuilder extends
+public interface VideoSegmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -38,26 +62,34 @@ public interface VideoSegmentOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
similarity index 76%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
index b20a59a27..84435d36e 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
+++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfo.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1p1beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p1beta1;
 
 /**
+ *
+ *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.WordInfo}
  */
-public final class WordInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p1beta1.WordInfo)
     WordInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,45 +72,50 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            word_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              word_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,29 +123,33 @@ private WordInfo(
     } 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.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p1beta1.WordInfo.class, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1p1beta1.WordInfo.class,
+            com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
+   *
+   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -132,6 +158,7 @@ private WordInfo(
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -139,6 +166,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -147,6 +176,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -154,6 +184,8 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -171,6 +203,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
+   *
+   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -179,6 +213,7 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -186,6 +221,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -194,6 +231,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -201,6 +239,8 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -218,11 +258,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
+   *
+   *
    * 
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ @java.lang.Override @@ -231,29 +274,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** + * + * *
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -262,6 +305,7 @@ public java.lang.String getWord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +317,7 @@ 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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -294,12 +337,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); @@ -312,25 +353,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.videointelligence.v1p1beta1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p1beta1.WordInfo other = (com.google.cloud.videointelligence.v1p1beta1.WordInfo) obj; + com.google.cloud.videointelligence.v1p1beta1.WordInfo other = + (com.google.cloud.videointelligence.v1p1beta1.WordInfo) obj; 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 (!getWord() - .equals(other.getWord())) return false; + if (!getWord().equals(other.getWord())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -358,96 +397,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p1beta1.WordInfo 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; } /** + * + * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -456,21 +503,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p1beta1.WordInfo}
    */
-  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.videointelligence.v1p1beta1.WordInfo)
       com.google.cloud.videointelligence.v1p1beta1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p1beta1.WordInfo.class, com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1p1beta1.WordInfo.class,
+              com.google.cloud.videointelligence.v1p1beta1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p1beta1.WordInfo.newBuilder()
@@ -478,16 +527,15 @@ 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();
@@ -509,9 +557,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p1beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -530,7 +578,8 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p1beta1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1p1beta1.WordInfo result = new com.google.cloud.videointelligence.v1p1beta1.WordInfo(this);
+      com.google.cloud.videointelligence.v1p1beta1.WordInfo result =
+          new com.google.cloud.videointelligence.v1p1beta1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -550,38 +599,39 @@ public com.google.cloud.videointelligence.v1p1beta1.WordInfo 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.videointelligence.v1p1beta1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.WordInfo)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p1beta1.WordInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,7 +639,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p1beta1.WordInfo other) {
-      if (other == com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p1beta1.WordInfo.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -619,7 +670,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p1beta1.WordInfo) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p1beta1.WordInfo) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -631,8 +683,13 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -641,12 +698,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -655,6 +715,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -665,6 +726,8 @@ public com.google.protobuf.Duration getStartTime() { } } /** + * + * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -688,6 +751,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -697,8 +762,7 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -709,6 +773,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -722,7 +788,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -734,6 +800,8 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -755,6 +823,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -765,11 +835,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -783,11 +855,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -798,14 +871,17 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStartTime(),
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStartTime(), getParentForChildren(), isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -813,8 +889,13 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -823,12 +904,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -837,6 +921,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -847,6 +932,8 @@ public com.google.protobuf.Duration getEndTime() { } } /** + * + * *
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -870,6 +957,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -879,8 +968,7 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -891,6 +979,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -904,7 +994,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -916,6 +1006,8 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -937,6 +1029,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -947,11 +1041,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -965,11 +1061,12 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -980,14 +1077,17 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -995,18 +1095,20 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
+     *
+     *
      * 
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1015,20 +1117,21 @@ public java.lang.String getWord() { } } /** + * + * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The bytes for word. */ - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1036,61 +1139,68 @@ public java.lang.String getWord() { } } /** + * + * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord( - java.lang.String value) { + public Builder setWord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** + * + * *
      * Output only. The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes( - com.google.protobuf.ByteString value) { + public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = 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); } @@ -1100,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p1beta1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p1beta1.WordInfo) private static final com.google.cloud.videointelligence.v1p1beta1.WordInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p1beta1.WordInfo(); } @@ -1114,16 +1224,16 @@ public static com.google.cloud.videointelligence.v1p1beta1.WordInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,6 +1248,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p1beta1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java similarity index 81% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java index 4e5d70899..e73b96eec 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/WordInfoOrBuilder.java @@ -1,13 +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/videointelligence/v1p1beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p1beta1; -public interface WordInfoOrBuilder extends +public interface WordInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p1beta1.WordInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -16,10 +34,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -28,10 +49,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -44,6 +68,8 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -52,10 +78,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -64,10 +93,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** + * + * *
    * Output only. Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -80,22 +112,27 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ java.lang.String getWord(); /** + * + * *
    * Output only. The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ - com.google.protobuf.ByteString - getWordBytes(); + com.google.protobuf.ByteString getWordBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto b/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto similarity index 100% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto rename to proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java similarity index 61% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java index 8d3fa5e81..ce46d3dd1 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgress.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationProgress_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationProgress_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationProgress_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationProgress_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -89,80 +110,108 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class,
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List annotationProgress_;
+  private java.util.List
+      annotationProgress_;
   /**
+   *
+   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress( + int index) { return annotationProgress_.get(index); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationProgress_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p2beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other = + (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList() - .equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress + 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress 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.videointelligence.v1p2beta1.AnnotateVideoProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress 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; } /** + * + * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p2beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.class,
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress result =
+          new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p2beta1.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress
+              .getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVi
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationProgressFieldBuilder() : null;
+            annotationProgressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationProgressFieldBuilder()
+                    : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationProgress_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationProgress_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
+        annotationProgress_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress>(
+                annotationProgress_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress,
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>
+        annotationProgressBuilder_;
 
     /**
+     *
+     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -537,11 +621,15 @@ public java.util.List * Progress metadata for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationProgressCount() { } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getA } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { @@ -586,14 +683,20 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p2beta return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress value) { @@ -645,14 +757,19 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAllAnnotationProgress( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress> + values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationProgress() { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationProgress(int index) { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + getAnnotationProgressBuilder(int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); } else { + return annotationProgress_.get(index); + } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBui } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( - int index) { - return getAnnotationProgressFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder(int index) { + return getAnnotationProgressFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder> + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Buil } return annotationProgressBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..8dae6909e --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface AnnotateVideoProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getAnnotationProgress( + int index); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + int getAnnotationProgressCount(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java similarity index 73% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java index 5e4c4ee63..b5e113de4 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -29,16 +47,15 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,81 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - features_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 26: { - com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + features_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 26: + { + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); + } + videoContext_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - outputUri_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: { + outputUri_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - inputContent_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + case 50: + { + inputContent_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +157,7 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -141,22 +166,27 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -171,6 +201,7 @@ private AnnotateVideoRequest(
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -179,14 +210,15 @@ 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 video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -201,16 +233,15 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; + * * @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 { @@ -221,6 +252,8 @@ public java.lang.String getInputUri() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -228,6 +261,7 @@ public java.lang.String getInputUri() {
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -238,34 +272,50 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature> features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature> + features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>() { - public com.google.cloud.videointelligence.v1p2beta1.Feature convert(java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p2beta1.Feature convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Feature result = com.google.cloud.videointelligence.v1p2beta1.Feature.valueOf(from); - return result == null ? com.google.cloud.videointelligence.v1p2beta1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p2beta1.Feature result = + com.google.cloud.videointelligence.v1p2beta1.Feature.valueOf(from); + return result == null + ? com.google.cloud.videointelligence.v1p2beta1.Feature.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>( + features_, features_converter_); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ @java.lang.Override @@ -273,11 +323,16 @@ public int getFeaturesCount() { return features_.size(); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -286,24 +341,33 @@ public com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return features_; } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -311,16 +375,20 @@ public com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int inde public int getFeaturesValue(int index) { return features_.get(index); } + private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p2beta1.VideoContext videoContext_; /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -328,18 +396,25 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext() { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() + : videoContext_; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -347,13 +422,16 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -364,6 +442,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVid
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ @java.lang.Override @@ -372,14 +451,15 @@ 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; } } /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -390,16 +470,15 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -410,6 +489,8 @@ public java.lang.String getOutputUri() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -417,6 +498,7 @@ public java.lang.String getOutputUri() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ @java.lang.Override @@ -425,14 +507,15 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -440,16 +523,15 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -458,6 +540,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -469,8 +552,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -509,18 +591,17 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -529,8 +610,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -540,27 +620,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.videointelligence.v1p2beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext() - .equals(other.getVideoContext())) return false; + if (!getVideoContext().equals(other.getVideoContext())) return false; } - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOutputUri().equals(other.getOutputUri())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -594,134 +670,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest + 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest 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.videointelligence.v1p2beta1.AnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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; } /** + * + * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p2beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.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(); @@ -745,13 +832,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -766,7 +854,8 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest result = + new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -790,46 +879,50 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p2beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -877,7 +970,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -886,10 +981,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -904,13 +1002,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; + * * @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; @@ -919,6 +1017,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -933,15 +1033,14 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 { @@ -949,6 +1048,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -963,20 +1064,22 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -991,15 +1094,18 @@ public Builder setInputUri(
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Input video location. Currently, only
      * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1014,16 +1120,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; + * * @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; @@ -1031,6 +1137,8 @@ public Builder setInputUriBytes( private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1038,6 +1146,7 @@ public Builder setInputUriBytes(
      * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -1045,6 +1154,8 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1052,19 +1163,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via `input_uri`.
@@ -1072,17 +1186,18 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; + * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = - java.util.Collections.emptyList(); + private java.util.List features_ = java.util.Collections.emptyList(); + private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1090,34 +1205,50 @@ private void ensureFeaturesIsMutable() { } } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p2beta1.Feature>( + features_, features_converter_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -1125,11 +1256,16 @@ public com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1145,11 +1281,16 @@ public Builder setFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The features to add. * @return This builder for chaining. */ @@ -1163,11 +1304,16 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p2beta1.Feature return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The features to add. * @return This builder for chaining. */ @@ -1181,11 +1327,16 @@ public Builder addAllFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1195,23 +1346,32 @@ public Builder clearFeatures() { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1219,28 +1379,37 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue( - int index, int value) { + public Builder setFeaturesValue(int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1251,16 +1420,20 @@ public Builder addFeaturesValue(int value) { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue( - java.lang.Iterable values) { + public Builder addAllFeaturesValue(java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1271,41 +1444,55 @@ public Builder addAllFeaturesValue( private com.google.cloud.videointelligence.v1p2beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> videoContextBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoContext, + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> + videoContextBuilder_; /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() + : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public Builder setVideoContext(com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { + public Builder setVideoContext( + com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1319,6 +1506,8 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1p2beta1.Vide return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1337,17 +1526,22 @@ public Builder setVideoContext( return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { + public Builder mergeVideoContext( + com.google.cloud.videointelligence.v1p2beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder(videoContext_) + .mergeFrom(value) + .buildPartial(); } else { videoContext_ = value; } @@ -1359,6 +1553,8 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p2beta1.Vi return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1377,33 +1573,42 @@ public Builder clearVideoContext() { return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder + getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null ? - com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance() + : videoContext_; } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1411,14 +1616,17 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVid * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoContext, + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoContext, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder>( - getVideoContext(), - getParentForChildren(), - isClean()); + videoContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoContext, + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder>( + getVideoContext(), getParentForChildren(), isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1426,6 +1634,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVid private java.lang.Object outputUri_ = ""; /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1436,13 +1646,13 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVid
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1451,6 +1661,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1461,15 +1673,14 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1477,6 +1688,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1487,20 +1700,22 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1511,15 +1726,18 @@ public Builder setOutputUri(
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -1530,16 +1748,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1547,6 +1765,8 @@ public Builder setOutputUriBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1554,13 +1774,13 @@ public Builder setOutputUriBytes(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1569,6 +1789,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1576,15 +1798,14 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1592,6 +1813,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1599,20 +1822,22 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1620,15 +1845,18 @@ public Builder setLocationId(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -1636,23 +1864,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1662,30 +1890,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1697,9 +1927,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java index 5f9c0a6e7..f03bd1905 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface AnnotateVideoRequestOrBuilder extends +public interface AnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -22,10 +40,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Input video location. Currently, only
    * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -40,12 +61,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via `input_uri`.
@@ -53,78 +76,111 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ java.util.List getFeaturesList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ int getFeaturesCount(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p2beta1.Feature getFeatures(int index); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - java.util.List - getFeaturesValueList(); + java.util.List getFeaturesValueList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3; + * * @return The videoContext. */ com.google.cloud.videointelligence.v1p2beta1.VideoContext getVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -134,6 +190,8 @@ public interface AnnotateVideoRequestOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -144,10 +202,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ java.lang.String getOutputUri(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
@@ -158,12 +219,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString - getOutputUriBytes(); + com.google.protobuf.ByteString getOutputUriBytes(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -171,10 +234,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
@@ -182,8 +248,8 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java similarity index 61% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java index dfa3f9eae..68df926ea 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationResults_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationResults_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -89,80 +110,108 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List annotationResults_;
+  private java.util.List
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( + int index) { return annotationResults_.get(index); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p2beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList() - .equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse + 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse 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.videointelligence.v1p2beta1.AnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse 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; } /** + * + * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p2beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p2beta1.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse
+              .getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.AnnotateVi
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationResultsFieldBuilder() : null;
+            annotationResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationResultsFieldBuilder()
+                    : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationResults_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ = new java.util.ArrayList(annotationResults_);
+        annotationResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults>(
+                annotationResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults,
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -537,11 +621,15 @@ public java.util.List * Annotation results for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationResultsCount() { } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( + int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAn } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { @@ -586,14 +683,20 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p2beta1 return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults value) { @@ -645,14 +757,19 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAllAnnotationResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults> + values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationResults(int index) { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + getAnnotationResultsBuilder(int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); } else { + return annotationResults_.get(index); + } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuil } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( - int index) { - return getAnnotationResultsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder(int index) { + return getAnnotationResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder> + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Build } return annotationResultsBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..2bbc1b5ff --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface AnnotateVideoResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getAnnotationResults( + int index); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + */ + int getAnnotationResultsCount(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java index c160b7477..20f8dbe4d 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Entity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entityId_ = ""; description_ = ""; @@ -27,16 +45,15 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Entity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Entity( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.Entity.class, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.Entity.class, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -117,6 +141,7 @@ private Entity(
    * 
* * string entity_id = 1; + * * @return The entityId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -140,16 +166,15 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getEntityId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDescription() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ 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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -298,19 +329,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.videointelligence.v1p2beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.Entity other = (com.google.cloud.videointelligence.v1p2beta1.Entity) obj; + com.google.cloud.videointelligence.v1p2beta1.Entity other = + (com.google.cloud.videointelligence.v1p2beta1.Entity) obj; - if (!getEntityId() - .equals(other.getEntityId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getEntityId().equals(other.getEntityId())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity 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; } /** + * + * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.Entity} */ - 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.videointelligence.v1p2beta1.Entity) com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.Entity.class, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.Entity.class, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder() @@ -452,16 +490,15 @@ 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(); @@ -475,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; } @java.lang.Override @@ -496,7 +533,8 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.Entity result = new com.google.cloud.videointelligence.v1p2beta1.Entity(this); + com.google.cloud.videointelligence.v1p2beta1.Entity result = + new com.google.cloud.videointelligence.v1p2beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -508,38 +546,39 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity 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.videointelligence.v1p2beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.Entity)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.Entity) other); } else { super.mergeFrom(other); return this; @@ -547,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance()) + return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -579,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,6 +632,8 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -598,13 +641,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; + * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -613,6 +656,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -620,15 +665,14 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -636,6 +680,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -643,20 +689,22 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId( - java.lang.String value) { + public Builder setEntityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -664,15 +712,18 @@ public Builder setEntityId(
      * 
* * string entity_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -680,16 +731,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; + * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -697,18 +748,20 @@ public Builder setEntityIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -717,20 +770,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -738,54 +792,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description, e.g. `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -793,18 +854,20 @@ public Builder setDescriptionBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -813,20 +876,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -834,61 +898,68 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -898,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.Entity) private static final com.google.cloud.videointelligence.v1p2beta1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.Entity(); } @@ -912,16 +983,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java index beb7355af..d51bfb3c2 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/EntityOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -15,10 +33,13 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The entityId. */ java.lang.String getEntityId(); /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -26,48 +47,58 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - com.google.protobuf.ByteString - getEntityIdBytes(); + com.google.protobuf.ByteString getEntityIdBytes(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description, e.g. `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java index aeed3a168..f4be288e3 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              frames_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                frames_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              frames_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.parser(),
+                      extensionRegistry));
+              break;
             }
-            frames_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -89,80 +110,101 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class,
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
+   *
+   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +216,7 @@ 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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -189,8 +230,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +240,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.videointelligence.v1p2beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other = + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) obj; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +270,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation + 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation 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.videointelligence.v1p2beta1.ExplicitContentAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation 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; } /** + * + * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -328,39 +377,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p2beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.class,
+              com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,19 +426,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result = buildPartial();
+      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -395,7 +450,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation result =
+          new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +470,51 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p2beta1.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation
+              .getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -472,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitCo
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFramesFieldBuilder() : null;
+            framesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFramesFieldBuilder()
+                    : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -499,7 +561,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +572,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List frames_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        frames_ = java.util.Collections.emptyList();
+
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ = new java.util.ArrayList(frames_);
+        frames_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame>(frames_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame,
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>
+        framesBuilder_;
 
     /**
+     *
+     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -537,11 +612,14 @@ public java.util.List * All video frames where explicit content was detected. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -551,11 +629,14 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -565,11 +646,14 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFram } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { @@ -586,14 +670,18 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -604,13 +692,17 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +716,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ExplicitCo return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame value) { @@ -645,11 +740,14 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { @@ -663,14 +761,18 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -681,18 +783,22 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -700,11 +806,14 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -717,11 +826,14 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -734,39 +846,50 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder + getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -774,56 +897,74 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilde } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder + addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -833,30 +974,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1011,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java index 9ef530ce4..b7ea16cdd 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,52 +1,83 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentAnnotationOrBuilder extends +public interface ExplicitContentAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getFrames(int index); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ int getFramesCount(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java index 11b7f937a..0ec68cefb 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfig.java @@ -1,40 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,34 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder + .class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +127,7 @@ private ExplicitContentDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +136,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +152,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +181,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +205,16 @@ 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,135 +233,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig 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; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.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(); @@ -345,19 +388,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +411,10 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +424,52 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConf 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.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -435,11 +489,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +508,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +517,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +532,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +541,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +556,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +565,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +588,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +607,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +633,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +671,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java index d74097703..b0d27ba2c 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentDetectionConfigOrBuilder extends +public interface ExplicitContentDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java similarity index 67% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java index a78f9bf82..3f2872374 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - pornographyLikelihood_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pornographyLikelihood_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private ExplicitContentFrame( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -122,12 +147,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -135,6 +163,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -150,31 +180,43 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Likelihood result = com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p2beta1.Likelihood result = + com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,12 +228,13 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -204,12 +247,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p2beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,17 +262,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.videointelligence.v1p2beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other = + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -255,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame + 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame 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.videointelligence.v1p2beta1.ExplicitContentFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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; } /** + * + * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p2beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.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(); @@ -398,13 +452,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -419,7 +474,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame result = + new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -434,46 +490,50 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p2beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -499,7 +559,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -511,36 +573,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -562,6 +637,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -569,8 +646,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -581,6 +657,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -592,7 +670,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -604,6 +682,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -623,6 +703,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -631,11 +713,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -647,11 +731,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,14 +747,17 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -675,80 +765,100 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.Likelihood result = com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p2beta1.Likelihood result = + com.google.cloud.videointelligence.v1p2beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p2beta1.Likelihood.UNRECOGNIZED + : result; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p2beta1.Likelihood value) { + public Builder setPornographyLikelihood( + com.google.cloud.videointelligence.v1p2beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -758,30 +868,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,9 +905,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java index 2e0009f42..b18a81ccf 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ExplicitContentFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ExplicitContentFrameOrBuilder extends +public interface ExplicitContentFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,20 +62,26 @@ public interface ExplicitContentFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p2beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p2beta1.Likelihood getPornographyLikelihood(); diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java similarity index 69% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java index 1597d47e5..a0c3010ef 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Feature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.Feature} */ -public enum Feature - implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Feature */ FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum Feature */ LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum Feature */ SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum Feature */ EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -53,6 +79,8 @@ public enum Feature */ TEXT_DETECTION(7), /** + * + * *
    * Object detection and tracking.
    * 
@@ -64,6 +92,8 @@ public enum Feature ; /** + * + * *
    * Unspecified.
    * 
@@ -72,6 +102,8 @@ public enum Feature */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -80,6 +112,8 @@ public enum Feature */ public static final int LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -88,6 +122,8 @@ public enum Feature */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -96,6 +132,8 @@ public enum Feature */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -104,6 +142,8 @@ public enum Feature */ public static final int TEXT_DETECTION_VALUE = 7; /** + * + * *
    * Object detection and tracking.
    * 
@@ -112,7 +152,6 @@ public enum Feature */ public static final int OBJECT_TRACKING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,58 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: return FEATURE_UNSPECIFIED; - case 1: return LABEL_DETECTION; - case 2: return SHOT_CHANGE_DETECTION; - case 3: return EXPLICIT_CONTENT_DETECTION; - case 7: return TEXT_DETECTION; - case 9: return OBJECT_TRACKING; - default: return null; + case 0: + return FEATURE_UNSPECIFIED; + case 1: + return LABEL_DETECTION; + case 2: + return SHOT_CHANGE_DETECTION; + case 3: + return EXPLICIT_CONTENT_DETECTION; + case 7: + return TEXT_DETECTION; + case 9: + return OBJECT_TRACKING; + 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< - Feature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Feature[] VALUES = values(); - public static Feature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -198,4 +243,3 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.Feature) } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java similarity index 77% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java index d6964f3d7..fdf072c8c 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelAnnotation} */ -public final class LabelAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) LabelAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,53 +73,71 @@ private LabelAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - categoryEntities_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelSegment.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.LabelSegment>(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.LabelFrame>(); + mutable_bitField0_ |= 0x00000004; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +145,7 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -126,27 +160,33 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -154,18 +194,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Detected entity.
    * 
@@ -180,6 +227,8 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -190,10 +239,13 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List getCategoryEntitiesList() {
+  public java.util.List
+      getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -204,11 +256,13 @@ public java.util.List getCa
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -223,6 +277,8 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -237,6 +293,8 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -255,6 +313,8 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
@@ -262,10 +322,13 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -273,11 +336,14 @@ public java.util.List * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -289,6 +355,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -300,6 +368,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int return segments_.get(index); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -315,6 +385,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -326,6 +398,8 @@ public java.util.List g return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -333,11 +407,13 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -349,6 +425,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -360,6 +438,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -373,6 +453,7 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,8 +465,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -408,20 +488,16 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,24 +507,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.videointelligence.v1p2beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other = + (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList() - .equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getEntity().equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,117 +555,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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; } /** + * + * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelAnnotation} */ - 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.videointelligence.v1p2beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.newBuilder() @@ -600,19 +683,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,13 +727,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance(); } @@ -665,7 +749,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation result = + new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -707,38 +792,39 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation 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.videointelligence.v1p2beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) other); } else { super.mergeFrom(other); return this; @@ -746,7 +832,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -768,9 +856,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoryEntitiesFieldBuilder() : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoryEntitiesFieldBuilder() + : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -794,9 +883,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -820,9 +910,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -847,7 +938,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,38 +948,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Detected entity.
      * 
@@ -908,6 +1014,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p2beta1.Entity val return this; } /** + * + * *
      * Detected entity.
      * 
@@ -926,6 +1034,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Detected entity.
      * 
@@ -936,7 +1046,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -948,6 +1060,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v return this; } /** + * + * *
      * Detected entity.
      * 
@@ -966,6 +1080,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -973,11 +1089,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Detected entity.
      * 
@@ -988,11 +1106,14 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Detected entity.
      * 
@@ -1000,32 +1121,43 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(categoryEntities_); + categoryEntities_ = + new java.util.ArrayList( + categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + categoryEntitiesBuilder_; /** + * + * *
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1035,7 +1167,8 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List getCategoryEntitiesList() {
+    public java.util.List
+        getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1043,6 +1176,8 @@ public java.util.List getCa
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1060,6 +1195,8 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1077,6 +1214,8 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(i
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1101,6 +1240,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1122,6 +1263,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1145,6 +1288,8 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p2beta1.
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1169,6 +1314,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1190,6 +1337,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1211,6 +1360,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1224,8 +1375,7 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1233,6 +1383,8 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1253,6 +1405,8 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1273,6 +1427,8 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1287,6 +1443,8 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1296,14 +1454,17 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder
+        getCategoryEntitiesOrBuilder(int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);  } else {
+        return categoryEntities_.get(index);
+      } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1313,8 +1474,8 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesOrBuilderList() {
+    public java.util.List
+        getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1322,6 +1483,8 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1331,11 +1494,14 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder
+        addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1347,10 +1513,13 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEn
      */
     public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -1360,16 +1529,22 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesBuilderList() {
+    public java.util.List
+        getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1p2beta1.Entity,
+            com.google.cloud.videointelligence.v1p2beta1.Entity.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p2beta1.Entity,
+                com.google.cloud.videointelligence.v1p2beta1.Entity.Builder,
+                com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1380,25 +1555,34 @@ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(
+                segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.LabelSegment,
+            com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1406,6 +1590,8 @@ public java.util.List } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1420,6 +1606,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1434,6 +1622,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1455,6 +1645,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1462,7 +1654,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1473,6 +1666,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1493,6 +1688,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.LabelSeg return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1514,6 +1711,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1532,6 +1731,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1539,7 +1740,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1550,6 +1752,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1557,11 +1761,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1569,6 +1773,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1586,6 +1792,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1603,6 +1811,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1614,6 +1824,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1623,19 +1835,23 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1643,6 +1859,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1650,10 +1868,13 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1662,48 +1883,63 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelSegment, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelSegment, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelSegment, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1718,6 +1954,8 @@ public java.util.List g } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1732,6 +1970,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1746,6 +1986,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int ind } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1767,6 +2009,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1774,7 +2018,8 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1785,6 +2030,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1805,6 +2052,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.LabelFrame return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1826,6 +2075,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1844,6 +2095,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1851,7 +2104,8 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1862,6 +2116,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1869,11 +2125,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1881,6 +2137,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1898,6 +2156,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1915,6 +2175,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1926,6 +2188,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1935,19 +2199,23 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1955,6 +2223,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1962,10 +2232,12 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1974,37 +2246,43 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelFrame, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelFrame, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -2014,12 +2292,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation(); } @@ -2028,16 +2307,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2052,6 +2331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java index f5d6d67cc..8b2c64bfb 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelAnnotationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelAnnotationOrBuilder extends +public interface LabelAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p2beta1.Entity getEntity(); /** + * + * *
    * Detected entity.
    * 
@@ -35,6 +59,8 @@ public interface LabelAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -44,9 +70,10 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
-  java.util.List 
-      getCategoryEntitiesList();
+  java.util.List getCategoryEntitiesList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -58,6 +85,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p2beta1.Entity getCategoryEntities(int index);
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -69,6 +98,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   int getCategoryEntitiesCount();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -78,9 +109,11 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    */
-  java.util.List 
+  java.util.List
       getCategoryEntitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * E.g. when the label is `Terrier` the category is likely `dog`. And in some
@@ -94,15 +127,18 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -111,6 +147,8 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p2beta1.LabelSegment getSegments(int index); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -119,15 +157,19 @@ com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -138,15 +180,18 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -155,6 +200,8 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p2beta1.LabelFrame getFrames(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -163,21 +210,24 @@ com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java index 83cf56cc9..24617205f 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -26,16 +44,15 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - labelDetectionMode_ = rawValue; - break; - } - case 16: { + case 8: + { + int rawValue = input.readEnum(); - stationaryCamera_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + labelDetectionMode_ = rawValue; + break; + } + case 16: + { + stationaryCamera_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,60 +104,78 @@ private LabelDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED + : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -146,6 +183,7 @@ private LabelDetectionConfig(
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -156,6 +194,8 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -163,6 +203,7 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; + * * @return The model. */ @java.lang.Override @@ -171,14 +212,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -186,16 +228,15 @@ public java.lang.String getModel() {
    * 
* * string model = 3; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -204,6 +245,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,9 +257,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -235,13 +279,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); @@ -254,18 +299,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.videointelligence.v1p2beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other = + (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -280,8 +324,7 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -290,134 +333,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig + 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig 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.videointelligence.v1p2beta1.LabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p2beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.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(); @@ -431,13 +485,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -452,7 +507,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig result = + new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -464,46 +520,50 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p2beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance()) + return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -533,7 +593,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,90 +607,118 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode.UNRECOGNIZED + : result; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -636,6 +726,7 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -643,6 +734,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -650,16 +743,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e. non-moving) camera.
      * When set to true, might improve detection accuracy for moving objects.
@@ -667,10 +763,11 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -678,6 +775,8 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -685,13 +784,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -700,6 +799,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -707,15 +808,14 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -723,6 +823,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -730,20 +832,22 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -751,15 +855,18 @@ public Builder setModel(
      * 
* * string model = 3; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -767,23 +874,23 @@ public Builder clearModel() {
      * 
* * string model = 3; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -793,30 +900,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +937,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java index 69618a88b..cf50acd3c 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionConfigOrBuilder.java @@ -1,36 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelDetectionConfigOrBuilder extends +public interface LabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p2beta1.LabelDetectionMode getLabelDetectionMode(); /** + * + * *
    * Whether the video has been shot from a stationary (i.e. non-moving) camera.
    * When set to true, might improve detection accuracy for moving objects.
@@ -38,11 +64,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -50,10 +79,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -61,8 +93,8 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java index 1ef0b9861..c24422a9e 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelDetectionMode.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.LabelDetectionMode} */ -public enum LabelDetectionMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum LabelDetectionMode */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** + * + * *
    * Detect shot-level labels.
    * 
@@ -29,6 +49,8 @@ public enum LabelDetectionMode */ SHOT_MODE(1), /** + * + * *
    * Detect frame-level labels.
    * 
@@ -37,6 +59,8 @@ public enum LabelDetectionMode */ FRAME_MODE(2), /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -48,6 +72,8 @@ public enum LabelDetectionMode ; /** + * + * *
    * Unspecified.
    * 
@@ -56,6 +82,8 @@ public enum LabelDetectionMode */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Detect shot-level labels.
    * 
@@ -64,6 +92,8 @@ public enum LabelDetectionMode */ public static final int SHOT_MODE_VALUE = 1; /** + * + * *
    * Detect frame-level labels.
    * 
@@ -72,6 +102,8 @@ public enum LabelDetectionMode */ public static final int FRAME_MODE_VALUE = 2; /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -80,7 +112,6 @@ public enum LabelDetectionMode */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,41 +136,48 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: return SHOT_MODE; - case 2: return FRAME_MODE; - case 3: return SHOT_AND_FRAME_MODE; - default: return null; + case 0: + return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: + return SHOT_MODE; + case 2: + return FRAME_MODE; + case 3: + return SHOT_AND_FRAME_MODE; + 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< - LabelDetectionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(1); } private static final LabelDetectionMode[] VALUES = values(); @@ -147,8 +185,7 @@ public LabelDetectionMode findValueByNumber(int number) { public static LabelDetectionMode 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; @@ -164,4 +201,3 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.LabelDetectionMode) } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java similarity index 70% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java index 40af58795..9fceadd5c 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrame.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelFrame} */ -public final class LabelFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelFrame) LabelFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelFrame() { - } + + private LabelFrame() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private LabelFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,35 +102,40 @@ private LabelFrame( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -120,12 +143,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -133,6 +159,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -148,11 +176,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -161,6 +192,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -190,12 +221,10 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +234,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.videointelligence.v1p2beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelFrame other = + (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,125 +264,134 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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; } /** + * + * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelFrame} */ - 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.videointelligence.v1p2beta1.LabelFrame) com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p2beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelFrame.newBuilder() @@ -362,16 +399,15 @@ 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(); @@ -387,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; } @java.lang.Override @@ -408,7 +444,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p2beta1.LabelFrame result = + new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -423,38 +460,39 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelFrame 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.videointelligence.v1p2beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelFrame) other); } else { super.mergeFrom(other); return this; @@ -462,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -488,7 +527,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,36 +540,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -551,6 +604,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -558,8 +613,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -570,6 +624,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -581,7 +637,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -593,6 +649,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -612,6 +670,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -620,11 +680,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,11 +698,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -649,26 +714,32 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -676,37 +747,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p2beta1.LabelFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelFrame(); } @@ -730,16 +807,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java index b5fbd155a..c45182949 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelFrameOrBuilder extends +public interface LabelFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,11 +62,14 @@ public interface LabelFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java similarity index 69% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java index c6d4ab694..8c65925fa 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelSegment} */ -public final class LabelSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.LabelSegment) LabelSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSegment() { - } + + private LabelSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private LabelSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private LabelSegment( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -119,18 +144,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -145,11 +177,14 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -158,6 +193,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +205,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -187,12 +222,10 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,21 +235,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.videointelligence.v1p2beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p2beta1.LabelSegment other = + (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +265,134 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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; } /** + * + * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.LabelSegment} */ - 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.videointelligence.v1p2beta1.LabelSegment) com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p2beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.LabelSegment.newBuilder() @@ -359,16 +400,15 @@ 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(); @@ -384,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; } @java.lang.Override @@ -405,7 +445,8 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p2beta1.LabelSegment result = + new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -420,38 +461,39 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelSegment 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.videointelligence.v1p2beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.LabelSegment) other); } else { super.mergeFrom(other); return this; @@ -459,7 +501,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.LabelSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -485,7 +528,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,34 +541,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -545,6 +602,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -563,6 +622,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -573,7 +634,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -585,6 +648,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -603,6 +668,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -610,26 +677,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -637,26 +710,32 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -664,37 +743,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -704,12 +789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p2beta1.LabelSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.LabelSegment(); } @@ -718,16 +803,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java index e07c8ba52..3a0fd300f 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/LabelSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface LabelSegmentOrBuilder extends +public interface LabelSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -35,11 +59,14 @@ public interface LabelSegmentOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java similarity index 67% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java index d4cce1a6e..b7a9ee4c1 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/Likelihood.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p2beta1.Likelihood} */ -public enum Likelihood - implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified likelihood.
    * 
@@ -21,6 +39,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Very unlikely.
    * 
@@ -29,6 +49,8 @@ public enum Likelihood */ VERY_UNLIKELY(1), /** + * + * *
    * Unlikely.
    * 
@@ -37,6 +59,8 @@ public enum Likelihood */ UNLIKELY(2), /** + * + * *
    * Possible.
    * 
@@ -45,6 +69,8 @@ public enum Likelihood */ POSSIBLE(3), /** + * + * *
    * Likely.
    * 
@@ -53,6 +79,8 @@ public enum Likelihood */ LIKELY(4), /** + * + * *
    * Very likely.
    * 
@@ -64,6 +92,8 @@ public enum Likelihood ; /** + * + * *
    * Unspecified likelihood.
    * 
@@ -72,6 +102,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Very unlikely.
    * 
@@ -80,6 +112,8 @@ public enum Likelihood */ public static final int VERY_UNLIKELY_VALUE = 1; /** + * + * *
    * Unlikely.
    * 
@@ -88,6 +122,8 @@ public enum Likelihood */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Possible.
    * 
@@ -96,6 +132,8 @@ public enum Likelihood */ public static final int POSSIBLE_VALUE = 3; /** + * + * *
    * Likely.
    * 
@@ -104,6 +142,8 @@ public enum Likelihood */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Very likely.
    * 
@@ -112,7 +152,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,58 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(2); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -198,4 +243,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p2beta1.Likelihood) } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java similarity index 66% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java index 99f51ba20..0480ffb89 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBox.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedBoundingBox() {
-  }
+
+  private NormalizedBoundingBox() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,33 +70,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            left_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            top_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            right_ = input.readFloat();
-            break;
-          }
-          case 37: {
-
-            bottom_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              left_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              top_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              right_ = input.readFloat();
+              break;
+            }
+          case 37:
+            {
+              bottom_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +104,39 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
+   *
+   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -126,11 +147,14 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -141,11 +165,14 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -156,11 +183,14 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -169,6 +199,7 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +211,7 @@ 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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -204,20 +234,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,25 +253,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.videointelligence.v1p2beta1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other = + (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits( - other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) - != java.lang.Float.floatToIntBits( - other.getTop())) return false; + != java.lang.Float.floatToIntBits(other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) + return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits( - other.getRight())) return false; + != java.lang.Float.floatToIntBits(other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits( - other.getBottom())) return false; + != java.lang.Float.floatToIntBits(other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,113 +281,118 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox + 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox 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.videointelligence.v1p2beta1.NormalizedBoundingBox prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox 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; } /** + * + * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -373,38 +401,40 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1p2beta1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.class,
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.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();
@@ -420,14 +450,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -441,7 +473,8 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox result =
+          new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -454,46 +487,51 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox buildP
     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.videointelligence.v1p2beta1.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
+              .getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -525,7 +563,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -535,13 +575,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_ ;
+    private float left_;
     /**
+     *
+     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -549,42 +592,51 @@ public float getLeft() { return left_; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_ ; + private float top_; /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -592,42 +644,51 @@ public float getTop() { return top_; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_ ; + private float right_; /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -635,42 +696,51 @@ public float getRight() { return right_; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_ ; + private float bottom_; /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -678,37 +748,43 @@ public float getBottom() { return bottom_; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -718,30 +794,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +831,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java index 37a63d789..18d6616a1 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingBoxOrBuilder.java @@ -1,48 +1,76 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface NormalizedBoundingBoxOrBuilder extends +public interface NormalizedBoundingBoxOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ float getLeft(); /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ float getTop(); /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ float getRight(); /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ float getBottom(); diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java index 3718efd53..1baaca4f8 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPoly.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -24,31 +41,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,22 +85,27 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vertices_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vertices_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vertices_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.parser(),
+                      extensionRegistry));
+              break;
             }
-            vertices_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -91,8 +113,7 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -101,22 +122,27 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
+   *
+   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -124,10 +150,13 @@ private NormalizedBoundingPoly( * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List getVerticesList() { + public java.util.List + getVerticesList() { return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -135,11 +164,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> getVerticesOrBuilderList() { return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -151,6 +183,8 @@ public int getVerticesCount() { return vertices_.size(); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -162,6 +196,8 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices return vertices_.get(index); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -169,12 +205,13 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder + getVerticesOrBuilder(int index) { return vertices_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +223,7 @@ 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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -201,8 +237,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -212,15 +247,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.videointelligence.v1p2beta1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other = + (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) obj; - if (!getVerticesList() - .equals(other.getVerticesList())) return false; + if (!getVerticesList().equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -242,96 +277,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly + 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly 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.videointelligence.v1p2beta1.NormalizedBoundingPoly prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly 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; } /** + * + * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -352,39 +396,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1p2beta1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.class,
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.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) {
         getVerticesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,14 +445,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -419,7 +468,8 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly build
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly result =
+          new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -438,46 +488,51 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly build
     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.videointelligence.v1p2beta1.NormalizedBoundingPoly) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly
+              .getDefaultInstance()) return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -496,9 +551,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.Normalized
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVerticesFieldBuilder() : null;
+            verticesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVerticesFieldBuilder()
+                    : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -523,7 +579,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -532,28 +590,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List vertices_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        vertices_ = java.util.Collections.emptyList();
+
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ = new java.util.ArrayList(vertices_);
+        vertices_ =
+            new java.util.ArrayList(
+                vertices_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> verticesBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>
+        verticesBuilder_;
 
     /**
+     *
+     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List getVerticesList() { + public java.util.List + getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -561,11 +630,14 @@ public java.util.List * Normalized vertices of the bounding polygon. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public int getVerticesCount() { if (verticesBuilder_ == null) { @@ -575,11 +647,14 @@ public int getVerticesCount() { } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices(int index) { if (verticesBuilder_ == null) { @@ -589,11 +664,14 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder setVertices( int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { @@ -610,14 +688,18 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder setVertices( - int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.set(index, builderForValue.build()); @@ -628,13 +710,17 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public Builder addVertices(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { + public Builder addVertices( + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -648,11 +734,14 @@ public Builder addVertices(com.google.cloud.videointelligence.v1p2beta1.Normaliz return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex value) { @@ -669,11 +758,14 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { @@ -687,14 +779,18 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( - int index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.add(index, builderForValue.build()); @@ -705,18 +801,21 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder addAllVertices( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -724,11 +823,14 @@ public Builder addAllVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder clearVertices() { if (verticesBuilder_ == null) { @@ -741,11 +843,14 @@ public Builder clearVertices() { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public Builder removeVertices(int index) { if (verticesBuilder_ == null) { @@ -758,39 +863,50 @@ public Builder removeVertices(int index) { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder getVerticesBuilder( int index) { return getVerticesFieldBuilder().getBuilder(index); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder + getVerticesOrBuilder(int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); } else { + return vertices_.get(index); + } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List - getVerticesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -798,56 +914,72 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder ge } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder addVerticesBuilder() { - return getVerticesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder + addVerticesBuilder() { + return getVerticesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>( - vertices_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + verticesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder>( + vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); vertices_ = null; } return verticesBuilder_; } + @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); } @@ -857,30 +989,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly(); } - public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -892,9 +1026,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java index 336e5e438..172164d1f 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedBoundingPolyOrBuilder.java @@ -1,22 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface NormalizedBoundingPolyOrBuilder extends +public interface NormalizedBoundingPolyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - java.util.List - getVerticesList(); + java.util.List getVerticesList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -25,6 +44,8 @@ public interface NormalizedBoundingPolyOrBuilder extends */ com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getVertices(int index); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -33,15 +54,19 @@ public interface NormalizedBoundingPolyOrBuilder extends */ int getVerticesCount(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java similarity index 67% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java index ffdbdcb6a..205638938 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertex.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedVertex}
  */
-public final class NormalizedVertex extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedVertex() {
-  }
+
+  private NormalizedVertex() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,23 +70,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            x_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            y_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              x_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              y_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,34 +94,39 @@ private NormalizedVertex(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
+   *
+   *
    * 
    * X coordinate.
    * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -116,11 +137,14 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** + * + * *
    * Y coordinate.
    * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -129,6 +153,7 @@ public float getY() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +165,7 @@ 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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -158,12 +182,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,19 +195,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.videointelligence.v1p2beta1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other = (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other = + (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) - != java.lang.Float.floatToIntBits( - other.getX())) return false; - if (java.lang.Float.floatToIntBits(getY()) - != java.lang.Float.floatToIntBits( - other.getY())) return false; + if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) + return false; + if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -198,107 +219,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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; } /** + * + * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -307,21 +334,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.NormalizedVertex}
    */
-  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.videointelligence.v1p2beta1.NormalizedVertex)
       com.google.cloud.videointelligence.v1p2beta1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.class,
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.newBuilder()
@@ -329,16 +358,15 @@ 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();
@@ -350,13 +378,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance();
     }
 
@@ -371,7 +400,8 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex result = new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex result =
+          new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -382,38 +412,39 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex 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.videointelligence.v1p2beta1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -421,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex.getDefaultInstance())
+        return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -447,7 +480,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -457,13 +492,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_ ;
+    private float x_;
     /**
+     *
+     *
      * 
      * X coordinate.
      * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -471,42 +509,51 @@ public float getX() { return x_; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_ ; + private float y_; /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -514,37 +561,43 @@ public float getY() { return y_; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -554,12 +607,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) - private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex(); } @@ -568,16 +622,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..1d3e21e97 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/NormalizedVertexOrBuilder.java @@ -0,0 +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/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public interface NormalizedVertexOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * + * @return The x. + */ + float getX(); + + /** + * + * + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * + * @return The y. + */ + float getY(); +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java index 7a92e9395..4ad5e3380 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ObjectTrackingAnnotation() { frames_ = 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 ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,59 +71,75 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } + + break; } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame>(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = + ((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_) + .toBuilder(); + } + trackInfo_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); + } + trackInfoCase_ = 3; + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.parser(), extensionRegistry)); - break; - } - case 26: { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = ((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_).toBuilder(); + case 37: + { + confidence_ = input.readFloat(); + break; } - trackInfo_ = - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); + case 40: + { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; } - trackInfoCase_ = 3; - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - case 40: { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,8 +147,7 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -124,28 +156,34 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; + public enum TrackInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; + private TrackInfoCase(int value) { this.value = value; } @@ -161,31 +199,37 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: return SEGMENT; - case 5: return TRACK_ID; - case 0: return TRACKINFO_NOT_SET; - default: return null; + case 3: + return SEGMENT; + case 5: + return TRACK_ID; + case 0: + return TRACKINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -193,22 +237,27 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance(); } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -219,13 +268,15 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-       return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_;
+      return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -236,6 +287,7 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ @java.lang.Override @@ -243,6 +295,8 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -253,6 +307,7 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; + * * @return The trackId. */ @java.lang.Override @@ -266,11 +321,14 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -278,18 +336,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -304,11 +369,14 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -319,6 +387,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -326,10 +396,13 @@ public float getConfidence() { * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -337,11 +410,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -353,6 +429,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -364,6 +442,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame return frames_.get(index); } /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -371,12 +451,13 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder + getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -388,8 +469,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -397,14 +477,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - output.writeMessage(3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + output.writeMessage( + 3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { output.writeFloat(4, confidence_); } if (trackInfoCase_ == 5) { - output.writeInt64( - 5, (long)((java.lang.Long) trackInfo_)); + output.writeInt64(5, (long) ((java.lang.Long) trackInfo_)); } unknownFields.writeTo(output); } @@ -416,25 +496,23 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i)); } if (trackInfoCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } if (trackInfoCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 5, (long)((java.lang.Long) trackInfo_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 5, (long) ((java.lang.Long) trackInfo_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -444,32 +522,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.videointelligence.v1p2beta1.ObjectTrackingAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other = + (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false; switch (trackInfoCase_) { case 3: - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; break; case 5: - if (getTrackId() - != other.getTrackId()) return false; + if (getTrackId() != other.getTrackId()) return false; break; case 0: default: @@ -490,8 +564,7 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -503,8 +576,7 @@ public int hashCode() { break; case 5: hash = (37 * hash) + TRACK_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTrackId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId()); break; case 0: default: @@ -515,135 +587,147 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation + 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation 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; } /** + * + * *
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -667,14 +751,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + .getDefaultInstance(); } @java.lang.Override @@ -688,7 +774,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation bui @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation result = + new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -724,46 +811,51 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation bui 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.videointelligence.v1p2beta1.ObjectTrackingAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + .getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -788,26 +880,30 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ObjectTrac framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } } } switch (other.getTrackInfoCase()) { - case SEGMENT: { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: { - break; - } + case SEGMENT: + { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: + { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -828,7 +924,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -837,12 +935,12 @@ public Builder mergeFrom( } return this; } + private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public Builder clearTrackInfo() { @@ -855,14 +953,20 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -870,12 +974,15 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override @@ -893,6 +1000,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { } } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -914,6 +1023,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -933,6 +1044,8 @@ public Builder setSegment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -942,10 +1055,14 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3 &&
-            trackInfo_ != com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ = com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_)
-              .mergeFrom(value).buildPartial();
+        if (trackInfoCase_ == 3
+            && trackInfo_
+                != com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ =
+              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(
+                      (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -961,6 +1078,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -985,6 +1104,8 @@ public Builder clearSegment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -996,6 +1117,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1004,7 +1127,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder
+        getSegmentOrBuilder() {
       if ((trackInfoCase_ == 3) && (segmentBuilder_ != null)) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
@@ -1015,6 +1139,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1023,25 +1149,34 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
-          trackInfo_ = com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
+          trackInfo_ =
+              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
+        segmentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return segmentBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1052,12 +1187,15 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1068,6 +1206,7 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; + * * @return The trackId. */ public long getTrackId() { @@ -1077,6 +1216,8 @@ public long getTrackId() { return 0L; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1087,6 +1228,7 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; + * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1097,6 +1239,8 @@ public Builder setTrackId(long value) { return this; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1107,6 +1251,7 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; + * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1120,34 +1265,47 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1p2beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p2beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1168,6 +1326,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p2beta1.Entity val return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1186,6 +1346,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1196,7 +1358,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -1208,6 +1372,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p2beta1.Entity v return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1226,6 +1392,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1233,11 +1401,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p2beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1248,11 +1418,14 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p2beta1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1260,26 +1433,32 @@ public com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.Entity, com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.Entity, + com.google.cloud.videointelligence.v1p2beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -1287,55 +1466,71 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private java.util.List frames_ = - java.util.Collections.emptyList(); + private java.util.List + frames_ = java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame>(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -1343,11 +1538,14 @@ public java.util.List * Information corresponding to all frames where this object track appears. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -1357,11 +1555,14 @@ public int getFramesCount() { } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -1371,11 +1572,14 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrame } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { @@ -1392,14 +1596,18 @@ public Builder setFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1410,13 +1618,17 @@ public Builder setFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1430,11 +1642,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.ObjectTrac return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame value) { @@ -1451,11 +1666,14 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { @@ -1469,14 +1687,18 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1487,18 +1709,22 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1506,11 +1732,14 @@ public Builder addAllFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -1523,11 +1752,14 @@ public Builder clearFrames() { return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -1540,39 +1772,50 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder + getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1580,56 +1823,74 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame + .getDefaultInstance()); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder + addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame + .getDefaultInstance()); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1639,30 +1900,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1674,9 +1937,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java similarity index 82% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java index edfc431f2..38c0d7817 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotationOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ObjectTrackingAnnotationOrBuilder extends +public interface ObjectTrackingAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3; + * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -38,6 +62,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -48,10 +74,13 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -62,29 +91,38 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return The trackId. */ long getTrackId(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p2beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p2beta1.Entity getEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -94,25 +132,31 @@ public interface ObjectTrackingAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -121,6 +165,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getFrames(int index); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -129,15 +175,20 @@ public interface ObjectTrackingAnnotationOrBuilder extends */ int getFramesCount(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2; */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder> getFramesOrBuilderList(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * 
@@ -147,5 +198,6 @@ public interface ObjectTrackingAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( int index); - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase(); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.TrackInfoCase + getTrackInfoCase(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java similarity index 63% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java index 33ccd8259..5577a5ef9 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ObjectTrackingFrame() {
-  }
+
+  private ObjectTrackingFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,46 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder subBuilder = null;
-            if (normalizedBoundingBox_ != null) {
-              subBuilder = normalizedBoundingBox_.toBuilder();
-            }
-            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(normalizedBoundingBox_);
-              normalizedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder
+                  subBuilder = null;
+              if (normalizedBoundingBox_ != null) {
+                subBuilder = normalizedBoundingBox_.toBuilder();
+              }
+              normalizedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(normalizedBoundingBox_);
+                normalizedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +116,41 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class,
+            com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
+   *
+   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -128,37 +158,53 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -166,11 +212,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -178,6 +227,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
@@ -190,6 +241,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +253,7 @@ 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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -219,12 +270,11 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNormalizedBoundingBox()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +284,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.videointelligence.v1p2beta1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other = + (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox() - .equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +325,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame 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.videointelligence.v1p2beta1.ObjectTrackingFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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; } /** + * + * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -373,21 +430,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1p2beta1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.class,
+              com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.newBuilder()
@@ -395,16 +454,15 @@ 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();
@@ -424,13 +482,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance();
     }
 
@@ -445,7 +504,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame result =
+          new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -464,46 +524,50 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame 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) {
+        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.videointelligence.v1p2beta1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame.getDefaultInstance())
+        return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -529,7 +593,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -539,43 +605,66 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox
+        normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>
+        normalizedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -589,14 +678,19 @@ public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p2b return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder + builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -607,17 +701,25 @@ public Builder setNormalizedBoundingBox( return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.newBuilder( + normalizedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -629,11 +731,15 @@ public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -647,48 +753,67 @@ public Builder clearNormalizedBoundingBox() { return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), - getParentForChildren(), - isClean()); + normalizedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), getParentForChildren(), isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -696,34 +821,47 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuild private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -744,14 +882,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -762,6 +901,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -772,7 +913,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -784,6 +925,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -802,6 +945,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -809,11 +954,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -824,11 +971,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -836,21 +986,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -860,30 +1013,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) - private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame(); } - public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,9 +1050,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java similarity index 59% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java index 8b13496db..e81815ac0 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingFrameOrBuilder.java @@ -1,58 +1,97 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ObjectTrackingFrameOrBuilder extends +public interface ObjectTrackingFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java index 9f87a6293..efebc99bd 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ShotChangeDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1p2beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +231,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig + 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig 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; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.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(); @@ -345,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -366,7 +403,8 @@ public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +414,51 @@ public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p2beta1.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +496,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +520,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +529,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +544,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +553,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +576,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +595,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java index ac960cfab..5929f9eee 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ShotChangeDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface ShotChangeDetectionConfigOrBuilder extends +public interface ShotChangeDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java similarity index 73% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java index 195aa5db1..e5b4b19c4 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextAnnotation}
  */
-public final class TextAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextAnnotation)
     TextAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            text_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              segments_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              text_ = s;
+              break;
             }
-            segments_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextSegment.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                segments_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p2beta1.TextSegment>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              segments_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.TextSegment.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -96,27 +118,33 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class,
+            com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
+   *
+   *
    * 
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -125,29 +153,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -158,6 +186,8 @@ public java.lang.String getText() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -165,10 +195,13 @@ public java.lang.String getText() { * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -176,11 +209,13 @@ public java.util.List * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -192,6 +227,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -203,6 +240,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int return segments_.get(index); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -216,6 +255,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,7 @@ 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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -248,8 +287,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,17 +297,16 @@ 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.videointelligence.v1p2beta1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other = (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other = + (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) obj; - if (!getText() - .equals(other.getText())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getText().equals(other.getText())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,96 +330,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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; } /** + * + * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -391,21 +436,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextAnnotation}
    */
-  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.videointelligence.v1p2beta1.TextAnnotation)
       com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.class,
+              com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.newBuilder()
@@ -413,17 +460,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) {
         getSegmentsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,9 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -460,7 +507,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.TextAnnotation result = new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1p2beta1.TextAnnotation result =
+          new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -480,38 +528,39 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation 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.videointelligence.v1p2beta1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextAnnotation)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance())
+        return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -542,9 +592,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextAnnota
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSegmentsFieldBuilder() : null;
+            segmentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSegmentsFieldBuilder()
+                    : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -569,7 +620,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,22 +630,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
+     *
+     *
      * 
      * The detected text.
      * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -602,20 +657,21 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -623,79 +679,95 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextSegment, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -703,6 +775,8 @@ public java.util.List } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -717,6 +791,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -731,6 +807,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -752,6 +830,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -759,7 +839,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -770,6 +851,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -790,6 +873,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.TextSegm return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -811,6 +896,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -829,6 +916,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -836,7 +925,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -847,6 +937,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -854,11 +946,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -866,6 +958,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -883,6 +977,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -900,6 +996,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -911,6 +1009,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder getSegme return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -920,19 +1020,23 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder getSegme public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1044,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -947,10 +1053,13 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegm * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -959,37 +1068,43 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegme */ public com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextSegment, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextSegment, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextSegment, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } + @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); } @@ -999,12 +1114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextAnnotation) private static final com.google.cloud.videointelligence.v1p2beta1.TextAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextAnnotation(); } @@ -1013,16 +1128,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java index 955775be7..5ebd0ff46 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextAnnotationOrBuilder.java @@ -1,42 +1,66 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextAnnotationOrBuilder extends +public interface TextAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -45,6 +69,8 @@ public interface TextAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1p2beta1.TextSegment getSegments(int index); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -53,21 +79,24 @@ public interface TextAnnotationOrBuilder extends */ int getSegmentsCount(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java index 3a81ee4dd..b7f804dc9 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextDetectionConfig} */ -public final class TextDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) TextDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + languageHints_.add(s); + break; } - languageHints_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -87,22 +104,27 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -111,13 +133,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_; } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -126,12 +150,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -140,6 +167,7 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -147,6 +175,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -155,15 +185,16 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +206,7 @@ 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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -205,15 +235,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.videointelligence.v1p2beta1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other = + (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) obj; - if (!getLanguageHintsList() - .equals(other.getLanguageHintsList())) return false; + if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,117 +265,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig 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.videointelligence.v1p2beta1.TextDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextDetectionConfig} */ - 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.videointelligence.v1p2beta1.TextDetectionConfig) com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder() @@ -353,16 +393,15 @@ 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(); @@ -372,13 +411,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance(); } @@ -393,7 +433,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig result = + new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -408,46 +449,50 @@ public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig 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) { + 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.videointelligence.v1p2beta1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance()) + return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -477,7 +522,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,16 +533,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageHints_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -504,13 +556,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -519,12 +573,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -533,6 +590,7 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -540,6 +598,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -548,14 +608,16 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -564,21 +626,23 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints( - int index, java.lang.String value) { + public Builder setLanguageHints(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -587,20 +651,22 @@ public Builder setLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints( - java.lang.String value) { + public Builder addLanguageHints(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -609,18 +675,19 @@ public Builder addLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints( - java.lang.Iterable values) { + public Builder addAllLanguageHints(java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -629,6 +696,7 @@ public Builder addAllLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -638,6 +706,8 @@ public Builder clearLanguageHints() { return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -646,23 +716,23 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; + * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.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); } @@ -672,30 +742,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) - private static final com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -707,9 +779,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java similarity index 72% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java index c0ca2a92f..76c7bd6ba 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextDetectionConfigOrBuilder extends +public interface TextDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -16,11 +34,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - java.util.List - getLanguageHintsList(); + java.util.List getLanguageHintsList(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -29,10 +49,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ int getLanguageHintsCount(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -41,11 +64,14 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -54,9 +80,9 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString - getLanguageHintsBytes(int index); + com.google.protobuf.ByteString getLanguageHintsBytes(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java index 87882c357..4f72e6153 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextFrame}
  */
-public final class TextFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextFrame)
     TextFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TextFrame() {
-  }
+
+  private TextFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,46 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder subBuilder = null;
-            if (rotatedBoundingBox_ != null) {
-              subBuilder = rotatedBoundingBox_.toBuilder();
-            }
-            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rotatedBoundingBox_);
-              rotatedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder
+                  subBuilder = null;
+              if (rotatedBoundingBox_ != null) {
+                subBuilder = rotatedBoundingBox_.toBuilder();
+              }
+              rotatedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rotatedBoundingBox_);
+                rotatedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,34 +117,41 @@ private TextFrame(
     } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p2beta1.TextFrame.class, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p2beta1.TextFrame.class,
+            com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
+   *
+   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -129,37 +159,53 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox() { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + getRotatedBoundingBox() { + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() + : rotatedBoundingBox_; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -167,11 +213,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -179,6 +228,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Timestamp of this frame.
    * 
@@ -191,6 +242,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +254,7 @@ 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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -220,12 +271,10 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,22 +284,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.videointelligence.v1p2beta1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextFrame other = (com.google.cloud.videointelligence.v1p2beta1.TextFrame) obj; + com.google.cloud.videointelligence.v1p2beta1.TextFrame other = + (com.google.cloud.videointelligence.v1p2beta1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox() - .equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +325,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextFrame 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; } /** + * + * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -375,21 +431,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextFrame}
    */
-  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.videointelligence.v1p2beta1.TextFrame)
       com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p2beta1.TextFrame.class, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p2beta1.TextFrame.class,
+              com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p2beta1.TextFrame.newBuilder()
@@ -397,16 +455,15 @@ 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();
@@ -426,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +504,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p2beta1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p2beta1.TextFrame result = new com.google.cloud.videointelligence.v1p2beta1.TextFrame(this);
+      com.google.cloud.videointelligence.v1p2beta1.TextFrame result =
+          new com.google.cloud.videointelligence.v1p2beta1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -466,38 +524,39 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame 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.videointelligence.v1p2beta1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance())
+        return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -531,7 +591,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextFrame) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p2beta1.TextFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -543,41 +604,63 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>
+        rotatedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + .getDefaultInstance() + : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -591,14 +674,19 @@ public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p2beta return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder + builderForValue) { if (rotatedBoundingBoxBuilder_ == null) { rotatedBoundingBox_ = builderForValue.build(); onChanged(); @@ -609,17 +697,25 @@ public Builder setRotatedBoundingBox( return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox( + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.newBuilder( + rotatedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -631,11 +727,15 @@ public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p2be return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -649,48 +749,67 @@ public Builder clearRotatedBoundingBox() { return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder + getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly + .getDefaultInstance() + : rotatedBoundingBox_; } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), - getParentForChildren(), - isClean()); + rotatedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), getParentForChildren(), isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -698,34 +817,47 @@ public com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuil private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -746,14 +878,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -764,6 +897,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -774,7 +909,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -786,6 +921,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -804,6 +941,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -811,11 +950,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -826,11 +967,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -838,21 +982,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -862,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextFrame) private static final com.google.cloud.videointelligence.v1p2beta1.TextFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextFrame(); } @@ -876,16 +1023,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextFrame getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,6 +1047,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java similarity index 57% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java index 5a6bee749..fd7b6cd47 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextFrameOrBuilder.java @@ -1,58 +1,97 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextFrameOrBuilder extends +public interface TextFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly getRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java similarity index 74% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java index 7f7f9a8ba..532721a06 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegment.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextSegment} */ -public final class TextSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.TextSegment) TextSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,49 @@ private TextSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.TextFrame>(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.TextFrame.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,8 +121,7 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -105,27 +130,33 @@ private TextSegment( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -133,18 +164,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -159,12 +197,15 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -175,6 +216,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -186,6 +229,8 @@ public java.util.List ge return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -193,11 +238,13 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -209,6 +256,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -220,6 +269,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int inde return frames_.get(index); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -233,6 +284,7 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +296,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -265,16 +316,13 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,23 +332,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.videointelligence.v1p2beta1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.TextSegment other = (com.google.cloud.videointelligence.v1p2beta1.TextSegment) obj; + com.google.cloud.videointelligence.v1p2beta1.TextSegment other = + (com.google.cloud.videointelligence.v1p2beta1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,8 +363,7 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -329,117 +374,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextSegment 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; } /** + * + * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.TextSegment} */ - 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.videointelligence.v1p2beta1.TextSegment) com.google.cloud.videointelligence.v1p2beta1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.TextSegment.class, + com.google.cloud.videointelligence.v1p2beta1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.TextSegment.newBuilder() @@ -447,17 +502,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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.TextSegment result = new com.google.cloud.videointelligence.v1p2beta1.TextSegment(this); + com.google.cloud.videointelligence.v1p2beta1.TextSegment result = + new com.google.cloud.videointelligence.v1p2beta1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -525,38 +581,39 @@ public com.google.cloud.videointelligence.v1p2beta1.TextSegment 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.videointelligence.v1p2beta1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.TextSegment) other); } else { super.mergeFrom(other); return this; @@ -564,7 +621,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.TextSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -589,9 +647,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.TextSegmen framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -616,7 +675,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,38 +685,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p2beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -677,6 +751,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSegm return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -695,6 +771,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -705,7 +783,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -717,6 +797,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p2beta1.VideoSe return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -735,6 +817,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -742,26 +826,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -769,27 +859,33 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -797,50 +893,64 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextFrame, + com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -855,6 +965,8 @@ public java.util.List ge } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -869,6 +981,8 @@ public int getFramesCount() { } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -883,6 +997,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int inde } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -904,6 +1020,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -922,6 +1040,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -942,6 +1062,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p2beta1.TextFrame return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -963,6 +1085,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -981,6 +1105,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -999,6 +1125,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1006,11 +1134,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1018,6 +1146,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1035,6 +1165,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1052,6 +1184,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1063,6 +1197,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder getFramesB return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1072,19 +1208,22 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder getFramesB public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1092,6 +1231,8 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1099,10 +1240,12 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFrames * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1111,37 +1254,43 @@ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesB */ public com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p2beta1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextFrame, + com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextFrame, com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextFrame, + com.google.cloud.videointelligence.v1p2beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1151,12 +1300,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.TextSegment) private static final com.google.cloud.videointelligence.v1p2beta1.TextSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.TextSegment(); } @@ -1165,16 +1314,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.TextSegment getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,6 +1338,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java similarity index 76% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java index 86e5e3ccb..c10bc9ae7 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/TextSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface TextSegmentOrBuilder extends +public interface TextSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.TextSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -35,26 +59,32 @@ public interface TextSegmentOrBuilder extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -63,6 +93,8 @@ public interface TextSegmentOrBuilder extends */ com.google.cloud.videointelligence.v1p2beta1.TextFrame getFrames(int index); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -71,21 +103,24 @@ public interface TextSegmentOrBuilder extends */ int getFramesCount(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java similarity index 69% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java index fc5551fd1..ab3267dcf 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgress.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationProgress() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,55 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - - progressPercent_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + inputUri_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + progressPercent_ = input.readInt32(); + break; } + case 26: + { + 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; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +126,40 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -141,30 +168,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -175,12 +202,15 @@ public java.lang.String getInputUri() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -191,11 +221,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -203,11 +236,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -215,6 +251,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the request was received.
    * 
@@ -229,11 +267,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -241,11 +282,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -253,6 +297,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Time of the most recent update.
    * 
@@ -265,6 +311,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +323,7 @@ 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(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); } @@ -303,16 +349,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_); } if (progressPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, progressPercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,26 +365,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.videointelligence.v1p2beta1.VideoAnnotationProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) obj; + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other = + (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (getProgressPercent() - != other.getProgressPercent()) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (getProgressPercent() != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -372,134 +412,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress + 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress 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.videointelligence.v1p2beta1.VideoAnnotationProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress 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; } /** + * + * *
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p2beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.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(); @@ -523,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + .getDefaultInstance(); } @java.lang.Override @@ -544,7 +597,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress result = + new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -565,46 +619,51 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress buil 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.videointelligence.v1p2beta1.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -637,7 +696,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,19 +710,21 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -670,21 +733,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -692,70 +756,80 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -763,32 +837,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -796,24 +876,33 @@ public Builder clearProgressPercent() { 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_; /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -824,6 +913,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the request was received.
      * 
@@ -844,14 +935,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -862,6 +954,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -872,7 +966,7 @@ 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; } @@ -884,6 +978,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -902,6 +998,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -909,11 +1007,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the request was received.
      * 
@@ -924,11 +1024,12 @@ 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_; } } /** + * + * *
      * Time when the request was received.
      * 
@@ -936,14 +1037,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -951,34 +1055,47 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -999,14 +1116,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1017,6 +1135,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1027,7 +1147,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1039,6 +1159,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1057,6 +1179,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1064,11 +1188,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1079,11 +1205,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1091,21 +1220,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @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); } @@ -1115,30 +1247,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) - private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress(); } - public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoAnnotationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoAnnotationProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoAnnotationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoAnnotationProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,9 +1284,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java similarity index 73% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java index a40b63a20..491e4c553 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationProgressOrBuilder.java @@ -1,64 +1,96 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface VideoAnnotationProgressOrBuilder extends +public interface VideoAnnotationProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Time when the request was received.
    * 
@@ -68,24 +100,32 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java index 01d64f885..44aad0f34 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResults.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -31,16 +49,15 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,99 +77,138 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segmentLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + inputUri_ = s; + break; } - shotLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - frameLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + shotLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + shotLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frameLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000004; + } + frameLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000008; + } + shotAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), + extensionRegistry)); + break; } + case 58: + { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder + subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); + } + explicitAnnotation_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - 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; } + case 74: + { + 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; - } - case 98: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - textAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - textAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.parser(), extensionRegistry)); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - objectAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 98: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + textAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation>(); + mutable_bitField0_ |= 0x00000010; + } + textAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.parser(), + extensionRegistry)); + break; } - objectAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 114: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation>(); + mutable_bitField0_ |= 0x00000020; + } + objectAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -160,8 +216,7 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -185,28 +240,34 @@ private VideoAnnotationResults( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -215,30 +276,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -247,268 +308,364 @@ public java.lang.String getInputUri() { } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List segmentLabelAnnotations_; + private java.util.List + segmentLabelAnnotations_; /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { return segmentLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { return segmentLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List shotLabelAnnotations_; + private java.util.List + shotLabelAnnotations_; /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations( + int index) { return shotLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { return shotLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List frameLabelAnnotations_; + private java.util.List + frameLabelAnnotations_; /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { return frameLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { return frameLabelAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List shotAnnotations_; + private java.util.List + shotAnnotations_; /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + explicitAnnotation_; /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -516,168 +673,227 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + getExplicitAnnotation() { + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; - private java.util.List textAnnotations_; + private java.util.List + textAnnotations_; /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public java.util.List getTextAnnotationsList() { + public java.util.List + getTextAnnotationsList() { return textAnnotations_; } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList() { return textAnnotations_; } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override public int getTextAnnotationsCount() { return textAnnotations_.size(); } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index) { return textAnnotations_.get(index); } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder + getTextAnnotationsOrBuilder(int index) { return textAnnotations_.get(index); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14; - private java.util.List objectAnnotations_; + private java.util.List + objectAnnotations_; /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index) { return objectAnnotations_.get(index); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { return objectAnnotations_.get(index); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ @java.lang.Override @@ -685,12 +901,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ @java.lang.Override @@ -698,6 +917,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -711,6 +932,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -722,8 +944,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -764,36 +985,34 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, frameLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, objectAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -803,36 +1022,29 @@ 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.videointelligence.v1p2beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) obj;
-
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
-    if (!getSegmentLabelAnnotationsList()
-        .equals(other.getSegmentLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList()
-        .equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList()
-        .equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getShotAnnotationsList()
-        .equals(other.getShotAnnotationsList())) return false;
+    com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other =
+        (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) obj;
+
+    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
+      return false;
+    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation()
-          .equals(other.getExplicitAnnotation())) return false;
+      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
     }
-    if (!getTextAnnotationsList()
-        .equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList()
-        .equals(other.getObjectAnnotationsList())) return false;
+    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -885,132 +1097,143 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults
+      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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults 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.videointelligence.v1p2beta1.VideoAnnotationResults prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults 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;
   }
   /**
+   *
+   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p2beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); getFrameLabelAnnotationsFieldBuilder(); @@ -1019,6 +1242,7 @@ private void maybeForceBuilderInitialization() { getObjectAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1076,14 +1300,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults + .getDefaultInstance(); } @java.lang.Override @@ -1097,12 +1323,14 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults result = + new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1172,46 +1400,51 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults build 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.videointelligence.v1p2beta1.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults other) { + if (other + == com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -1234,9 +1467,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentLabelAnnotationsFieldBuilder() : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentLabelAnnotationsFieldBuilder() + : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -1260,9 +1494,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotLabelAnnotationsFieldBuilder() : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotLabelAnnotationsFieldBuilder() + : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -1286,9 +1521,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFrameLabelAnnotationsFieldBuilder() : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFrameLabelAnnotationsFieldBuilder() + : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -1312,9 +1548,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotAnnotationsFieldBuilder() : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotAnnotationsFieldBuilder() + : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -1341,9 +1578,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTextAnnotationsFieldBuilder() : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTextAnnotationsFieldBuilder() + : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -1367,9 +1605,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoAnnot objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectAnnotationsFieldBuilder() : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getObjectAnnotationsFieldBuilder() + : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -1397,7 +1636,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1406,23 +1647,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -1431,21 +1675,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -1453,83 +1698,101 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Google Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private java.util.List segmentLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + new java.util.ArrayList( + segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + segmentLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -1537,12 +1800,16 @@ public java.util.List * Label annotations on video level or user specified segment level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1552,14 +1819,19 @@ public int getSegmentLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -1567,12 +1839,16 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLa } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1589,15 +1865,20 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -1608,14 +1889,19 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1629,12 +1915,16 @@ public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1651,12 +1941,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -1670,15 +1964,20 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -1689,19 +1988,23 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -1709,12 +2012,16 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1727,12 +2034,16 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -1745,42 +2056,56 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + getSegmentLabelAnnotationsBuilder(int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); } else { + return segmentLabelAnnotations_.get(index); + } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1788,48 +2113,70 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( - int index) { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder(int index) { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on video level or user specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1839,27 +2186,38 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addS return segmentLabelAnnotationsBuilder_; } - private java.util.List shotLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); + shotLabelAnnotations_ = + new java.util.ArrayList( + shotLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + shotLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -1867,12 +2225,16 @@ public java.util.List * Label annotations on shot level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -1882,14 +2244,19 @@ public int getShotLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations( + int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -1897,12 +2264,16 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabel } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1919,15 +2290,20 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -1938,14 +2314,19 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1959,12 +2340,16 @@ public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p2be return this; } /** - *
+     *
+     *
+     * 
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -1981,12 +2366,16 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -2000,15 +2389,20 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -2019,19 +2413,23 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -2039,12 +2437,16 @@ public Builder addAllShotLabelAnnotations( return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -2057,12 +2459,16 @@ public Builder clearShotLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -2075,42 +2481,56 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + getShotLabelAnnotationsBuilder(int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); } else { + return shotLabelAnnotations_.get(index); + } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2118,48 +2538,70 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( - int index) { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder(int index) { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2169,27 +2611,38 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addS return shotLabelAnnotationsBuilder_; } - private java.util.List frameLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + frameLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); + frameLabelAnnotations_ = + new java.util.ArrayList( + frameLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + frameLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -2197,12 +2650,16 @@ public java.util.List * Label annotations on frame level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2212,14 +2669,19 @@ public int getFrameLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -2227,12 +2689,16 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabe } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2249,15 +2715,20 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -2268,14 +2739,19 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2289,12 +2765,16 @@ public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p2b return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation value) { @@ -2311,12 +2791,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { @@ -2330,15 +2814,20 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -2349,19 +2838,23 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -2369,12 +2862,16 @@ public Builder addAllFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -2387,12 +2884,16 @@ public Builder clearFrameLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -2405,42 +2906,56 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + getFrameLabelAnnotationsBuilder(int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); } else { + return frameLabelAnnotations_.get(index); + } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2448,48 +2963,70 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( - int index) { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder(int index) { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2499,26 +3036,36 @@ public com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation.Builder addF return frameLabelAnnotationsBuilder_; } - private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); + shotAnnotations_ = + new java.util.ArrayList( + shotAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + shotAnnotationsBuilder_; /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -2526,11 +3073,14 @@ public java.util.List } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -2540,11 +3090,14 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2554,11 +3107,14 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotati } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { @@ -2575,14 +3131,18 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -2593,13 +3153,17 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { + public Builder addShotAnnotations( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2613,11 +3177,14 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p2beta1.V return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment value) { @@ -2634,11 +3201,14 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { @@ -2652,14 +3222,18 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -2670,18 +3244,21 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder addAllShotAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -2689,11 +3266,14 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -2706,11 +3286,14 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -2723,39 +3306,50 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getShotAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder + getShotAnnotationsBuilder(int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2763,45 +3357,64 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSho } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder + addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addShotAnnotationsBuilder( - int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder + addShotAnnotationsBuilder(int index) { + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2811,43 +3424,66 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addShot return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2861,14 +3497,19 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p2beta return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder + builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -2879,17 +3520,25 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -2901,11 +3550,15 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p2be return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -2919,75 +3572,105 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List textAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + textAnnotations_ = java.util.Collections.emptyList(); + private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - textAnnotations_ = new java.util.ArrayList(textAnnotations_); + textAnnotations_ = + new java.util.ArrayList( + textAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> + textAnnotationsBuilder_; /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List getTextAnnotationsList() { + public java.util.List + getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -2995,13 +3678,17 @@ public java.util.List * OCR text detection and tracking. * Annotations for list of detected text snippets. Each will have list of * frame information associated with it. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -3011,15 +3698,20 @@ public int getTextAnnotationsCount() { } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations( + int index) { if (textAnnotationsBuilder_ == null) { return textAnnotations_.get(index); } else { @@ -3027,13 +3719,17 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnota } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { @@ -3050,16 +3746,21 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.set(index, builderForValue.build()); @@ -3070,15 +3771,20 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { + public Builder addTextAnnotations( + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3092,13 +3798,17 @@ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p2beta1.T return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation value) { @@ -3115,13 +3825,17 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { @@ -3135,16 +3849,21 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.add(index, builderForValue.build()); @@ -3155,20 +3874,24 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder addAllTextAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -3176,13 +3899,17 @@ public Builder addAllTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -3195,13 +3922,17 @@ public Builder clearTextAnnotations() { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -3214,45 +3945,59 @@ public Builder removeTextAnnotations(int index) { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder getTextAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder + getTextAnnotationsBuilder(int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder + getTextAnnotationsOrBuilder(int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); } else { + return textAnnotations_.get(index); + } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3260,51 +4005,73 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getT } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder + addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder addTextAnnotationsBuilder( - int index) { - return getTextAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder + addTextAnnotationsBuilder(int index) { + return getTextAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -3314,26 +4081,38 @@ public com.google.cloud.videointelligence.v1p2beta1.TextAnnotation.Builder addTe return textAnnotationsBuilder_; } - private java.util.List objectAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + objectAnnotations_ = java.util.Collections.emptyList(); + private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation>( + objectAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + objectAnnotationsBuilder_; /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -3341,11 +4120,15 @@ public java.util.List * Annotations for list of objects detected and tracked in video. *
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -3355,13 +4138,18 @@ public int getObjectAnnotationsCount() { } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -3369,11 +4157,15 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation get } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { @@ -3390,14 +4182,20 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -3408,13 +4206,18 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3428,11 +4231,15 @@ public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p2beta1 return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation value) { @@ -3449,14 +4256,19 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -3467,14 +4279,20 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -3485,18 +4303,23 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addAllObjectAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation> + values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -3504,11 +4327,15 @@ public Builder addAllObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -3521,11 +4348,15 @@ public Builder clearObjectAnnotations() { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -3538,39 +4369,54 @@ public Builder removeObjectAnnotations(int index) { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + getObjectAnnotationsBuilder(int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); } else { + return objectAnnotations_.get(index); + } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3578,45 +4424,70 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBu } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( - int index) { - return getObjectAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder(int index) { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder> + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -3628,26 +4499,33 @@ public com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation.Bui 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_; /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3658,6 +4536,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3679,6 +4559,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3686,8 +4568,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -3698,6 +4579,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3708,8 +4591,7 @@ public Builder setError(
     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;
         }
@@ -3721,6 +4603,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3740,6 +4624,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3748,11 +4634,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3764,11 +4652,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -3777,21 +4666,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -3801,30 +4690,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationResults parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationResults(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationResults parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationResults(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3836,9 +4727,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
similarity index 64%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
index 387e0ba67..3105e9df7 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,371 +1,528 @@
+/*
+ * 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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
-public interface VideoAnnotationResultsOrBuilder extends
+public interface VideoAnnotationResultsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Google Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations(int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getSegmentLabelAnnotations( + int index); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ int getSegmentLabelAnnotationsCount(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on video level or user specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getShotLabelAnnotations(int index); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ int getShotLabelAnnotationsCount(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3; + * */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1p2beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ int getFrameLabelAnnotationsCount(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4; + * */ - com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p2beta1.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - java.util.List + java.util.List getTextAnnotationsList(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ com.google.cloud.videointelligence.v1p2beta1.TextAnnotation getTextAnnotations(int index); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ int getTextAnnotationsCount(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ - java.util.List + java.util.List getTextAnnotationsOrBuilderList(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12; + * */ com.google.cloud.videointelligence.v1p2beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( int index); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List getObjectAnnotationsList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ int getObjectAnnotationsCount(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
similarity index 63%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
index fc4f7eebf..bd203997b 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
+++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContext.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
 /**
+ *
+ *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoContext} */ -public final class VideoContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoContext) VideoContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,74 +71,101 @@ private VideoContext( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); - } - labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p2beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.parser(), + extensionRegistry)); + break; } - shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder subBuilder = + null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); - } - explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder + subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); + } + shotChangeDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 66: { - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder subBuilder = null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); + case 34: + { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder + subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder subBuilder = + null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); + } + textDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +173,7 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -139,22 +182,27 @@ private VideoContext( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -164,10 +212,13 @@ private VideoContext(
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List getSegmentsList() {
+  public java.util.List
+      getSegmentsList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -177,11 +228,14 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -195,6 +249,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -208,6 +264,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -225,11 +283,16 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -237,37 +300,56 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + getLabelDetectionConfig() { + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -275,37 +357,57 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -313,37 +415,55 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig textDetectionConfig_; /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -351,30 +471,41 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,8 +517,7 @@ 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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -413,24 +543,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLabelDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getShotChangeDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExplicitContentDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getExplicitContentDetectionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,34 +570,33 @@ 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.videointelligence.v1p2beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p2beta1.VideoContext other = (com.google.cloud.videointelligence.v1p2beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p2beta1.VideoContext other = + (com.google.cloud.videointelligence.v1p2beta1.VideoContext) obj; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) + return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig() - .equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -506,117 +635,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p2beta1.VideoContext 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; } /** + * + * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoContext} */ - 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.videointelligence.v1p2beta1.VideoContext) com.google.cloud.videointelligence.v1p2beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p2beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoContext.newBuilder() @@ -624,17 +763,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) { getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -672,9 +811,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; } @java.lang.Override @@ -693,7 +832,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoContext result = new com.google.cloud.videointelligence.v1p2beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p2beta1.VideoContext result = + new com.google.cloud.videointelligence.v1p2beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -732,38 +872,39 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoContext 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.videointelligence.v1p2beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoContext)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoContext) other); } else { super.mergeFrom(other); return this; @@ -771,7 +912,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoContext.getDefaultInstance()) + return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -790,9 +932,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -829,7 +972,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -838,21 +982,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1p2beta1.VideoSegment, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -861,7 +1014,8 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List getSegmentsList() {
+    public java.util.List
+        getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -869,6 +1023,8 @@ public java.util.List
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -885,6 +1041,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -901,6 +1059,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -924,6 +1084,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -933,7 +1095,8 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -944,6 +1107,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -966,6 +1131,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p2beta1.VideoSeg
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -989,6 +1156,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1009,6 +1178,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1018,7 +1189,8 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1029,6 +1201,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1038,11 +1212,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1050,6 +1224,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1069,6 +1245,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1088,6 +1266,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1101,6 +1281,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1112,11 +1294,14 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1125,8 +1310,9 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1134,6 +1320,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1143,10 +1331,13 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1157,10 +1348,14 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1169,20 +1364,23 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p2beta1.VideoSegment, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1190,41 +1388,62 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig,
+            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>
+        labelDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig + getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,11 +1457,15 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p2be return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1256,17 +1479,25 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.newBuilder( + labelDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1278,11 +1509,15 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p2 return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1296,90 +1531,131 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), - getParentForChildren(), - isClean()); + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), getParentForChildren(), isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> + shotChangeDetectionConfigBuilder_; /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1393,14 +1669,19 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder + builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1411,17 +1692,25 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.newBuilder( + shotChangeDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1433,11 +1722,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1451,90 +1744,133 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), - getParentForChildren(), - isClean()); + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), getParentForChildren(), isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null + || explicitContentDetectionConfig_ != null; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1548,14 +1884,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1566,17 +1907,25 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .newBuilder(explicitContentDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1588,11 +1937,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1606,48 +1959,68 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder + getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), - getParentForChildren(), - isClean()); + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1 + .ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -1655,41 +2028,62 @@ public com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConf private com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> + textDetectionConfigBuilder_; /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig + getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { + public Builder setTextDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1703,11 +2097,15 @@ public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p2bet return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder builderForValue) { @@ -1721,17 +2119,25 @@ public Builder setTextDetectionConfig( return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig( + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.newBuilder( + textDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { textDetectionConfig_ = value; } @@ -1743,11 +2149,15 @@ public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p2b return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -1761,55 +2171,73 @@ public Builder clearTextDetectionConfig() { return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder + getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), - getParentForChildren(), - isClean()); + textDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), getParentForChildren(), isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; } + @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); } @@ -1819,12 +2247,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p2beta1.VideoContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoContext(); } @@ -1833,16 +2261,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1857,6 +2285,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p2beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java index 3f50acd71..763696f8d 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoContextOrBuilder.java @@ -1,13 +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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; -public interface VideoContextOrBuilder extends +public interface VideoContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -16,9 +34,10 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -29,6 +48,8 @@ public interface VideoContextOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -39,6 +60,8 @@ public interface VideoContextOrBuilder extends
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -47,9 +70,11 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment segments = 1;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -62,110 +87,169 @@ com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig getLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig label_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfig getTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p2beta1.TextDetectionConfig text_detection_config = 8; + * */ - com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p2beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder(); } diff --git a/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..794bebaaf --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,526 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p2beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p2bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p2beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p2beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p2beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\366\003\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p2beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p2beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p2beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p2beta1.ExplicitContentDetection" + + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + + "google.cloud.videointelligence.v1p2beta1" + + ".TextDetectionConfig\"\234\001\n\024LabelDetectionC" + + "onfig\022Z\n\024label_detection_mode\030\001 \001(\0162<.go" + + "ogle.cloud.videointelligence.v1p2beta1.L" + + "abelDetectionMode\022\031\n\021stationary_camera\030\002" + + " \001(\010\022\r\n\005model\030\003 \001(\t\"*\n\031ShotChangeDetecti" + + "onConfig\022\r\n\005model\030\001 \001(\t\"/\n\036ExplicitConte" + + "ntDetectionConfig\022\r\n\005model\030\001 \001(\t\"-\n\023Text" + + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\"" + + "x\n\014VideoSegment\0224\n\021start_time_offset\030\001 \001" + + "(\0132\031.google.protobuf.Duration\0222\n\017end_tim" + + "e_offset\030\002 \001(\0132\031.google.protobuf.Duratio" + + "n\"k\n\014LabelSegment\022G\n\007segment\030\001 \001(\01326.goo" + + "gle.cloud.videointelligence.v1p2beta1.Vi" + + "deoSegment\022\022\n\nconfidence\030\002 \001(\002\"P\n\nLabelF" + + "rame\022.\n\013time_offset\030\001 \001(\0132\031.google.proto" + + "buf.Duration\022\022\n\nconfidence\030\002 \001(\002\"G\n\006Enti" + + "ty\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013description\030\002 \001" + + "(\t\022\025\n\rlanguage_code\030\003 \001(\t\"\260\002\n\017LabelAnnot" + + "ation\022@\n\006entity\030\001 \001(\01320.google.cloud.vid" + + "eointelligence.v1p2beta1.Entity\022K\n\021categ" + + "ory_entities\030\002 \003(\01320.google.cloud.videoi" + + "ntelligence.v1p2beta1.Entity\022H\n\010segments" + + "\030\003 \003(\01326.google.cloud.videointelligence." + + "v1p2beta1.LabelSegment\022D\n\006frames\030\004 \003(\01324" + + ".google.cloud.videointelligence.v1p2beta" + + "1.LabelFrame\"\234\001\n\024ExplicitContentFrame\022.\n" + + "\013time_offset\030\001 \001(\0132\031.google.protobuf.Dur" + + "ation\022T\n\026pornography_likelihood\030\002 \001(\01624." + + "google.cloud.videointelligence.v1p2beta1" + + ".Likelihood\"k\n\031ExplicitContentAnnotation" + + "\022N\n\006frames\030\001 \003(\0132>.google.cloud.videoint" + + "elligence.v1p2beta1.ExplicitContentFrame" + + "\"Q\n\025NormalizedBoundingBox\022\014\n\004left\030\001 \001(\002\022" + + "\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001(\002\022\016\n\006bottom\030\004 " + + "\001(\002\"\313\005\n\026VideoAnnotationResults\022\021\n\tinput_" + + "uri\030\001 \001(\t\022\\\n\031segment_label_annotations\030\002" + + " \003(\01329.google.cloud.videointelligence.v1" + + "p2beta1.LabelAnnotation\022Y\n\026shot_label_an" + + "notations\030\003 \003(\01329.google.cloud.videointe" + + "lligence.v1p2beta1.LabelAnnotation\022Z\n\027fr" + + "ame_label_annotations\030\004 \003(\01329.google.clo" + + "ud.videointelligence.v1p2beta1.LabelAnno" + + "tation\022P\n\020shot_annotations\030\006 \003(\01326.googl" + + "e.cloud.videointelligence.v1p2beta1.Vide" + + "oSegment\022`\n\023explicit_annotation\030\007 \001(\0132C." + + "google.cloud.videointelligence.v1p2beta1" + + ".ExplicitContentAnnotation\022R\n\020text_annot" + + "ations\030\014 \003(\01328.google.cloud.videointelli" + + "gence.v1p2beta1.TextAnnotation\022^\n\022object" + + "_annotations\030\016 \003(\0132B.google.cloud.videoi" + + "ntelligence.v1p2beta1.ObjectTrackingAnno" + + "tation\022!\n\005error\030\t \001(\0132\022.google.rpc.Statu" + + "s\"u\n\025AnnotateVideoResponse\022\\\n\022annotation" + + "_results\030\001 \003(\0132@.google.cloud.videointel" + + "ligence.v1p2beta1.VideoAnnotationResults" + + "\"\247\001\n\027VideoAnnotationProgress\022\021\n\tinput_ur" + + "i\030\001 \001(\t\022\030\n\020progress_percent\030\002 \001(\005\022.\n\nsta" + + "rt_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\"w\n\025AnnotateVideoProgress\022^\n\023a" + + "nnotation_progress\030\001 \003(\0132A.google.cloud." + + "videointelligence.v1p2beta1.VideoAnnotat" + + "ionProgress\"(\n\020NormalizedVertex\022\t\n\001x\030\001 \001" + + "(\002\022\t\n\001y\030\002 \001(\002\"f\n\026NormalizedBoundingPoly\022" + + "L\n\010vertices\030\001 \003(\0132:.google.cloud.videoin" + + "telligence.v1p2beta1.NormalizedVertex\"\257\001" + + "\n\013TextSegment\022G\n\007segment\030\001 \001(\01326.google." + + "cloud.videointelligence.v1p2beta1.VideoS" + + "egment\022\022\n\nconfidence\030\002 \001(\002\022C\n\006frames\030\003 \003" + + "(\01323.google.cloud.videointelligence.v1p2" + + "beta1.TextFrame\"\233\001\n\tTextFrame\022^\n\024rotated" + + "_bounding_box\030\001 \001(\0132@.google.cloud.video" + + "intelligence.v1p2beta1.NormalizedBoundin" + + "gPoly\022.\n\013time_offset\030\002 \001(\0132\031.google.prot" + + "obuf.Duration\"g\n\016TextAnnotation\022\014\n\004text\030" + + "\001 \001(\t\022G\n\010segments\030\002 \003(\01325.google.cloud.v" + + "ideointelligence.v1p2beta1.TextSegment\"\247" + + "\001\n\023ObjectTrackingFrame\022`\n\027normalized_bou" + + "nding_box\030\001 \001(\0132?.google.cloud.videointe" + + "lligence.v1p2beta1.NormalizedBoundingBox" + + "\022.\n\013time_offset\030\002 \001(\0132\031.google.protobuf." + + "Duration\"\254\002\n\030ObjectTrackingAnnotation\022I\n" + + "\007segment\030\003 \001(\01326.google.cloud.videointel" + + "ligence.v1p2beta1.VideoSegmentH\000\022\022\n\010trac" + + "k_id\030\005 \001(\003H\000\022@\n\006entity\030\001 \001(\01320.google.cl" + + "oud.videointelligence.v1p2beta1.Entity\022\022" + + "\n\nconfidence\030\004 \001(\002\022M\n\006frames\030\002 \003(\0132=.goo" + + "gle.cloud.videointelligence.v1p2beta1.Ob" + + "jectTrackingFrameB\014\n\ntrack_info*\233\001\n\007Feat" + + "ure\022\027\n\023FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DE" + + "TECTION\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032" + + "EXPLICIT_CONTENT_DETECTION\020\003\022\022\n\016TEXT_DET" + + "ECTION\020\007\022\023\n\017OBJECT_TRACKING\020\t*r\n\022LabelDe" + + "tectionMode\022$\n LABEL_DETECTION_MODE_UNSP" + + "ECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAME_MODE\020\002" + + "\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLikelihood\022" + + "\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLI" + + "KELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LI" + + "KELY\020\004\022\017\n\013VERY_LIKELY\020\0052\316\002\n\030VideoIntelli" + + "genceService\022\333\001\n\rAnnotateVideo\022>.google." + + "cloud.videointelligence.v1p2beta1.Annota" + + "teVideoRequest\032\035.google.longrunning.Oper" + + "ation\"k\202\323\344\223\002\037\"\032/v1p2beta1/videos:annotat" + + "e:\001*\332A\022input_uri,features\312A.\n\025AnnotateVi" + + "deoResponse\022\025AnnotateVideoProgress\032T\312A v" + + "ideointelligence.googleapis.com\322A.https:" + + "//www.googleapis.com/auth/cloud-platform" + + "B\256\002\n,com.google.cloud.videointelligence." + + "v1p2beta1B\035VideoIntelligenceServiceProto" + + "P\001ZYgoogle.golang.org/genproto/googleapi" + + "s/cloud/videointelligence/v1p2beta1;vide" + + "ointelligence\252\002(Google.Cloud.VideoIntell" + + "igence.V1P2Beta1\312\002(Google\\Cloud\\VideoInt" + + "elligence\\V1p2beta1\352\002+Google::Cloud::Vid" + + "eoIntelligence::V1p2beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { + "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoContext_descriptor, + new java.lang.String[] { + "Segments", + "LabelDetectionConfig", + "ShotChangeDetectionConfig", + "ExplicitContentDetectionConfig", + "TextDetectionConfig", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { + "LabelDetectionMode", "StationaryCamera", "Model", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextDetectionConfig_descriptor, + new java.lang.String[] { + "LanguageHints", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor, + new java.lang.String[] { + "StartTimeOffset", "EndTimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_Entity_descriptor, + new java.lang.String[] { + "EntityId", "Description", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_LabelAnnotation_descriptor, + new java.lang.String[] { + "Entity", "CategoryEntities", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "PornographyLikelihood", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { + "Frames", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { + "Left", "Top", "Right", "Bottom", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { + "InputUri", + "SegmentLabelAnnotations", + "ShotLabelAnnotations", + "FrameLabelAnnotations", + "ShotAnnotations", + "ExplicitAnnotation", + "TextAnnotations", + "ObjectAnnotations", + "Error", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { + "AnnotationResults", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { + "InputUri", "ProgressPercent", "StartTime", "UpdateTime", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { + "AnnotationProgress", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedVertex_descriptor, + new java.lang.String[] { + "X", "Y", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { + "Vertices", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", "Frames", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextFrame_descriptor, + new java.lang.String[] { + "RotatedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_TextAnnotation_descriptor, + new java.lang.String[] { + "Text", "Segments", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { + "NormalizedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p2beta1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { + "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java index 2094b5d56..ceba9e2ce 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java +++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p2beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p2beta1; /** + * + * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoSegment} */ -public final class VideoSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p2beta1.VideoSegment) VideoSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoSegment() { - } + + private VideoSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private VideoSegment( 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(); - } + 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 18: { - 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; } + case 18: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private VideoSegment( } 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.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -128,19 +153,26 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -156,12 +188,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -169,19 +204,26 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -195,6 +237,7 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,7 @@ 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());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.videointelligence.v1p2beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p2beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p2beta1.VideoSegment other =
+        (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) obj;
 
     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;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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;
   }
   /**
+   *
+   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p2beta1.VideoSegment} */ - 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.videointelligence.v1p2beta1.VideoSegment) com.google.cloud.videointelligence.v1p2beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p2beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p2beta1.VideoSegment.newBuilder() @@ -399,16 +448,15 @@ 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(); @@ -428,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p2beta1_VideoSegment_descriptor; } @java.lang.Override @@ -449,7 +497,8 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p2beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p2beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p2beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p2beta1.VideoSegment result = + new com.google.cloud.videointelligence.v1p2beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -468,38 +517,39 @@ public com.google.cloud.videointelligence.v1p2beta1.VideoSegment 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.videointelligence.v1p2beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p2beta1.VideoSegment) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p2beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance()) + return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -533,7 +584,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +597,49 @@ 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_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -596,6 +661,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -603,8 +670,7 @@ 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();
@@ -615,6 +681,8 @@ public Builder setStartTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -626,7 +694,9 @@ 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;
         }
@@ -638,6 +708,8 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -657,6 +729,8 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -665,11 +739,13 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-      
+
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -681,11 +757,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,14 +773,17 @@ 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_;
@@ -709,36 +791,49 @@ 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_;
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -760,6 +855,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -767,8 +864,7 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -779,6 +875,8 @@ public Builder setEndTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -790,7 +888,9 @@ 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;
         }
@@ -802,6 +902,8 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -821,6 +923,8 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -829,11 +933,13 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-      
+
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -845,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -858,21 +967,24 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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>
         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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -882,12 +994,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p2beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p2beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p2beta1.VideoSegment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p2beta1.VideoSegment();
   }
@@ -896,16 +1008,16 @@ public static com.google.cloud.videointelligence.v1p2beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoSegment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoSegment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoSegment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoSegment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1032,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
index 673ec4f0c..957ea4781 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoSegmentOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1p2beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p2beta1;
 
-public interface VideoSegmentOrBuilder extends
+public interface VideoSegmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p2beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -38,26 +62,34 @@ public interface VideoSegmentOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto b/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
similarity index 100%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
rename to proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java
similarity index 61%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java
index 0c88ae652..33c64f8e8 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgress.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Video annotation progress. Included in the `metadata`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress}
  */
-public final class AnnotateVideoProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)
     AnnotateVideoProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoProgress.newBuilder() to construct.
   private AnnotateVideoProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoProgress() {
     annotationProgress_ = 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 AnnotateVideoProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoProgress(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoProgress(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationProgress_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationProgress_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationProgress_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationProgress_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoProgress(
     } 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)) {
         annotationProgress_ = java.util.Collections.unmodifiableList(annotationProgress_);
@@ -89,80 +110,108 @@ private AnnotateVideoProgress(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class,
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
   }
 
   public static final int ANNOTATION_PROGRESS_FIELD_NUMBER = 1;
-  private java.util.List annotationProgress_;
+  private java.util.List
+      annotationProgress_;
   /**
+   *
+   *
    * 
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList() { return annotationProgress_; } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override public int getAnnotationProgressCount() { return annotationProgress_.size(); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress( + int index) { return annotationProgress_.get(index); } /** + * + * *
    * Progress metadata for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { return annotationProgress_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationProgress_.size(); i++) { output.writeMessage(1, annotationProgress_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationProgress_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationProgress_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationProgress_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p3beta1.AnnotateVideoProgress)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other = + (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) obj; - if (!getAnnotationProgressList() - .equals(other.getAnnotationProgressList())) return false; + if (!getAnnotationProgressList().equals(other.getAnnotationProgressList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress + 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress 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.videointelligence.v1p3beta1.AnnotateVideoProgress prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress 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; } /** + * + * *
    * Video annotation progress. Included in the `metadata`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress}
    */
-  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.videointelligence.v1p3beta1.AnnotateVideoProgress)
       com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.class,
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.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) {
         getAnnotationProgressFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(this);
+      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress result =
+          new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(this);
       int from_bitField0_ = bitField0_;
       if (annotationProgressBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress buildP
     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.videointelligence.v1p3beta1.AnnotateVideoProgress) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress
+              .getDefaultInstance()) return this;
       if (annotationProgressBuilder_ == null) {
         if (!other.annotationProgress_.isEmpty()) {
           if (annotationProgress_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVi
             annotationProgressBuilder_ = null;
             annotationProgress_ = other.annotationProgress_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationProgressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationProgressFieldBuilder() : null;
+            annotationProgressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationProgressFieldBuilder()
+                    : null;
           } else {
             annotationProgressBuilder_.addAllMessages(other.annotationProgress_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationProgress_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationProgress_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationProgressIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationProgress_ = new java.util.ArrayList(annotationProgress_);
+        annotationProgress_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress>(
+                annotationProgress_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> annotationProgressBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress,
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>
+        annotationProgressBuilder_;
 
     /**
+     *
+     *
      * 
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List getAnnotationProgressList() { + public java.util.List + getAnnotationProgressList() { if (annotationProgressBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationProgress_); } else { @@ -537,11 +621,15 @@ public java.util.List * Progress metadata for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public int getAnnotationProgressCount() { if (annotationProgressBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationProgressCount() { } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + getAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { return annotationProgress_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getA } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { @@ -586,14 +683,20 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder setAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { + public Builder addAnnotationProgress( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { if (annotationProgressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationProgress(com.google.cloud.videointelligence.v1p3beta return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress value) { @@ -645,14 +757,19 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAnnotationProgress( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + builderForValue) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); annotationProgress_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder addAllAnnotationProgress( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress> + values) { if (annotationProgressBuilder_ == null) { ensureAnnotationProgressIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationProgress_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationProgress_); onChanged(); } else { annotationProgressBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationProgress( return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder clearAnnotationProgress() { if (annotationProgressBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationProgress() { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ public Builder removeAnnotationProgress(int index) { if (annotationProgressBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationProgress(int index) { return this; } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder getAnnotationProgressBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + getAnnotationProgressBuilder(int index) { return getAnnotationProgressFieldBuilder().getBuilder(index); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index) { if (annotationProgressBuilder_ == null) { - return annotationProgress_.get(index); } else { + return annotationProgress_.get(index); + } else { return annotationProgressBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList() { if (annotationProgressBuilder_ != null) { return annotationProgressBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBui } } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder() { - return getAnnotationProgressFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder() { + return getAnnotationProgressFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder addAnnotationProgressBuilder( - int index) { - return getAnnotationProgressFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder + addAnnotationProgressBuilder(int index) { + return getAnnotationProgressFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + .getDefaultInstance()); } /** + * + * *
      * Progress metadata for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * */ - public java.util.List - getAnnotationProgressBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder> + getAnnotationProgressBuilderList() { return getAnnotationProgressFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> getAnnotationProgressFieldBuilder() { if (annotationProgressBuilder_ == null) { - annotationProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>( + annotationProgressBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder>( annotationProgress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Buil } return annotationProgressBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoProgress(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoProgress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java new file mode 100644 index 000000000..586a327c9 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoProgressOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface AnnotateVideoProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List + getAnnotationProgressList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getAnnotationProgress( + int index); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + int getAnnotationProgressCount(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder> + getAnnotationProgressOrBuilderList(); + /** + * + * + *
+   * Progress metadata for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress annotation_progress = 1; + * + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder + getAnnotationProgressOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java similarity index 73% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java index 847370aae..4f8d81f7c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video annotation request.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest} */ -public final class AnnotateVideoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) AnnotateVideoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnnotateVideoRequest.newBuilder() to construct. private AnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnnotateVideoRequest() { inputUri_ = ""; inputContent_ = com.google.protobuf.ByteString.EMPTY; @@ -29,16 +47,15 @@ private AnnotateVideoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnnotateVideoRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnnotateVideoRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,81 @@ private AnnotateVideoRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - features_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - features_.add(rawValue); - break; - } - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 16: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 26: { - com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder subBuilder = null; - if (videoContext_ != null) { - subBuilder = videoContext_.toBuilder(); - } - videoContext_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(videoContext_); - videoContext_ = subBuilder.buildPartial(); + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + features_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + features_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 26: + { + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder subBuilder = null; + if (videoContext_ != null) { + subBuilder = videoContext_.toBuilder(); + } + videoContext_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(videoContext_); + videoContext_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - outputUri_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - locationId_ = s; - break; - } - case 50: { + outputUri_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - inputContent_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + locationId_ = s; + break; + } + case 50: + { + inputContent_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +157,7 @@ private AnnotateVideoRequest( } 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)) { features_ = java.util.Collections.unmodifiableList(features_); @@ -141,22 +166,27 @@ private AnnotateVideoRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -172,6 +202,7 @@ private AnnotateVideoRequest(
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -180,14 +211,15 @@ 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 video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -203,16 +235,15 @@ public java.lang.String getInputUri() {
    * 
* * string input_uri = 1; + * * @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 { @@ -223,6 +254,8 @@ public java.lang.String getInputUri() { public static final int INPUT_CONTENT_FIELD_NUMBER = 6; private com.google.protobuf.ByteString inputContent_; /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -230,6 +263,7 @@ public java.lang.String getInputUri() {
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -240,34 +274,50 @@ public com.google.protobuf.ByteString getInputContent() { public static final int FEATURES_FIELD_NUMBER = 2; private java.util.List features_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature> features_converter_ = + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature> + features_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>() { - public com.google.cloud.videointelligence.v1p3beta1.Feature convert(java.lang.Integer from) { + public com.google.cloud.videointelligence.v1p3beta1.Feature convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(from); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = + com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(from); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ @java.lang.Override public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>( + features_, features_converter_); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ @java.lang.Override @@ -275,11 +325,16 @@ public int getFeaturesCount() { return features_.size(); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -288,24 +343,33 @@ public com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ @java.lang.Override - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return features_; } /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -313,16 +377,20 @@ public com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int inde public int getFeaturesValue(int index) { return features_.get(index); } + private int featuresMemoizedSerializedSize; public static final int VIDEO_CONTEXT_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p3beta1.VideoContext videoContext_; /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ @java.lang.Override @@ -330,18 +398,25 @@ public boolean hasVideoContext() { return videoContext_ != null; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return The videoContext. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext() { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() + : videoContext_; } /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -349,13 +424,16 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { return getVideoContext(); } public static final int OUTPUT_URI_FIELD_NUMBER = 4; private volatile java.lang.Object outputUri_; /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -367,6 +445,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVid
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ @java.lang.Override @@ -375,14 +454,15 @@ 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; } } /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -394,16 +474,15 @@ public java.lang.String getOutputUri() {
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -414,6 +493,8 @@ public java.lang.String getOutputUri() { public static final int LOCATION_ID_FIELD_NUMBER = 5; private volatile java.lang.Object locationId_; /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -422,6 +503,7 @@ public java.lang.String getOutputUri() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ @java.lang.Override @@ -430,14 +512,15 @@ public java.lang.String getLocationId() { 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(); locationId_ = s; return s; } } /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -446,16 +529,15 @@ public java.lang.String getLocationId() {
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -464,6 +546,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,8 +558,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_); @@ -515,18 +597,17 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < features_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(features_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(features_.get(i)); } size += dataSize; - if (!getFeaturesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }featuresMemoizedSerializedSize = dataSize; + if (!getFeaturesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + featuresMemoizedSerializedSize = dataSize; } if (videoContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getVideoContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getVideoContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUri_); @@ -535,8 +616,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); } if (!inputContent_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, inputContent_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, inputContent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -546,27 +626,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.videointelligence.v1p3beta1.AnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) obj; - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputUri().equals(other.getInputUri())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; if (!features_.equals(other.features_)) return false; if (hasVideoContext() != other.hasVideoContext()) return false; if (hasVideoContext()) { - if (!getVideoContext() - .equals(other.getVideoContext())) return false; + if (!getVideoContext().equals(other.getVideoContext())) return false; } - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getOutputUri().equals(other.getOutputUri())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -600,134 +676,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest + 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest 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.videointelligence.v1p3beta1.AnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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; } /** + * + * *
    * Video annotation request.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest} */ - 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.videointelligence.v1p3beta1.AnnotateVideoRequest) com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.class, + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.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(); @@ -751,13 +838,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance(); } @@ -772,7 +860,8 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(this); + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest result = + new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; result.inputContent_ = inputContent_; @@ -796,46 +885,50 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest 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) { + 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.videointelligence.v1p3beta1.AnnotateVideoRequest) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest.getDefaultInstance()) + return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -883,7 +976,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -892,10 +987,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -911,13 +1009,13 @@ public Builder mergeFrom(
      * 
* * string input_uri = 1; + * * @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; @@ -926,6 +1024,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -941,15 +1041,14 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 { @@ -957,6 +1056,8 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -972,20 +1073,22 @@ public java.lang.String getInputUri() {
      * 
* * string input_uri = 1; + * * @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 video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1001,15 +1104,18 @@ public Builder setInputUri(
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Input video location. Currently, only
      * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -1025,16 +1131,16 @@ public Builder clearInputUri() {
      * 
* * string input_uri = 1; + * * @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; @@ -1042,6 +1148,8 @@ public Builder setInputUriBytes( private com.google.protobuf.ByteString inputContent_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1049,6 +1157,7 @@ public Builder setInputUriBytes(
      * 
* * bytes input_content = 6; + * * @return The inputContent. */ @java.lang.Override @@ -1056,6 +1165,8 @@ public com.google.protobuf.ByteString getInputContent() { return inputContent_; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1063,19 +1174,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 6; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputContent_ = value; onChanged(); return this; } /** + * + * *
      * The video data bytes.
      * If unset, the input video(s) should be specified via the `input_uri`.
@@ -1083,17 +1197,18 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 6; + * * @return This builder for chaining. */ public Builder clearInputContent() { - + inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } - private java.util.List features_ = - java.util.Collections.emptyList(); + private java.util.List features_ = java.util.Collections.emptyList(); + private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { features_ = new java.util.ArrayList(features_); @@ -1101,34 +1216,50 @@ private void ensureFeaturesIsMutable() { } } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ public java.util.List getFeaturesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>(features_, features_converter_); + java.lang.Integer, com.google.cloud.videointelligence.v1p3beta1.Feature>( + features_, features_converter_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ public int getFeaturesCount() { return features_.size(); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ @@ -1136,11 +1267,16 @@ public com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int inde return features_converter_.convert(features_.get(index)); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The features to set. * @return This builder for chaining. @@ -1156,11 +1292,16 @@ public Builder setFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The features to add. * @return This builder for chaining. */ @@ -1174,11 +1315,16 @@ public Builder addFeatures(com.google.cloud.videointelligence.v1p3beta1.Feature return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The features to add. * @return This builder for chaining. */ @@ -1192,11 +1338,16 @@ public Builder addAllFeatures( return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFeatures() { @@ -1206,23 +1357,32 @@ public Builder clearFeatures() { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - public java.util.List - getFeaturesValueList() { + public java.util.List getFeaturesValueList() { return java.util.Collections.unmodifiableList(features_); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ @@ -1230,28 +1390,37 @@ public int getFeaturesValue(int index) { return features_.get(index); } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. * @return This builder for chaining. */ - public Builder setFeaturesValue( - int index, int value) { + public Builder setFeaturesValue(int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for features to add. * @return This builder for chaining. */ @@ -1262,16 +1431,20 @@ public Builder addFeaturesValue(int value) { return this; } /** + * + * *
      * Required. Requested video annotation features.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for features to add. * @return This builder for chaining. */ - public Builder addAllFeaturesValue( - java.lang.Iterable values) { + public Builder addAllFeaturesValue(java.lang.Iterable values) { ensureFeaturesIsMutable(); for (int value : values) { features_.add(value); @@ -1282,41 +1455,55 @@ public Builder addAllFeaturesValue( private com.google.cloud.videointelligence.v1p3beta1.VideoContext videoContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> videoContextBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoContext, + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> + videoContextBuilder_; /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ public boolean hasVideoContext() { return videoContextBuilder_ != null || videoContext_ != null; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return The videoContext. */ public com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { - return videoContext_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() + : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public Builder setVideoContext(com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { + public Builder setVideoContext( + com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1330,6 +1517,8 @@ public Builder setVideoContext(com.google.cloud.videointelligence.v1p3beta1.Vide return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1348,17 +1537,22 @@ public Builder setVideoContext( return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { + public Builder mergeVideoContext( + com.google.cloud.videointelligence.v1p3beta1.VideoContext value) { if (videoContextBuilder_ == null) { if (videoContext_ != null) { videoContext_ = - com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder(videoContext_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder(videoContext_) + .mergeFrom(value) + .buildPartial(); } else { videoContext_ = value; } @@ -1370,6 +1564,8 @@ public Builder mergeVideoContext(com.google.cloud.videointelligence.v1p3beta1.Vi return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1388,33 +1584,42 @@ public Builder clearVideoContext() { return this; } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder getVideoContextBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder + getVideoContextBuilder() { + onChanged(); return getVideoContextFieldBuilder().getBuilder(); } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder + getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { - return videoContext_ == null ? - com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() : videoContext_; + return videoContext_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance() + : videoContext_; } } /** + * + * *
      * Additional video context and/or feature-specific parameters.
      * 
@@ -1422,14 +1627,17 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVid * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoContext, + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder> getVideoContextFieldBuilder() { if (videoContextBuilder_ == null) { - videoContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoContext, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder>( - getVideoContext(), - getParentForChildren(), - isClean()); + videoContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoContext, + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder>( + getVideoContext(), getParentForChildren(), isClean()); videoContext_ = null; } return videoContextBuilder_; @@ -1437,6 +1645,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVid private java.lang.Object outputUri_ = ""; /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1448,13 +1658,13 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVid
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1463,6 +1673,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1474,15 +1686,14 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1490,6 +1701,8 @@ public java.lang.String getOutputUri() { } } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1501,20 +1714,22 @@ public java.lang.String getOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1526,15 +1741,18 @@ public Builder setOutputUri(
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputUri() { - + outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /** + * + * *
      * Optional. Location where the output (in JSON format) should be stored.
      * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -1546,16 +1764,16 @@ public Builder clearOutputUri() {
      * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1563,6 +1781,8 @@ public Builder setOutputUriBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1571,13 +1791,13 @@ public Builder setOutputUriBytes(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; 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(); locationId_ = s; return s; @@ -1586,6 +1806,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1594,15 +1816,14 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; 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); locationId_ = b; return b; } else { @@ -1610,6 +1831,8 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1618,20 +1841,22 @@ public java.lang.String getLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { + public Builder setLocationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + locationId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1640,15 +1865,18 @@ public Builder setLocationId(
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLocationId() { - + locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud region where annotation should take place. Supported cloud
      * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -1657,23 +1885,23 @@ public Builder clearLocationId() {
      * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationId_ = 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); } @@ -1683,30 +1911,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1718,9 +1948,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java index c8779ecd3..725f2fd07 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface AnnotateVideoRequestOrBuilder extends +public interface AnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -23,10 +41,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Input video location. Currently, only
    * [Cloud Storage](https://cloud.google.com/storage/) URIs are
@@ -42,12 +63,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * The video data bytes.
    * If unset, the input video(s) should be specified via the `input_uri`.
@@ -55,78 +78,111 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 6; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the features. */ java.util.List getFeaturesList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of features. */ int getFeaturesCount(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The features at the given index. */ com.google.cloud.videointelligence.v1p3beta1.Feature getFeatures(int index); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for features. */ - java.util.List - getFeaturesValueList(); + java.util.List getFeaturesValueList(); /** + * + * *
    * Required. Requested video annotation features.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of features at the given index. */ int getFeaturesValue(int index); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return Whether the videoContext field is set. */ boolean hasVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3; + * * @return The videoContext. */ com.google.cloud.videointelligence.v1p3beta1.VideoContext getVideoContext(); /** + * + * *
    * Additional video context and/or feature-specific parameters.
    * 
@@ -136,6 +192,8 @@ public interface AnnotateVideoRequestOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder getVideoContextOrBuilder(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -147,10 +205,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputUri. */ java.lang.String getOutputUri(); /** + * + * *
    * Optional. Location where the output (in JSON format) should be stored.
    * Currently, only [Cloud Storage](https://cloud.google.com/storage/)
@@ -162,12 +223,14 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for outputUri. */ - com.google.protobuf.ByteString - getOutputUriBytes(); + com.google.protobuf.ByteString getOutputUriBytes(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -176,10 +239,13 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * Optional. Cloud region where annotation should take place. Supported cloud
    * regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
@@ -188,8 +254,8 @@ public interface AnnotateVideoRequestOrBuilder extends
    * 
* * string location_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java similarity index 61% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java index 01efcd2f0..95cd30451 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video annotation response. Included in the `response`
  * field of the `Operation` returned by the `GetOperation`
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse}
  */
-public final class AnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)
     AnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnnotateVideoResponse.newBuilder() to construct.
   private AnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnnotateVideoResponse() {
     annotationResults_ = 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 AnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private AnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotationResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotationResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              annotationResults_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.parser(),
+                      extensionRegistry));
+              break;
             }
-            annotationResults_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private AnnotateVideoResponse(
     } 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)) {
         annotationResults_ = java.util.Collections.unmodifiableList(annotationResults_);
@@ -89,80 +110,108 @@ private AnnotateVideoResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 1;
-  private java.util.List annotationResults_;
+  private java.util.List
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList() { return annotationResults_; } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override public int getAnnotationResultsCount() { return annotationResults_.size(); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( + int index) { return annotationResults_.get(index); } /** + * + * *
    * Annotation results for all videos specified in `AnnotateVideoRequest`.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { return annotationResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ 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 < annotationResults_.size(); i++) { output.writeMessage(1, annotationResults_.get(i)); } @@ -189,8 +237,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < annotationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, annotationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, annotationResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +248,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.videointelligence.v1p3beta1.AnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) obj; - if (!getAnnotationResultsList() - .equals(other.getAnnotationResultsList())) return false; + if (!getAnnotationResultsList().equals(other.getAnnotationResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +278,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse + 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse 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.videointelligence.v1p3beta1.AnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse 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; } /** + * + * *
    * Video annotation response. Included in the `response`
    * field of the `Operation` returned by the `GetOperation`
@@ -328,39 +385,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse}
    */
-  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.videointelligence.v1p3beta1.AnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.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) {
         getAnnotationResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +434,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -395,7 +457,8 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(this);
+      com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(this);
       int from_bitField0_ = bitField0_;
       if (annotationResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +477,51 @@ public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse buildP
     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.videointelligence.v1p3beta1.AnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse
+              .getDefaultInstance()) return this;
       if (annotationResultsBuilder_ == null) {
         if (!other.annotationResults_.isEmpty()) {
           if (annotationResults_.isEmpty()) {
@@ -472,9 +540,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.AnnotateVi
             annotationResultsBuilder_ = null;
             annotationResults_ = other.annotationResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            annotationResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAnnotationResultsFieldBuilder() : null;
+            annotationResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAnnotationResultsFieldBuilder()
+                    : null;
           } else {
             annotationResultsBuilder_.addAllMessages(other.annotationResults_);
           }
@@ -499,7 +568,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +579,41 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List annotationResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        annotationResults_ = java.util.Collections.emptyList();
+
     private void ensureAnnotationResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        annotationResults_ = new java.util.ArrayList(annotationResults_);
+        annotationResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults>(
+                annotationResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults,
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List getAnnotationResultsList() { + public java.util.List + getAnnotationResultsList() { if (annotationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(annotationResults_); } else { @@ -537,11 +621,15 @@ public java.util.List * Annotation results for all videos specified in `AnnotateVideoRequest`. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public int getAnnotationResultsCount() { if (annotationResultsBuilder_ == null) { @@ -551,13 +639,18 @@ public int getAnnotationResultsCount() { } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults(int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( + int index) { if (annotationResultsBuilder_ == null) { return annotationResults_.get(index); } else { @@ -565,11 +658,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAn } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { @@ -586,14 +683,20 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder setAnnotationResults( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.set(index, builderForValue.build()); @@ -604,13 +707,18 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { + public Builder addAnnotationResults( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +732,15 @@ public Builder addAnnotationResults(com.google.cloud.videointelligence.v1p3beta1 return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults value) { @@ -645,14 +757,19 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(builderForValue.build()); @@ -663,14 +780,20 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAnnotationResults( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); annotationResults_.add(index, builderForValue.build()); @@ -681,18 +804,23 @@ public Builder addAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder addAllAnnotationResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults> + values) { if (annotationResultsBuilder_ == null) { ensureAnnotationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, annotationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, annotationResults_); onChanged(); } else { annotationResultsBuilder_.addAllMessages(values); @@ -700,11 +828,15 @@ public Builder addAllAnnotationResults( return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -717,11 +849,15 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ public Builder removeAnnotationResults(int index) { if (annotationResultsBuilder_ == null) { @@ -734,39 +870,53 @@ public Builder removeAnnotationResults(int index) { return this; } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder getAnnotationResultsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + getAnnotationResultsBuilder(int index) { return getAnnotationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index) { if (annotationResultsBuilder_ == null) { - return annotationResults_.get(index); } else { + return annotationResults_.get(index); + } else { return annotationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -774,45 +924,70 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuil } } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder() { - return getAnnotationResultsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder() { + return getAnnotationResultsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder addAnnotationResultsBuilder( - int index) { - return getAnnotationResultsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder + addAnnotationResultsBuilder(int index) { + return getAnnotationResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults + .getDefaultInstance()); } /** + * + * *
      * Annotation results for all videos specified in `AnnotateVideoRequest`.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * */ - public java.util.List - getAnnotationResultsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder> + getAnnotationResultsBuilderList() { return getAnnotationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>( + annotationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder>( annotationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -821,9 +996,9 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Build } return annotationResultsBuilder_; } + @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); } @@ -833,30 +1008,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java new file mode 100644 index 000000000..5ef8905ed --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoResponseOrBuilder.java @@ -0,0 +1,91 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface AnnotateVideoResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List + getAnnotationResultsList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getAnnotationResults( + int index); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + */ + int getAnnotationResultsCount(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + */ + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder> + getAnnotationResultsOrBuilderList(); + /** + * + * + *
+   * Annotation results for all videos specified in `AnnotateVideoRequest`.
+   * 
+ * + * + * repeated .google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults annotation_results = 1; + * + */ + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(int index); +} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java index a54acab68..43b7f75f3 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Celebrity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Celebrity definition.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Celebrity} */ -public final class Celebrity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Celebrity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Celebrity) CelebrityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Celebrity.newBuilder() to construct. private Celebrity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Celebrity() { name_ = ""; displayName_ = ""; @@ -27,16 +45,15 @@ private Celebrity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Celebrity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Celebrity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Celebrity( 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(); - displayName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Celebrity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -118,6 +142,7 @@ private Celebrity(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -126,14 +151,15 @@ 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 celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -142,16 +168,15 @@ 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 { @@ -162,11 +187,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The celebrity name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -175,29 +203,29 @@ public java.lang.String getDisplayName() { 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(); displayName_ = s; return s; } } /** + * + * *
    * The celebrity name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -208,12 +236,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -222,30 +253,30 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -254,6 +285,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +297,7 @@ 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_); } @@ -302,19 +333,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.videointelligence.v1p3beta1.Celebrity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Celebrity other = (com.google.cloud.videointelligence.v1p3beta1.Celebrity) obj; + com.google.cloud.videointelligence.v1p3beta1.Celebrity other = + (com.google.cloud.videointelligence.v1p3beta1.Celebrity) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +367,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.Celebrity 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; } /** + * + * *
    * Celebrity definition.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Celebrity} */ - 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.videointelligence.v1p3beta1.Celebrity) com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.class, + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder() @@ -456,16 +495,15 @@ 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(); @@ -479,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; } @java.lang.Override @@ -500,7 +538,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Celebrity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Celebrity buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Celebrity result = new com.google.cloud.videointelligence.v1p3beta1.Celebrity(this); + com.google.cloud.videointelligence.v1p3beta1.Celebrity result = + new com.google.cloud.videointelligence.v1p3beta1.Celebrity(this); result.name_ = name_; result.displayName_ = displayName_; result.description_ = description_; @@ -512,38 +551,39 @@ public com.google.cloud.videointelligence.v1p3beta1.Celebrity 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.videointelligence.v1p3beta1.Celebrity) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Celebrity)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Celebrity) other); } else { super.mergeFrom(other); return this; @@ -551,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Celebrity other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -583,7 +624,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Celebrity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.Celebrity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -595,6 +637,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -603,13 +647,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; @@ -618,6 +662,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -626,15 +672,14 @@ 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 { @@ -642,6 +687,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -650,20 +697,22 @@ public java.lang.String getName() {
      * 
* * 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 celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -672,15 +721,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the celebrity. Have the format
      * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -689,16 +741,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; @@ -706,18 +758,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The celebrity name.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; @@ -726,20 +780,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The celebrity name.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; 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); displayName_ = b; return b; } else { @@ -747,54 +802,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The celebrity name.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The celebrity name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The celebrity name.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -802,19 +864,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -823,21 +887,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -845,64 +910,71 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description of additional information about the celebrity, if
      * applicable.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -912,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Celebrity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Celebrity) private static final com.google.cloud.videointelligence.v1p3beta1.Celebrity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Celebrity(); } @@ -926,16 +998,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Celebrity getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Celebrity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Celebrity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Celebrity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Celebrity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,6 +1022,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Celebrity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java index ee1a0f2f7..2949058b7 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityOrBuilder extends +public interface CelebrityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Celebrity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -16,10 +34,13 @@ public interface CelebrityOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the celebrity. Have the format
    * `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
@@ -28,50 +49,60 @@ public interface CelebrityOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The celebrity name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The celebrity name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description of additional information about the celebrity, if
    * applicable.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java similarity index 63% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java index e8e0b7bd8..814ba2e0d 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotation.java @@ -1,40 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Celebrity recognition annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation} */ -public final class CelebrityRecognitionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CelebrityRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) CelebrityRecognitionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CelebrityRecognitionAnnotation.newBuilder() to construct. - private CelebrityRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CelebrityRecognitionAnnotation( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CelebrityRecognitionAnnotation() { celebrityTracks_ = 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 CelebrityRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CelebrityRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +72,27 @@ private CelebrityRecognitionAnnotation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - celebrityTracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + celebrityTracks_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack>(); + mutable_bitField0_ |= 0x00000001; + } + celebrityTracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.parser(), + extensionRegistry)); + break; } - celebrityTracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +100,7 @@ private CelebrityRecognitionAnnotation( } 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)) { celebrityTracks_ = java.util.Collections.unmodifiableList(celebrityTracks_); @@ -87,85 +109,108 @@ private CelebrityRecognitionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder + .class); } public static final int CELEBRITY_TRACKS_FIELD_NUMBER = 1; - private java.util.List celebrityTracks_; + private java.util.List + celebrityTracks_; /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ @java.lang.Override - public java.util.List getCelebrityTracksList() { + public java.util.List + getCelebrityTracksList() { return celebrityTracks_; } /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> getCelebrityTracksOrBuilderList() { return celebrityTracks_; } /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ @java.lang.Override public int getCelebrityTracksCount() { return celebrityTracks_.size(); } /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index) { return celebrityTracks_.get(index); } /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder + getCelebrityTracksOrBuilder(int index) { return celebrityTracks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +222,7 @@ 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 < celebrityTracks_.size(); i++) { output.writeMessage(1, celebrityTracks_.get(i)); } @@ -192,8 +236,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < celebrityTracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, celebrityTracks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, celebrityTracks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,15 +246,16 @@ 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) obj; - if (!getCelebrityTracksList() - .equals(other.getCelebrityTracksList())) return false; + if (!getCelebrityTracksList().equals(other.getCelebrityTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,136 +276,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation 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; } /** + * + * *
    * Celebrity recognition annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation} */ - 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.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) { getCelebrityTracksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -395,8 +460,10 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotati } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(this); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (celebrityTracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -415,46 +482,52 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotati 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.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation)other); + if (other + instanceof com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .getDefaultInstance()) return this; if (celebrityTracksBuilder_ == null) { if (!other.celebrityTracks_.isEmpty()) { if (celebrityTracks_.isEmpty()) { @@ -473,9 +546,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityR celebrityTracksBuilder_ = null; celebrityTracks_ = other.celebrityTracks_; bitField0_ = (bitField0_ & ~0x00000001); - celebrityTracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCelebrityTracksFieldBuilder() : null; + celebrityTracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCelebrityTracksFieldBuilder() + : null; } else { celebrityTracksBuilder_.addAllMessages(other.celebrityTracks_); } @@ -496,11 +570,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -509,29 +586,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List celebrityTracks_ = - java.util.Collections.emptyList(); + private java.util.List + celebrityTracks_ = java.util.Collections.emptyList(); + private void ensureCelebrityTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - celebrityTracks_ = new java.util.ArrayList(celebrityTracks_); + celebrityTracks_ = + new java.util.ArrayList( + celebrityTracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> celebrityTracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> + celebrityTracksBuilder_; /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public java.util.List getCelebrityTracksList() { + public java.util.List + getCelebrityTracksList() { if (celebrityTracksBuilder_ == null) { return java.util.Collections.unmodifiableList(celebrityTracks_); } else { @@ -539,12 +627,15 @@ public java.util.List * The tracks detected from the input video, including recognized celebrities * and other detected faces in the video. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public int getCelebrityTracksCount() { if (celebrityTracksBuilder_ == null) { @@ -554,14 +645,18 @@ public int getCelebrityTracksCount() { } } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks( + int index) { if (celebrityTracksBuilder_ == null) { return celebrityTracks_.get(index); } else { @@ -569,12 +664,15 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityT } } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder setCelebrityTracks( int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { @@ -591,15 +689,19 @@ public Builder setCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder setCelebrityTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); celebrityTracks_.set(index, builderForValue.build()); @@ -610,14 +712,18 @@ public Builder setCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public Builder addCelebrityTracks(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { + public Builder addCelebrityTracks( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { if (celebrityTracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -631,12 +737,15 @@ public Builder addCelebrityTracks(com.google.cloud.videointelligence.v1p3beta1.C return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder addCelebrityTracks( int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack value) { @@ -653,12 +762,15 @@ public Builder addCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder addCelebrityTracks( com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { @@ -672,15 +784,19 @@ public Builder addCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder addCelebrityTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder builderForValue) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); celebrityTracks_.add(index, builderForValue.build()); @@ -691,19 +807,22 @@ public Builder addCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder addAllCelebrityTracks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (celebrityTracksBuilder_ == null) { ensureCelebrityTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, celebrityTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, celebrityTracks_); onChanged(); } else { celebrityTracksBuilder_.addAllMessages(values); @@ -711,12 +830,15 @@ public Builder addAllCelebrityTracks( return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder clearCelebrityTracks() { if (celebrityTracksBuilder_ == null) { @@ -729,12 +851,15 @@ public Builder clearCelebrityTracks() { return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ public Builder removeCelebrityTracks(int index) { if (celebrityTracksBuilder_ == null) { @@ -747,42 +872,53 @@ public Builder removeCelebrityTracks(int index) { return this; } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder getCelebrityTracksBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder + getCelebrityTracksBuilder(int index) { return getCelebrityTracksFieldBuilder().getBuilder(index); } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder + getCelebrityTracksOrBuilder(int index) { if (celebrityTracksBuilder_ == null) { - return celebrityTracks_.get(index); } else { + return celebrityTracks_.get(index); + } else { return celebrityTracksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public java.util.List - getCelebrityTracksOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> + getCelebrityTracksOrBuilderList() { if (celebrityTracksBuilder_ != null) { return celebrityTracksBuilder_.getMessageOrBuilderList(); } else { @@ -790,48 +926,67 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getC } } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder addCelebrityTracksBuilder() { - return getCelebrityTracksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder + addCelebrityTracksBuilder() { + return getCelebrityTracksFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder addCelebrityTracksBuilder( - int index) { - return getCelebrityTracksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder + addCelebrityTracksBuilder(int index) { + return getCelebrityTracksFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()); } /** + * + * *
      * The tracks detected from the input video, including recognized celebrities
      * and other detected faces in the video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - public java.util.List - getCelebrityTracksBuilderList() { + public java.util.List + getCelebrityTracksBuilderList() { return getCelebrityTracksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder> getCelebrityTracksFieldBuilder() { if (celebrityTracksBuilder_ == null) { - celebrityTracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder>( + celebrityTracksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder>( celebrityTracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -840,9 +995,9 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder addCe } return celebrityTracksBuilder_; } + @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); } @@ -852,30 +1007,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CelebrityRecognitionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CelebrityRecognitionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CelebrityRecognitionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CelebrityRecognitionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -887,9 +1045,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java index 5e342c410..f2a0a53fa 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityRecognitionAnnotationOrBuilder.java @@ -1,57 +1,88 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityRecognitionAnnotationOrBuilder extends +public interface CelebrityRecognitionAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - java.util.List + java.util.List getCelebrityTracksList(); /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getCelebrityTracks(int index); /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ int getCelebrityTracksCount(); /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ - java.util.List + java.util.List getCelebrityTracksOrBuilderList(); /** + * + * *
    * The tracks detected from the input video, including recognized celebrities
    * and other detected faces in the video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack celebrity_tracks = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder getCelebrityTracksOrBuilder( int index); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java similarity index 63% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java index 59b114908..f5bca4fcc 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrack.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * The annotation result of a celebrity face track. RecognizedCelebrity field
  * could be empty if the face track does not have any matched celebrities.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack}
  */
-public final class CelebrityTrack extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CelebrityTrack extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityTrack)
     CelebrityTrackOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CelebrityTrack.newBuilder() to construct.
   private CelebrityTrack(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CelebrityTrack() {
     celebrities_ = 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 CelebrityTrack();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CelebrityTrack(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,35 +72,46 @@ private CelebrityTrack(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              celebrities_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            celebrities_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            com.google.cloud.videointelligence.v1p3beta1.Track.Builder subBuilder = null;
-            if (faceTrack_ != null) {
-              subBuilder = faceTrack_.toBuilder();
-            }
-            faceTrack_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(faceTrack_);
-              faceTrack_ = subBuilder.buildPartial();
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                celebrities_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
+                            .RecognizedCelebrity>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              celebrities_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
+                          .RecognizedCelebrity.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.Track.Builder subBuilder = null;
+              if (faceTrack_ != null) {
+                subBuilder = faceTrack_.toBuilder();
+              }
+              faceTrack_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.Track.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(faceTrack_);
+                faceTrack_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -91,8 +119,7 @@ private CelebrityTrack(
     } 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)) {
         celebrities_ = java.util.Collections.unmodifiableList(celebrities_);
@@ -101,42 +128,54 @@ private CelebrityTrack(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class,
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
   }
 
-  public interface RecognizedCelebrityOrBuilder extends
+  public interface RecognizedCelebrityOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return Whether the celebrity field is set. */ boolean hasCelebrity(); /** + * + * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return The celebrity. */ com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity(); /** + * + * *
      * The recognized celebrity.
      * 
@@ -146,46 +185,51 @@ public interface RecognizedCelebrityOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebrityOrBuilder(); /** + * + * *
      * Recognition confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); } /** + * + * *
    * The recognized celebrity with confidence score.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} */ - public static final class RecognizedCelebrity extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RecognizedCelebrity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) RecognizedCelebrityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecognizedCelebrity.newBuilder() to construct. private RecognizedCelebrity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecognizedCelebrity() { - } + + private RecognizedCelebrity() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecognizedCelebrity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RecognizedCelebrity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -204,31 +248,35 @@ private RecognizedCelebrity( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder subBuilder = null; - if (celebrity_ != null) { - subBuilder = celebrity_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder subBuilder = null; + if (celebrity_ != null) { + subBuilder = celebrity_.toBuilder(); + } + celebrity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Celebrity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(celebrity_); + celebrity_ = subBuilder.buildPartial(); + } + + break; } - celebrity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Celebrity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(celebrity_); - celebrity_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -236,34 +284,40 @@ private RecognizedCelebrity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .Builder.class); } public static final int CELEBRITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity_; /** + * + * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return Whether the celebrity field is set. */ @java.lang.Override @@ -271,18 +325,25 @@ public boolean hasCelebrity() { return celebrity_ != null; } /** + * + * *
      * The recognized celebrity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return The celebrity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity() { - return celebrity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; + return celebrity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() + : celebrity_; } /** + * + * *
      * The recognized celebrity.
      * 
@@ -297,11 +358,14 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebr public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
      * Recognition confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -310,6 +374,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +386,7 @@ 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 (celebrity_ != null) { output.writeMessage(1, getCelebrity()); } @@ -339,12 +403,10 @@ public int getSerializedSize() { size = 0; if (celebrity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCelebrity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCelebrity()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,21 +416,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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other = + (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) obj; if (hasCelebrity() != other.hasCelebrity()) return false; if (hasCelebrity()) { - if (!getCelebrity() - .equals(other.getCelebrity())) return false; + if (!getCelebrity().equals(other.getCelebrity())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,95 +448,107 @@ public int hashCode() { hash = (53 * hash) + getCelebrity().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity 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 @@ -483,44 +558,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The recognized celebrity with confidence score.
      * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity} */ - 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .class, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.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(); @@ -536,19 +619,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity build() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + build() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -556,8 +643,11 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCel } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(this); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity result = + new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity( + this); if (celebrityBuilder_ == null) { result.celebrity_ = celebrity_; } else { @@ -572,46 +662,56 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCel 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.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .getDefaultInstance()) return this; if (other.hasCelebrity()) { mergeCelebrity(other.getCelebrity()); } @@ -633,11 +733,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,34 +752,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p3beta1.Celebrity celebrity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> celebrityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Celebrity, + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> + celebrityBuilder_; /** + * + * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return Whether the celebrity field is set. */ public boolean hasCelebrity() { return celebrityBuilder_ != null || celebrity_ != null; } /** + * + * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; + * * @return The celebrity. */ public com.google.cloud.videointelligence.v1p3beta1.Celebrity getCelebrity() { if (celebrityBuilder_ == null) { - return celebrity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; + return celebrity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() + : celebrity_; } else { return celebrityBuilder_.getMessage(); } } /** + * + * *
        * The recognized celebrity.
        * 
@@ -697,6 +813,8 @@ public Builder setCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celebri return this; } /** + * + * *
        * The recognized celebrity.
        * 
@@ -715,6 +833,8 @@ public Builder setCelebrity( return this; } /** + * + * *
        * The recognized celebrity.
        * 
@@ -725,7 +845,9 @@ public Builder mergeCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celeb if (celebrityBuilder_ == null) { if (celebrity_ != null) { celebrity_ = - com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder(celebrity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Celebrity.newBuilder(celebrity_) + .mergeFrom(value) + .buildPartial(); } else { celebrity_ = value; } @@ -737,6 +859,8 @@ public Builder mergeCelebrity(com.google.cloud.videointelligence.v1p3beta1.Celeb return this; } /** + * + * *
        * The recognized celebrity.
        * 
@@ -755,6 +879,8 @@ public Builder clearCelebrity() { return this; } /** + * + * *
        * The recognized celebrity.
        * 
@@ -762,26 +888,32 @@ public Builder clearCelebrity() { * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder getCelebrityBuilder() { - + onChanged(); return getCelebrityFieldBuilder().getBuilder(); } /** + * + * *
        * The recognized celebrity.
        * 
* * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebrityOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder + getCelebrityOrBuilder() { if (celebrityBuilder_ != null) { return celebrityBuilder_.getMessageOrBuilder(); } else { - return celebrity_ == null ? - com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() : celebrity_; + return celebrity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Celebrity.getDefaultInstance() + : celebrity_; } } /** + * + * *
        * The recognized celebrity.
        * 
@@ -789,26 +921,32 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder getCelebr * .google.cloud.videointelligence.v1p3beta1.Celebrity celebrity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Celebrity, + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder> getCelebrityFieldBuilder() { if (celebrityBuilder_ == null) { - celebrityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Celebrity, com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder>( - getCelebrity(), - getParentForChildren(), - isClean()); + celebrityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Celebrity, + com.google.cloud.videointelligence.v1p3beta1.Celebrity.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityOrBuilder>( + getCelebrity(), getParentForChildren(), isClean()); celebrity_ = null; } return celebrityBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -816,34 +954,41 @@ public float getConfidence() { return confidence_; } /** + * + * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
        * Recognition confidence. Range [0, 1].
        * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -856,30 +1001,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity) - private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrity + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity(); } - public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecognizedCelebrity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecognizedCelebrity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecognizedCelebrity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecognizedCelebrity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,80 +1040,111 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CELEBRITIES_FIELD_NUMBER = 1; - private java.util.List celebrities_; + private java.util.List< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> + celebrities_; /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ @java.lang.Override - public java.util.List getCelebritiesList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> + getCelebritiesList() { return celebrities_; } /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrityOrBuilder> getCelebritiesOrBuilderList() { return celebrities_; } /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ @java.lang.Override public int getCelebritiesCount() { return celebrities_.size(); } /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + getCelebrities(int index) { return celebrities_.get(index); } /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder + getCelebritiesOrBuilder(int index) { return celebrities_.get(index); } public static final int FACE_TRACK_FIELD_NUMBER = 3; private com.google.cloud.videointelligence.v1p3beta1.Track faceTrack_; /** + * + * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return Whether the faceTrack field is set. */ @java.lang.Override @@ -972,18 +1152,25 @@ public boolean hasFaceTrack() { return faceTrack_ != null; } /** + * + * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return The faceTrack. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack() { - return faceTrack_ == null ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; + return faceTrack_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() + : faceTrack_; } /** + * + * *
    * A track of a person's face.
    * 
@@ -996,6 +1183,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1007,8 +1195,7 @@ 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 < celebrities_.size(); i++) { output.writeMessage(1, celebrities_.get(i)); } @@ -1025,12 +1212,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < celebrities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, celebrities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, celebrities_.get(i)); } if (faceTrack_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFaceTrack()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFaceTrack()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1040,19 +1225,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.videointelligence.v1p3beta1.CelebrityTrack)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) obj; + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other = + (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) obj; - if (!getCelebritiesList() - .equals(other.getCelebritiesList())) return false; + if (!getCelebritiesList().equals(other.getCelebritiesList())) return false; if (hasFaceTrack() != other.hasFaceTrack()) return false; if (hasFaceTrack()) { - if (!getFaceTrack() - .equals(other.getFaceTrack())) return false; + if (!getFaceTrack().equals(other.getFaceTrack())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1079,96 +1263,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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; } /** + * + * *
    * The annotation result of a celebrity face track. RecognizedCelebrity field
    * could be empty if the face track does not have any matched celebrities.
@@ -1176,21 +1368,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.CelebrityTrack}
    */
-  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.videointelligence.v1p3beta1.CelebrityTrack)
       com.google.cloud.videointelligence.v1p3beta1.CelebrityTrackOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.class,
+              com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.newBuilder()
@@ -1198,17 +1392,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) {
         getCelebritiesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1228,9 +1422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor;
     }
 
     @java.lang.Override
@@ -1249,7 +1443,8 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack result = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(this);
+      com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack result =
+          new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(this);
       int from_bitField0_ = bitField0_;
       if (celebritiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1273,38 +1468,39 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack 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.videointelligence.v1p3beta1.CelebrityTrack) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1312,7 +1508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.getDefaultInstance())
+        return this;
       if (celebritiesBuilder_ == null) {
         if (!other.celebrities_.isEmpty()) {
           if (celebrities_.isEmpty()) {
@@ -1331,9 +1528,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.CelebrityT
             celebritiesBuilder_ = null;
             celebrities_ = other.celebrities_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            celebritiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCelebritiesFieldBuilder() : null;
+            celebritiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCelebritiesFieldBuilder()
+                    : null;
           } else {
             celebritiesBuilder_.addAllMessages(other.celebrities_);
           }
@@ -1361,7 +1559,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1370,28 +1569,44 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List celebrities_ =
-      java.util.Collections.emptyList();
+    private java.util.List<
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity>
+        celebrities_ = java.util.Collections.emptyList();
+
     private void ensureCelebritiesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        celebrities_ = new java.util.ArrayList(celebrities_);
+        celebrities_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity>(
+                celebrities_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder> celebritiesBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity,
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack
+                .RecognizedCelebrityOrBuilder>
+        celebritiesBuilder_;
 
     /**
+     *
+     *
      * 
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public java.util.List getCelebritiesList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> + getCelebritiesList() { if (celebritiesBuilder_ == null) { return java.util.Collections.unmodifiableList(celebrities_); } else { @@ -1399,11 +1614,15 @@ public java.util.List * Top N match of the celebrities for the face in this track. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public int getCelebritiesCount() { if (celebritiesBuilder_ == null) { @@ -1413,13 +1632,18 @@ public int getCelebritiesCount() { } } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + getCelebrities(int index) { if (celebritiesBuilder_ == null) { return celebrities_.get(index); } else { @@ -1427,14 +1651,19 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCel } } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder setCelebrities( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1448,14 +1677,20 @@ public Builder setCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder setCelebrities( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.set(index, builderForValue.build()); @@ -1466,13 +1701,18 @@ public Builder setCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public Builder addCelebrities(com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + public Builder addCelebrities( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1486,14 +1726,19 @@ public Builder addCelebrities(com.google.cloud.videointelligence.v1p3beta1.Celeb return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder addCelebrities( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity value) { if (celebritiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1507,14 +1752,19 @@ public Builder addCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder addCelebrities( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.add(builderForValue.build()); @@ -1525,14 +1775,20 @@ public Builder addCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder addCelebrities( - int index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + builderForValue) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); celebrities_.add(index, builderForValue.build()); @@ -1543,18 +1799,24 @@ public Builder addCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder addAllCelebrities( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity> + values) { if (celebritiesBuilder_ == null) { ensureCelebritiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, celebrities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, celebrities_); onChanged(); } else { celebritiesBuilder_.addAllMessages(values); @@ -1562,11 +1824,15 @@ public Builder addAllCelebrities( return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder clearCelebrities() { if (celebritiesBuilder_ == null) { @@ -1579,11 +1845,15 @@ public Builder clearCelebrities() { return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ public Builder removeCelebrities(int index) { if (celebritiesBuilder_ == null) { @@ -1596,39 +1866,55 @@ public Builder removeCelebrities(int index) { return this; } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder getCelebritiesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + getCelebritiesBuilder(int index) { return getCelebritiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder + getCelebritiesOrBuilder(int index) { if (celebritiesBuilder_ == null) { - return celebrities_.get(index); } else { + return celebrities_.get(index); + } else { return celebritiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public java.util.List - getCelebritiesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrityOrBuilder> + getCelebritiesOrBuilderList() { if (celebritiesBuilder_ != null) { return celebritiesBuilder_.getMessageOrBuilderList(); } else { @@ -1636,49 +1922,74 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCel } } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder() { - return getCelebritiesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + addCelebritiesBuilder() { + return getCelebritiesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .getDefaultInstance()); } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder addCelebritiesBuilder( - int index) { - return getCelebritiesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder + addCelebritiesBuilder(int index) { + return getCelebritiesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .getDefaultInstance()); } /** + * + * *
      * Top N match of the celebrities for the face in this track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - public java.util.List - getCelebritiesBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder> + getCelebritiesBuilderList() { return getCelebritiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrityOrBuilder> getCelebritiesFieldBuilder() { if (celebritiesBuilder_ == null) { - celebritiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder>( - celebrities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + celebritiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity + .Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrityOrBuilder>( + celebrities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); celebrities_ = null; } return celebritiesBuilder_; @@ -1686,34 +1997,47 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCel private com.google.cloud.videointelligence.v1p3beta1.Track faceTrack_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> faceTrackBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + faceTrackBuilder_; /** + * + * *
      * A track of a person's face.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return Whether the faceTrack field is set. */ public boolean hasFaceTrack() { return faceTrackBuilder_ != null || faceTrack_ != null; } /** + * + * *
      * A track of a person's face.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return The faceTrack. */ public com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack() { if (faceTrackBuilder_ == null) { - return faceTrack_ == null ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; + return faceTrack_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() + : faceTrack_; } else { return faceTrackBuilder_.getMessage(); } } /** + * + * *
      * A track of a person's face.
      * 
@@ -1734,6 +2058,8 @@ public Builder setFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track v return this; } /** + * + * *
      * A track of a person's face.
      * 
@@ -1752,6 +2078,8 @@ public Builder setFaceTrack( return this; } /** + * + * *
      * A track of a person's face.
      * 
@@ -1762,7 +2090,9 @@ public Builder mergeFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track if (faceTrackBuilder_ == null) { if (faceTrack_ != null) { faceTrack_ = - com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder(faceTrack_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder(faceTrack_) + .mergeFrom(value) + .buildPartial(); } else { faceTrack_ = value; } @@ -1774,6 +2104,8 @@ public Builder mergeFaceTrack(com.google.cloud.videointelligence.v1p3beta1.Track return this; } /** + * + * *
      * A track of a person's face.
      * 
@@ -1792,6 +2124,8 @@ public Builder clearFaceTrack() { return this; } /** + * + * *
      * A track of a person's face.
      * 
@@ -1799,11 +2133,13 @@ public Builder clearFaceTrack() { * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getFaceTrackBuilder() { - + onChanged(); return getFaceTrackFieldBuilder().getBuilder(); } /** + * + * *
      * A track of a person's face.
      * 
@@ -1814,11 +2150,14 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO if (faceTrackBuilder_ != null) { return faceTrackBuilder_.getMessageOrBuilder(); } else { - return faceTrack_ == null ? - com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() : faceTrack_; + return faceTrack_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance() + : faceTrack_; } } /** + * + * *
      * A track of a person's face.
      * 
@@ -1826,21 +2165,24 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getFaceTrackO * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getFaceTrackFieldBuilder() { if (faceTrackBuilder_ == null) { - faceTrackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - getFaceTrack(), - getParentForChildren(), - isClean()); + faceTrackBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + getFaceTrack(), getParentForChildren(), isClean()); faceTrack_ = null; } return faceTrackBuilder_; } + @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); } @@ -1850,12 +2192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) private static final com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack(); } @@ -1864,16 +2206,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CelebrityTrack parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CelebrityTrack(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CelebrityTrack parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CelebrityTrack(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1888,6 +2230,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java similarity index 52% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java index d785ed80e..4a71b87bf 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/CelebrityTrackOrBuilder.java @@ -1,75 +1,123 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface CelebrityTrackOrBuilder extends +public interface CelebrityTrackOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.CelebrityTrack) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - java.util.List + java.util.List getCelebritiesList(); /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities(int index); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity getCelebrities( + int index); /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ int getCelebritiesCount(); /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack + .RecognizedCelebrityOrBuilder> getCelebritiesOrBuilderList(); /** + * + * *
    * Top N match of the celebrities for the face in this track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrity celebrities = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder getCelebritiesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.CelebrityTrack.RecognizedCelebrityOrBuilder + getCelebritiesOrBuilder(int index); /** + * + * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return Whether the faceTrack field is set. */ boolean hasFaceTrack(); /** + * + * *
    * A track of a person's face.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Track face_track = 3; + * * @return The faceTrack. */ com.google.cloud.videointelligence.v1p3beta1.Track getFaceTrack(); /** + * + * *
    * A track of a person's face.
    * 
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java similarity index 70% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java index be3357b33..cb666b81c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * A generic detected attribute represented by name in string format.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedAttribute} */ -public final class DetectedAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DetectedAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) DetectedAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DetectedAttribute.newBuilder() to construct. private DetectedAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DetectedAttribute() { name_ = ""; value_ = ""; @@ -26,16 +44,15 @@ private DetectedAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DetectedAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DetectedAttribute( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private DetectedAttribute( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 21: + { + confidence_ = input.readFloat(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,40 @@ private DetectedAttribute( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -122,30 +146,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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * 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 { @@ -156,11 +180,14 @@ public java.lang.String getName() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -171,12 +198,15 @@ public float getConfidence() { public static final int VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object value_; /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The value. */ @java.lang.Override @@ -185,30 +215,30 @@ public java.lang.String getValue() { 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(); value_ = s; return s; } } /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -217,6 +247,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +259,7 @@ 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_); } @@ -252,8 +282,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -266,20 +295,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.videointelligence.v1p3beta1.DetectedAttribute)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other = (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) obj; + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other = + (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getValue() - .equals(other.getValue())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,8 +321,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -304,117 +330,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute 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.videointelligence.v1p3beta1.DetectedAttribute prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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; } /** + * + * *
    * A generic detected attribute represented by name in string format.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedAttribute} */ - 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.videointelligence.v1p3beta1.DetectedAttribute) com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.class, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.newBuilder() @@ -422,16 +458,15 @@ 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(); @@ -445,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance(); } @@ -466,7 +502,8 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute result = new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(this); + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute result = + new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(this); result.name_ = name_; result.confidence_ = confidence_; result.value_ = value_; @@ -478,38 +515,39 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute 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) { + 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.videointelligence.v1p3beta1.DetectedAttribute) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) other); } else { super.mergeFrom(other); return this; @@ -517,7 +555,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -548,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,19 +602,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; @@ -581,21 +625,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 { @@ -603,69 +648,79 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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 name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
      * A full list of supported type names will be provided in the document.
      * 
* * 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; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -673,30 +728,36 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Detected attribute confidence. Range [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; @@ -704,19 +765,21 @@ public Builder clearConfidence() { private java.lang.Object value_ = ""; /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; @@ -725,21 +788,22 @@ public java.lang.String getValue() { } } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -747,64 +811,71 @@ public java.lang.String getValue() { } } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * Text value of the detection result. For example, the value for "HairColor"
      * can be "black", "blonde", etc.
      * 
* * string value = 3; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -814,30 +885,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) - private static final com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute(); } - public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedAttribute(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedAttribute(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java index a48084169..e996cda08 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java @@ -1,63 +1,92 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface DetectedAttributeOrBuilder extends +public interface DetectedAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.DetectedAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    * A full list of supported type names will be provided in the document.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Detected attribute confidence. Range [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Text value of the detection result. For example, the value for "HairColor"
    * can be "black", "blonde", etc.
    * 
* * string value = 3; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java index 843e67506..12688aae7 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * A generic detected landmark represented by name in string format and a 2D
  * location.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedLandmark}
  */
-public final class DetectedLandmark extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DetectedLandmark extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.DetectedLandmark)
     DetectedLandmarkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DetectedLandmark.newBuilder() to construct.
   private DetectedLandmark(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DetectedLandmark() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DetectedLandmark();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DetectedLandmark(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,37 +71,43 @@ private DetectedLandmark(
           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: {
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder subBuilder = null;
-            if (point_ != null) {
-              subBuilder = point_.toBuilder();
+              name_ = s;
+              break;
             }
-            point_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(point_);
-              point_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 29: {
+          case 18:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder subBuilder =
+                  null;
+              if (point_ != null) {
+                subBuilder = point_.toBuilder();
+              }
+              point_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(point_);
+                point_ = subBuilder.buildPartial();
+              }
 
-            confidence_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          case 29:
+            {
+              confidence_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,34 +115,39 @@ private DetectedLandmark(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class,
+            com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -128,29 +156,29 @@ 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 name of this landmark, for example, left_hand, right_shoulder.
    * 
* * 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 { @@ -161,12 +189,15 @@ public java.lang.String getName() { public static final int POINT_FIELD_NUMBER = 2; private com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex point_; /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ @java.lang.Override @@ -174,19 +205,26 @@ public boolean hasPoint() { return point_ != null; } /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return The point. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint() { - return point_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_; + return point_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() + : point_; } /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -195,18 +233,22 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint()
    * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder() {
+  public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder
+      getPointOrBuilder() {
     return getPoint();
   }
 
   public static final int CONFIDENCE_FIELD_NUMBER = 3;
   private float confidence_;
   /**
+   *
+   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; + * * @return The confidence. */ @java.lang.Override @@ -215,6 +257,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +269,7 @@ 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_); } @@ -250,12 +292,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (point_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPoint()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -265,23 +305,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.videointelligence.v1p3beta1.DetectedLandmark)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other = (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) obj; + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other = + (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasPoint() != other.hasPoint()) return false; if (hasPoint()) { - if (!getPoint() - .equals(other.getPoint())) return false; + if (!getPoint().equals(other.getPoint())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,104 +338,111 @@ public int hashCode() { hash = (53 * hash) + getPoint().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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; } /** + * + * *
    * A generic detected landmark represented by name in string format and a 2D
    * location.
@@ -405,21 +450,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.DetectedLandmark}
    */
-  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.videointelligence.v1p3beta1.DetectedLandmark)
       com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.class,
+              com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.newBuilder()
@@ -427,16 +474,15 @@ 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();
@@ -454,13 +500,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance();
     }
 
@@ -475,7 +522,8 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark result = new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(this);
+      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark result =
+          new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(this);
       result.name_ = name_;
       if (pointBuilder_ == null) {
         result.point_ = point_;
@@ -491,38 +539,39 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark 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.videointelligence.v1p3beta1.DetectedLandmark) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -530,7 +579,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -560,7 +611,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -572,18 +625,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -592,20 +647,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 { @@ -613,54 +669,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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 name of this landmark, for example, left_hand, right_shoulder.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this landmark, for example, left_hand, right_shoulder.
      * 
* * 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; @@ -668,36 +731,49 @@ public Builder setNameBytes( private com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex point_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> pointBuilder_; + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> + pointBuilder_; /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ public boolean hasPoint() { return pointBuilder_ != null || point_ != null; } /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
      * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return The point. */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint() { if (pointBuilder_ == null) { - return point_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_; + return point_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() + : point_; } else { return pointBuilder_.getMessage(); } } /** + * + * *
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -719,6 +795,8 @@ public Builder setPoint(com.google.cloud.videointelligence.v1p3beta1.NormalizedV
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -738,6 +816,8 @@ public Builder setPoint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -749,7 +829,9 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1p3beta1.Normalize
       if (pointBuilder_ == null) {
         if (point_ != null) {
           point_ =
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder(point_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder(point_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           point_ = value;
         }
@@ -761,6 +843,8 @@ public Builder mergePoint(com.google.cloud.videointelligence.v1p3beta1.Normalize
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -780,6 +864,8 @@ public Builder clearPoint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -788,11 +874,13 @@ public Builder clearPoint() {
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder getPointBuilder() {
-      
+
       onChanged();
       return getPointFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -800,15 +888,19 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder get
      *
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder
+        getPointOrBuilder() {
       if (pointBuilder_ != null) {
         return pointBuilder_.getMessageOrBuilder();
       } else {
-        return point_ == null ?
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance() : point_;
+        return point_ == null
+            ? com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()
+            : point_;
       }
     }
     /**
+     *
+     *
      * 
      * The 2D point of the detected landmark using the normalized image
      * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -817,26 +909,32 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder ge
      * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>
         getPointFieldBuilder() {
       if (pointBuilder_ == null) {
-        pointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>(
-                getPoint(),
-                getParentForChildren(),
-                isClean());
+        pointBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
+                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>(
+                getPoint(), getParentForChildren(), isClean());
         point_ = null;
       }
       return pointBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @return The confidence. */ @java.lang.Override @@ -844,37 +942,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * The confidence score of the detected landmark. Range [0, 1].
      * 
* * float confidence = 3; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -884,12 +988,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) - private static final com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark(); } @@ -898,16 +1003,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DetectedLandmark parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DetectedLandmark(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DetectedLandmark parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectedLandmark(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java similarity index 72% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java index a9b9907e3..c290b666e 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java @@ -1,53 +1,82 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface DetectedLandmarkOrBuilder extends +public interface DetectedLandmarkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.DetectedLandmark) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this landmark, for example, left_hand, right_shoulder.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return Whether the point field is set. */ boolean hasPoint(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
    * 
* * .google.cloud.videointelligence.v1p3beta1.NormalizedVertex point = 2; + * * @return The point. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getPoint(); /** + * + * *
    * The 2D point of the detected landmark using the normalized image
    * coordindate system. The normalized coordinates have the range from 0 to 1.
@@ -58,11 +87,14 @@ public interface DetectedLandmarkOrBuilder extends
   com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getPointOrBuilder();
 
   /**
+   *
+   *
    * 
    * The confidence score of the detected landmark. Range [0, 1].
    * 
* * float confidence = 3; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java index dfa97c821..e977164af 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Detected entity from video analysis.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Entity} */ -public final class Entity extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Entity) EntityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entity.newBuilder() to construct. private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entity() { entityId_ = ""; description_ = ""; @@ -27,16 +45,15 @@ private Entity() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Entity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Entity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - entityId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + entityId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,29 +107,33 @@ private Entity( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Entity.class, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Entity.class, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); } public static final int ENTITY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entityId_; /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -117,6 +141,7 @@ private Entity(
    * 
* * string entity_id = 1; + * * @return The entityId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getEntityId() { 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(); entityId_ = s; return s; } } /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -140,16 +166,15 @@ public java.lang.String getEntityId() {
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -160,11 +185,14 @@ public java.lang.String getEntityId() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -173,29 +201,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -206,11 +234,14 @@ public java.lang.String getDescription() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ @java.lang.Override @@ -219,29 +250,29 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -250,6 +281,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +293,7 @@ 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(entityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); } @@ -298,19 +329,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.videointelligence.v1p3beta1.Entity)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Entity other = (com.google.cloud.videointelligence.v1p3beta1.Entity) obj; + com.google.cloud.videointelligence.v1p3beta1.Entity other = + (com.google.cloud.videointelligence.v1p3beta1.Entity) obj; - if (!getEntityId() - .equals(other.getEntityId())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getEntityId().equals(other.getEntityId())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Entity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Entity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity 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; } /** + * + * *
    * Detected entity from video analysis.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Entity} */ - 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.videointelligence.v1p3beta1.Entity) com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Entity.class, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Entity.class, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder() @@ -452,16 +490,15 @@ 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(); @@ -475,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; } @java.lang.Override @@ -496,7 +533,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Entity result = new com.google.cloud.videointelligence.v1p3beta1.Entity(this); + com.google.cloud.videointelligence.v1p3beta1.Entity result = + new com.google.cloud.videointelligence.v1p3beta1.Entity(this); result.entityId_ = entityId_; result.description_ = description_; result.languageCode_ = languageCode_; @@ -508,38 +546,39 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity 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.videointelligence.v1p3beta1.Entity) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Entity)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Entity) other); } else { super.mergeFrom(other); return this; @@ -547,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Entity other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()) + return this; if (!other.getEntityId().isEmpty()) { entityId_ = other.entityId_; onChanged(); @@ -579,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Entity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.Entity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,6 +632,8 @@ public Builder mergeFrom( private java.lang.Object entityId_ = ""; /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -598,13 +641,13 @@ public Builder mergeFrom(
      * 
* * string entity_id = 1; + * * @return The entityId. */ public java.lang.String getEntityId() { java.lang.Object ref = entityId_; 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(); entityId_ = s; return s; @@ -613,6 +656,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -620,15 +665,14 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - public com.google.protobuf.ByteString - getEntityIdBytes() { + public com.google.protobuf.ByteString getEntityIdBytes() { java.lang.Object ref = entityId_; 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); entityId_ = b; return b; } else { @@ -636,6 +680,8 @@ public java.lang.String getEntityId() { } } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -643,20 +689,22 @@ public java.lang.String getEntityId() {
      * 
* * string entity_id = 1; + * * @param value The entityId to set. * @return This builder for chaining. */ - public Builder setEntityId( - java.lang.String value) { + public Builder setEntityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityId_ = value; onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -664,15 +712,18 @@ public Builder setEntityId(
      * 
* * string entity_id = 1; + * * @return This builder for chaining. */ public Builder clearEntityId() { - + entityId_ = getDefaultInstance().getEntityId(); onChanged(); return this; } /** + * + * *
      * Opaque entity ID. Some IDs may be available in
      * [Google Knowledge Graph Search
@@ -680,16 +731,16 @@ public Builder clearEntityId() {
      * 
* * string entity_id = 1; + * * @param value The bytes for entityId to set. * @return This builder for chaining. */ - public Builder setEntityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityId_ = value; onChanged(); return this; @@ -697,18 +748,20 @@ public Builder setEntityIdBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -717,20 +770,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -738,54 +792,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Textual description, e.g., `Fixed-gear bicycle`.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -793,18 +854,20 @@ public Builder setDescriptionBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -813,20 +876,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -834,61 +898,68 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code for `description` in BCP-47 format.
      * 
* * string language_code = 3; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -898,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Entity) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Entity) private static final com.google.cloud.videointelligence.v1p3beta1.Entity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Entity(); } @@ -912,16 +983,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Entity getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java index c46a9eacb..714ef9db4 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface EntityOrBuilder extends +public interface EntityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Entity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -15,10 +33,13 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The entityId. */ java.lang.String getEntityId(); /** + * + * *
    * Opaque entity ID. Some IDs may be available in
    * [Google Knowledge Graph Search
@@ -26,48 +47,58 @@ public interface EntityOrBuilder extends
    * 
* * string entity_id = 1; + * * @return The bytes for entityId. */ - com.google.protobuf.ByteString - getEntityIdBytes(); + com.google.protobuf.ByteString getEntityIdBytes(); /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Textual description, e.g., `Fixed-gear bicycle`.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code for `description` in BCP-47 format.
    * 
* * string language_code = 3; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java index 2be82d1bc..8e5d5eaf6 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Explicit content annotation (based on per-frame visual signals only).
  * If no explicit content has been detected in a frame, no annotations are
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation}
  */
-public final class ExplicitContentAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExplicitContentAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)
     ExplicitContentAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExplicitContentAnnotation.newBuilder() to construct.
   private ExplicitContentAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExplicitContentAnnotation() {
     frames_ = 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 ExplicitContentAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExplicitContentAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,22 +73,27 @@ private ExplicitContentAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              frames_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                frames_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              frames_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.parser(),
+                      extensionRegistry));
+              break;
             }
-            frames_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -79,8 +101,7 @@ private ExplicitContentAnnotation(
     } 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)) {
         frames_ = java.util.Collections.unmodifiableList(frames_);
@@ -89,80 +110,101 @@ private ExplicitContentAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class,
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
   }
 
   public static final int FRAMES_FIELD_NUMBER = 1;
   private java.util.List frames_;
   /**
+   *
+   *
    * 
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List getFramesList() { + public java.util.List + getFramesList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index) { return frames_.get(index); } /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { return frames_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +216,7 @@ 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 < frames_.size(); i++) { output.writeMessage(1, frames_.get(i)); } @@ -189,8 +230,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -200,15 +240,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.videointelligence.v1p3beta1.ExplicitContentAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) obj; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,96 +270,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation + 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation 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.videointelligence.v1p3beta1.ExplicitContentAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation 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; } /** + * + * *
    * Explicit content annotation (based on per-frame visual signals only).
    * If no explicit content has been detected in a frame, no annotations are
@@ -328,39 +377,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation}
    */
-  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.videointelligence.v1p3beta1.ExplicitContentAnnotation)
       com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.class,
+              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.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) {
         getFramesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,19 +426,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation build() {
-      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result = buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -395,7 +450,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation bu
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(this);
+      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation result =
+          new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(this);
       int from_bitField0_ = bitField0_;
       if (framesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -414,46 +470,51 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation bu
     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.videointelligence.v1p3beta1.ExplicitContentAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
+              .getDefaultInstance()) return this;
       if (framesBuilder_ == null) {
         if (!other.frames_.isEmpty()) {
           if (frames_.isEmpty()) {
@@ -472,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitCo
             framesBuilder_ = null;
             frames_ = other.frames_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            framesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFramesFieldBuilder() : null;
+            framesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFramesFieldBuilder()
+                    : null;
           } else {
             framesBuilder_.addAllMessages(other.frames_);
           }
@@ -499,7 +561,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,28 +572,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List frames_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        frames_ = java.util.Collections.emptyList();
+
     private void ensureFramesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        frames_ = new java.util.ArrayList(frames_);
+        frames_ =
+            new java.util.ArrayList<
+                com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame>(frames_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> framesBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame,
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>
+        framesBuilder_;
 
     /**
+     *
+     *
      * 
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -537,11 +612,14 @@ public java.util.List * All video frames where explicit content was detected. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -551,11 +629,14 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -565,11 +646,14 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFram } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { @@ -586,14 +670,18 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -604,13 +692,17 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -624,11 +716,14 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ExplicitCo return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame value) { @@ -645,11 +740,14 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { @@ -663,14 +761,18 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -681,18 +783,22 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -700,11 +806,14 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -717,11 +826,14 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -734,39 +846,50 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder + getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -774,56 +897,74 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilde } } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder + addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + .getDefaultInstance()); } /** + * + * *
      * All video frames where explicit content was detected.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -833,30 +974,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,9 +1011,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java similarity index 58% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java index f349f3ec4..7c7aae411 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentAnnotationOrBuilder.java @@ -1,52 +1,83 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentAnnotationOrBuilder extends +public interface ExplicitContentAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getFrames(int index); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ int getFramesCount(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder> getFramesOrBuilderList(); /** + * + * *
    * All video frames where explicit content was detected.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame frames = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder getFramesOrBuilder( int index); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java similarity index 58% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java index f5cb76201..6ed68196f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfig.java @@ -1,40 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for EXPLICIT_CONTENT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig} */ -public final class ExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) ExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentDetectionConfig.newBuilder() to construct. - private ExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private ExplicitContentDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,34 @@ private ExplicitContentDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder + .class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +127,7 @@ private ExplicitContentDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +136,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +152,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +181,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +205,16 @@ 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,135 +233,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig 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; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig} */ - 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.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(); @@ -345,19 +388,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +411,10 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConf } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +424,52 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConf 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.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -435,11 +489,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +508,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +517,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +532,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +541,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +556,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +565,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +588,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for explicit content detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +607,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +633,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +671,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java index 7a397a884..31d6cb99a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentDetectionConfigOrBuilder extends +public interface ExplicitContentDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for explicit content detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ExplicitContentDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java similarity index 67% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java index d3d8d75cf..64e8cf977 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrame.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video frame level annotation results for explicit content.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame} */ -public final class ExplicitContentFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplicitContentFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) ExplicitContentFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplicitContentFrame.newBuilder() to construct. private ExplicitContentFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExplicitContentFrame() { pornographyLikelihood_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplicitContentFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExplicitContentFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private ExplicitContentFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - pornographyLikelihood_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pornographyLikelihood_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private ExplicitContentFrame( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -122,12 +147,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -135,6 +163,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -150,31 +180,43 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int PORNOGRAPHY_LIKELIHOOD_FIELD_NUMBER = 2;
   private int pornographyLikelihood_;
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Likelihood result = com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.Likelihood result = + com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,12 +228,13 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { output.writeEnum(2, pornographyLikelihood_); } unknownFields.writeTo(output); @@ -204,12 +247,12 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } - if (pornographyLikelihood_ != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, pornographyLikelihood_); + if (pornographyLikelihood_ + != com.google.cloud.videointelligence.v1p3beta1.Likelihood.LIKELIHOOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, pornographyLikelihood_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,17 +262,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.videointelligence.v1p3beta1.ExplicitContentFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other = + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (pornographyLikelihood_ != other.pornographyLikelihood_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -255,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame + 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame 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.videointelligence.v1p3beta1.ExplicitContentFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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; } /** + * + * *
    * Video frame level annotation results for explicit content.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame} */ - 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.videointelligence.v1p3beta1.ExplicitContentFrame) com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.class, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.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(); @@ -398,13 +452,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance(); } @@ -419,7 +474,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame result = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(this); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame result = + new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -434,46 +490,50 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame 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) { + 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.videointelligence.v1p3beta1.ExplicitContentFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -499,7 +559,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -511,36 +573,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -562,6 +637,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -569,8 +646,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -581,6 +657,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -592,7 +670,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -604,6 +682,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -623,6 +703,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -631,11 +713,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -647,11 +731,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -660,14 +747,17 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
@@ -675,80 +765,100 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
 
     private int pornographyLikelihood_ = 0;
     /**
+     *
+     *
      * 
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ - @java.lang.Override public int getPornographyLikelihoodValue() { + @java.lang.Override + public int getPornographyLikelihoodValue() { return pornographyLikelihood_; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @param value The enum numeric value on the wire for pornographyLikelihood to set. * @return This builder for chaining. */ public Builder setPornographyLikelihoodValue(int value) { - + pornographyLikelihood_ = value; onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Likelihood result = com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.Likelihood result = + com.google.cloud.videointelligence.v1p3beta1.Likelihood.valueOf(pornographyLikelihood_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.Likelihood.UNRECOGNIZED + : result; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @param value The pornographyLikelihood to set. * @return This builder for chaining. */ - public Builder setPornographyLikelihood(com.google.cloud.videointelligence.v1p3beta1.Likelihood value) { + public Builder setPornographyLikelihood( + com.google.cloud.videointelligence.v1p3beta1.Likelihood value) { if (value == null) { throw new NullPointerException(); } - + pornographyLikelihood_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Likelihood of the pornography content..
      * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearPornographyLikelihood() { - + pornographyLikelihood_ = 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); } @@ -758,30 +868,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) - private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame(); } - public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplicitContentFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExplicitContentFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplicitContentFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExplicitContentFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,9 +905,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java index 561407c56..8ff386c7a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ExplicitContentFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ExplicitContentFrameOrBuilder extends +public interface ExplicitContentFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,20 +62,26 @@ public interface ExplicitContentFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The enum numeric value on the wire for pornographyLikelihood. */ int getPornographyLikelihoodValue(); /** + * + * *
    * Likelihood of the pornography content..
    * 
* * .google.cloud.videointelligence.v1p3beta1.Likelihood pornography_likelihood = 2; + * * @return The pornographyLikelihood. */ com.google.cloud.videointelligence.v1p3beta1.Likelihood getPornographyLikelihood(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java index f4e0af2ca..a29bc0860 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Face detection annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation} */ -public final class FaceDetectionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) FaceDetectionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceDetectionAnnotation.newBuilder() to construct. private FaceDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceDetectionAnnotation() { tracks_ = java.util.Collections.emptyList(); thumbnail_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private FaceDetectionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,27 +72,31 @@ private FaceDetectionAnnotation( case 0: done = true; break; - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Track.parser(), + extensionRegistry)); + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); - break; - } - case 34: { - - thumbnail_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + thumbnail_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,8 +104,7 @@ private FaceDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -93,22 +113,27 @@ private FaceDetectionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 3; private java.util.List tracks_; /** + * + * *
    * The face tracks with attributes.
    * 
@@ -120,6 +145,8 @@ public java.util.List getTra return tracks_; } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -127,11 +154,13 @@ public java.util.List getTra * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -143,6 +172,8 @@ public int getTracksCount() { return tracks_.size(); } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -154,6 +185,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { return tracks_.get(index); } /** + * + * *
    * The face tracks with attributes.
    * 
@@ -161,19 +194,21 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) { return tracks_.get(index); } public static final int THUMBNAIL_FIELD_NUMBER = 4; private com.google.protobuf.ByteString thumbnail_; /** + * + * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ @java.lang.Override @@ -182,6 +217,7 @@ public com.google.protobuf.ByteString getThumbnail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +229,7 @@ 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 < tracks_.size(); i++) { output.writeMessage(3, tracks_.get(i)); } @@ -211,12 +246,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tracks_.get(i)); } if (!thumbnail_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, thumbnail_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, thumbnail_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -226,17 +259,16 @@ 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.videointelligence.v1p3beta1.FaceDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) obj; - if (!getTracksList() - .equals(other.getTracksList())) return false; - if (!getThumbnail() - .equals(other.getThumbnail())) return false; + if (!getTracksList().equals(other.getTracksList())) return false; + if (!getThumbnail().equals(other.getThumbnail())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -260,135 +292,147 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation + 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation 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.videointelligence.v1p3beta1.FaceDetectionAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation 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; } /** + * + * *
    * Face detection annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation} */ - 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.videointelligence.v1p3beta1.FaceDetectionAnnotation) com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.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) { getTracksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -404,14 +448,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + .getDefaultInstance(); } @java.lang.Override @@ -425,7 +471,8 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buil @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -445,46 +492,51 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation buil 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.videointelligence.v1p3beta1.FaceDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + .getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -503,9 +555,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.FaceDetect tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -533,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,21 +597,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(tracks_); + tracks_ = + new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + tracksBuilder_; /** + * + * *
      * The face tracks with attributes.
      * 
@@ -571,6 +634,8 @@ public java.util.List getTra } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -585,6 +650,8 @@ public int getTracksCount() { } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -599,14 +666,15 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { } } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public Builder setTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +688,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -638,6 +708,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -658,14 +730,15 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu return this; } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public Builder addTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,6 +752,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -697,6 +772,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -715,6 +792,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -725,8 +804,7 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -734,6 +812,8 @@ public Builder addAllTracks( return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -751,6 +831,8 @@ public Builder clearTracks() { return this; } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -768,17 +850,20 @@ public Builder removeTracks(int index) { return this; } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) { return getTracksFieldBuilder().getBuilder(index); } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -788,19 +873,22 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); } else { + return tracks_.get(index); + } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +896,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu } } /** + * + * *
      * The face tracks with attributes.
      * 
@@ -815,42 +905,49 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + return getTracksFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder( - int index) { - return getTracksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) { + return getTracksFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** + * + * *
      * The face tracks with attributes.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - tracks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tracksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tracks_ = null; } return tracksBuilder_; @@ -858,11 +955,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild private com.google.protobuf.ByteString thumbnail_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ @java.lang.Override @@ -870,40 +970,46 @@ public com.google.protobuf.ByteString getThumbnail() { return thumbnail_; } /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @param value The thumbnail to set. * @return This builder for chaining. */ public Builder setThumbnail(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + thumbnail_ = value; onChanged(); return this; } /** + * + * *
      * The thumbnail of a person's face.
      * 
* * bytes thumbnail = 4; + * * @return This builder for chaining. */ public Builder clearThumbnail() { - + thumbnail_ = getDefaultInstance().getThumbnail(); 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); } @@ -913,30 +1019,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,9 +1056,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java index 0fca90500..55a1c3df5 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface FaceDetectionAnnotationOrBuilder extends +public interface FaceDetectionAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - java.util.List - getTracksList(); + java.util.List getTracksList(); /** + * + * *
    * The face tracks with attributes.
    * 
@@ -25,6 +44,8 @@ public interface FaceDetectionAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index); /** + * + * *
    * The face tracks with attributes.
    * 
@@ -33,30 +54,36 @@ public interface FaceDetectionAnnotationOrBuilder extends */ int getTracksCount(); /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** + * + * *
    * The face tracks with attributes.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 3; */ - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index); /** + * + * *
    * The thumbnail of a person's face.
    * 
* * bytes thumbnail = 4; + * * @return The thumbnail. */ com.google.protobuf.ByteString getThumbnail(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java similarity index 70% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java index 9c2e07d27..fe0dee9f5 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for FACE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig} */ -public final class FaceDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FaceDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) FaceDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FaceDetectionConfig.newBuilder() to construct. private FaceDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FaceDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FaceDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FaceDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,29 +70,30 @@ private FaceDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - case 16: { - - includeBoundingBoxes_ = input.readBool(); - break; - } - case 40: { - - includeAttributes_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + case 16: + { + includeBoundingBoxes_ = input.readBool(); + break; + } + case 40: + { + includeAttributes_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,29 +101,33 @@ private FaceDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -113,6 +135,7 @@ private FaceDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -121,14 +144,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -136,16 +160,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -156,11 +179,14 @@ public java.lang.String getModel() { public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 2; private boolean includeBoundingBoxes_; /** + * + * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -171,12 +197,15 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 5; private boolean includeAttributes_; /** + * + * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ @java.lang.Override @@ -185,6 +214,7 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,8 +226,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -220,12 +249,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); } if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includeBoundingBoxes_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, includeAttributes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,19 +262,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.videointelligence.v1p3beta1.FaceDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; - if (getIncludeBoundingBoxes() - != other.getIncludeBoundingBoxes()) return false; - if (getIncludeAttributes() - != other.getIncludeAttributes()) return false; + if (!getModel().equals(other.getModel())) return false; + if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; + if (getIncludeAttributes() != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -262,128 +287,136 @@ public int hashCode() { hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig 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.videointelligence.v1p3beta1.FaceDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig} */ - 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.videointelligence.v1p3beta1.FaceDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder() @@ -391,16 +424,15 @@ 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,13 +446,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance(); } @@ -435,7 +468,8 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(this); result.model_ = model_; result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includeAttributes_ = includeAttributes_; @@ -447,46 +481,50 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig 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) { + 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.videointelligence.v1p3beta1.FaceDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -516,7 +554,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,6 +568,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -535,13 +577,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -550,6 +592,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -557,15 +601,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -573,6 +616,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -580,20 +625,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -601,15 +648,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for face detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -617,28 +667,31 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private boolean includeBoundingBoxes_ ; + private boolean includeBoundingBoxes_; /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -646,43 +699,52 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** + * + * *
      * Whether bounding boxes are included in the face annotation output.
      * 
* * bool include_bounding_boxes = 2; + * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includeAttributes_ ; + private boolean includeAttributes_; /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ @java.lang.Override @@ -690,39 +752,45 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable face attributes detection, such as glasses, dark_glasses,
      * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
      * 
* * bool include_attributes = 5; + * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -732,30 +800,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FaceDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FaceDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FaceDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -767,9 +837,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java index 893766387..4b0c8e321 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface FaceDetectionConfigOrBuilder extends +public interface FaceDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for face detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,28 +47,34 @@ public interface FaceDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); /** + * + * *
    * Whether bounding boxes are included in the face annotation output.
    * 
* * bool include_bounding_boxes = 2; + * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** + * + * *
    * Whether to enable face attributes detection, such as glasses, dark_glasses,
    * mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
    * 
* * bool include_attributes = 5; + * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java similarity index 72% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java index d2c98edda..9630ad266 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.Feature} */ -public enum Feature - implements com.google.protobuf.ProtocolMessageEnum { +public enum Feature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum Feature */ FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum Feature */ LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum Feature */ SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum Feature */ EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * Human face detection.
    * 
@@ -53,6 +79,8 @@ public enum Feature */ FACE_DETECTION(4), /** + * + * *
    * Speech transcription.
    * 
@@ -61,6 +89,8 @@ public enum Feature */ SPEECH_TRANSCRIPTION(6), /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -69,6 +99,8 @@ public enum Feature */ TEXT_DETECTION(7), /** + * + * *
    * Object detection and tracking.
    * 
@@ -77,6 +109,8 @@ public enum Feature */ OBJECT_TRACKING(9), /** + * + * *
    * Logo detection, tracking, and recognition.
    * 
@@ -85,6 +119,8 @@ public enum Feature */ LOGO_RECOGNITION(12), /** + * + * *
    * Celebrity recognition.
    * 
@@ -93,6 +129,8 @@ public enum Feature */ CELEBRITY_RECOGNITION(13), /** + * + * *
    * Person detection.
    * 
@@ -104,6 +142,8 @@ public enum Feature ; /** + * + * *
    * Unspecified.
    * 
@@ -112,6 +152,8 @@ public enum Feature */ public static final int FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -120,6 +162,8 @@ public enum Feature */ public static final int LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -128,6 +172,8 @@ public enum Feature */ public static final int SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -136,6 +182,8 @@ public enum Feature */ public static final int EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * Human face detection.
    * 
@@ -144,6 +192,8 @@ public enum Feature */ public static final int FACE_DETECTION_VALUE = 4; /** + * + * *
    * Speech transcription.
    * 
@@ -152,6 +202,8 @@ public enum Feature */ public static final int SPEECH_TRANSCRIPTION_VALUE = 6; /** + * + * *
    * OCR text detection and tracking.
    * 
@@ -160,6 +212,8 @@ public enum Feature */ public static final int TEXT_DETECTION_VALUE = 7; /** + * + * *
    * Object detection and tracking.
    * 
@@ -168,6 +222,8 @@ public enum Feature */ public static final int OBJECT_TRACKING_VALUE = 9; /** + * + * *
    * Logo detection, tracking, and recognition.
    * 
@@ -176,6 +232,8 @@ public enum Feature */ public static final int LOGO_RECOGNITION_VALUE = 12; /** + * + * *
    * Celebrity recognition.
    * 
@@ -184,6 +242,8 @@ public enum Feature */ public static final int CELEBRITY_RECOGNITION_VALUE = 13; /** + * + * *
    * Person detection.
    * 
@@ -192,7 +252,6 @@ public enum Feature */ public static final int PERSON_DETECTION_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,57 +276,68 @@ public static Feature valueOf(int value) { */ public static Feature forNumber(int value) { switch (value) { - case 0: return FEATURE_UNSPECIFIED; - case 1: return LABEL_DETECTION; - case 2: return SHOT_CHANGE_DETECTION; - case 3: return EXPLICIT_CONTENT_DETECTION; - case 4: return FACE_DETECTION; - case 6: return SPEECH_TRANSCRIPTION; - case 7: return TEXT_DETECTION; - case 9: return OBJECT_TRACKING; - case 12: return LOGO_RECOGNITION; - case 13: return CELEBRITY_RECOGNITION; - case 14: return PERSON_DETECTION; - default: return null; + case 0: + return FEATURE_UNSPECIFIED; + case 1: + return LABEL_DETECTION; + case 2: + return SHOT_CHANGE_DETECTION; + case 3: + return EXPLICIT_CONTENT_DETECTION; + case 4: + return FACE_DETECTION; + case 6: + return SPEECH_TRANSCRIPTION; + case 7: + return TEXT_DETECTION; + case 9: + return OBJECT_TRACKING; + case 12: + return LOGO_RECOGNITION; + case 13: + return CELEBRITY_RECOGNITION; + case 14: + return PERSON_DETECTION; + 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< - Feature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Feature findValueByNumber(int number) { - return Feature.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Feature findValueByNumber(int number) { + return Feature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(3); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(3); } private static final Feature[] VALUES = values(); - public static Feature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Feature 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; @@ -283,4 +353,3 @@ private Feature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.Feature) } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java similarity index 77% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java index 44ce8fc1c..47f1453b9 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Label annotation.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelAnnotation} */ -public final class LabelAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) LabelAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelAnnotation.newBuilder() to construct. private LabelAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelAnnotation() { categoryEntities_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private LabelAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,53 +73,71 @@ private LabelAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - categoryEntities_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + categoryEntities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + categoryEntities_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelSegment.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelSegment>(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelFrame>(); + mutable_bitField0_ |= 0x00000004; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +145,7 @@ private LabelAnnotation( } 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)) { categoryEntities_ = java.util.Collections.unmodifiableList(categoryEntities_); @@ -126,27 +160,33 @@ private LabelAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -154,18 +194,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Detected entity.
    * 
@@ -180,6 +227,8 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB public static final int CATEGORY_ENTITIES_FIELD_NUMBER = 2; private java.util.List categoryEntities_; /** + * + * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -190,10 +239,13 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List getCategoryEntitiesList() {
+  public java.util.List
+      getCategoryEntitiesList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -204,11 +256,13 @@ public java.util.List getCa
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCategoryEntitiesOrBuilderList() {
     return categoryEntities_;
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -223,6 +277,8 @@ public int getCategoryEntitiesCount() {
     return categoryEntities_.size();
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -237,6 +293,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(i
     return categoryEntities_.get(index);
   }
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -255,6 +313,8 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
@@ -262,10 +322,13 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -273,11 +336,14 @@ public java.util.List * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -289,6 +355,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -300,6 +368,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int return segments_.get(index); } /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -315,6 +385,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg public static final int FRAMES_FIELD_NUMBER = 4; private java.util.List frames_; /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -326,6 +398,8 @@ public java.util.List g return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -333,11 +407,13 @@ public java.util.List g * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -349,6 +425,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -360,6 +438,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int ind return frames_.get(index); } /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -373,6 +453,7 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,8 +465,7 @@ 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 (entity_ != null) { output.writeMessage(1, getEntity()); } @@ -408,20 +488,16 @@ public int getSerializedSize() { size = 0; if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } for (int i = 0; i < categoryEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, categoryEntities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, categoryEntities_.get(i)); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i)); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -431,24 +507,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.videointelligence.v1p3beta1.LabelAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) obj; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; - } - if (!getCategoryEntitiesList() - .equals(other.getCategoryEntitiesList())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + if (!getEntity().equals(other.getEntity())) return false; + } + if (!getCategoryEntitiesList().equals(other.getCategoryEntitiesList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,117 +555,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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; } /** + * + * *
    * Label annotation.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelAnnotation} */ - 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.videointelligence.v1p3beta1.LabelAnnotation) com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.newBuilder() @@ -600,19 +683,19 @@ 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) { getCategoryEntitiesFieldBuilder(); getSegmentsFieldBuilder(); getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,13 +727,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance(); } @@ -665,7 +749,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -707,38 +792,39 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation 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.videointelligence.v1p3beta1.LabelAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) other); } else { super.mergeFrom(other); return this; @@ -746,7 +832,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()) return this; + if (other + == com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()) + return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -768,9 +856,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot categoryEntitiesBuilder_ = null; categoryEntities_ = other.categoryEntities_; bitField0_ = (bitField0_ & ~0x00000001); - categoryEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoryEntitiesFieldBuilder() : null; + categoryEntitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoryEntitiesFieldBuilder() + : null; } else { categoryEntitiesBuilder_.addAllMessages(other.categoryEntities_); } @@ -794,9 +883,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -820,9 +910,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelAnnot framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000004); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -847,7 +938,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,38 +948,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Detected entity.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Detected entity.
      * 
@@ -908,6 +1014,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val return this; } /** + * + * *
      * Detected entity.
      * 
@@ -926,6 +1034,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Detected entity.
      * 
@@ -936,7 +1046,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -948,6 +1060,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v return this; } /** + * + * *
      * Detected entity.
      * 
@@ -966,6 +1080,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Detected entity.
      * 
@@ -973,11 +1089,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Detected entity.
      * 
@@ -988,11 +1106,14 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Detected entity.
      * 
@@ -1000,32 +1121,43 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private java.util.List categoryEntities_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoryEntitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - categoryEntities_ = new java.util.ArrayList(categoryEntities_); + categoryEntities_ = + new java.util.ArrayList( + categoryEntities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> categoryEntitiesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + categoryEntitiesBuilder_; /** + * + * *
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1035,7 +1167,8 @@ private void ensureCategoryEntitiesIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List getCategoryEntitiesList() {
+    public java.util.List
+        getCategoryEntitiesList() {
       if (categoryEntitiesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(categoryEntities_);
       } else {
@@ -1043,6 +1176,8 @@ public java.util.List getCa
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1060,6 +1195,8 @@ public int getCategoryEntitiesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1077,6 +1214,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(i
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1101,6 +1240,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1122,6 +1263,8 @@ public Builder setCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1145,6 +1288,8 @@ public Builder addCategoryEntities(com.google.cloud.videointelligence.v1p3beta1.
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1169,6 +1314,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1190,6 +1337,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1211,6 +1360,8 @@ public Builder addCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1224,8 +1375,7 @@ public Builder addAllCategoryEntities(
         java.lang.Iterable values) {
       if (categoryEntitiesBuilder_ == null) {
         ensureCategoryEntitiesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, categoryEntities_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categoryEntities_);
         onChanged();
       } else {
         categoryEntitiesBuilder_.addAllMessages(values);
@@ -1233,6 +1383,8 @@ public Builder addAllCategoryEntities(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1253,6 +1405,8 @@ public Builder clearCategoryEntities() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1273,6 +1427,8 @@ public Builder removeCategoryEntities(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1287,6 +1443,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
       return getCategoryEntitiesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1296,14 +1454,17 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntitiesOrBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder
+        getCategoryEntitiesOrBuilder(int index) {
       if (categoryEntitiesBuilder_ == null) {
-        return categoryEntities_.get(index);  } else {
+        return categoryEntities_.get(index);
+      } else {
         return categoryEntitiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1313,8 +1474,8 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesOrBuilderList() {
+    public java.util.List
+        getCategoryEntitiesOrBuilderList() {
       if (categoryEntitiesBuilder_ != null) {
         return categoryEntitiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1322,6 +1483,8 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE
       }
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1331,11 +1494,14 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryE
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEntitiesBuilder() {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder
+        addCategoryEntitiesBuilder() {
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1347,10 +1513,13 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEn
      */
     public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEntitiesBuilder(
         int index) {
-      return getCategoryEntitiesFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
+      return getCategoryEntitiesFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Common categories for the detected entity.
      * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -1360,16 +1529,22 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEn
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
      */
-    public java.util.List 
-         getCategoryEntitiesBuilderList() {
+    public java.util.List
+        getCategoryEntitiesBuilderList() {
       return getCategoryEntitiesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.Entity,
+            com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>
         getCategoryEntitiesFieldBuilder() {
       if (categoryEntitiesBuilder_ == null) {
-        categoryEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
+        categoryEntitiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.Entity,
+                com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
                 categoryEntities_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1380,25 +1555,34 @@ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder addCategoryEn
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(
+                segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.LabelSegment,
+            com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -1406,6 +1590,8 @@ public java.util.List } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1420,6 +1606,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1434,6 +1622,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1455,6 +1645,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1462,7 +1654,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -1473,6 +1666,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1493,6 +1688,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.LabelSeg return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1514,6 +1711,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1532,6 +1731,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1539,7 +1740,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -1550,6 +1752,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1557,11 +1761,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -1569,6 +1773,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1586,6 +1792,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1603,6 +1811,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1614,6 +1824,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder getSegm return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1623,19 +1835,23 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder getSegm public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -1643,6 +1859,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg } } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1650,10 +1868,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSeg * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
@@ -1662,48 +1883,63 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegm */ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelSegment, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelSegment, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelSegment, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> + framesBuilder_; /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1718,6 +1954,8 @@ public java.util.List g } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1732,6 +1970,8 @@ public int getFramesCount() { } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1746,6 +1986,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int ind } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1767,6 +2009,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1774,7 +2018,8 @@ public Builder setFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1785,6 +2030,8 @@ public Builder setFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1805,6 +2052,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.LabelFrame return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1826,6 +2075,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1844,6 +2095,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1851,7 +2104,8 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1862,6 +2116,8 @@ public Builder addFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1869,11 +2125,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1881,6 +2137,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1898,6 +2156,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1915,6 +2175,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1926,6 +2188,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder getFrames return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1935,19 +2199,23 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder getFrames public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1955,6 +2223,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame } } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1962,10 +2232,12 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFrame * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
@@ -1974,37 +2246,43 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFrames */ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()); } /** + * + * *
      * All video frames where a label was detected.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelFrame, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelFrame, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -2014,12 +2292,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation(); } @@ -2028,16 +2307,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2052,6 +2331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java index e05aee414..508d78ef9 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelAnnotationOrBuilder extends +public interface LabelAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Detected entity.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** + * + * *
    * Detected entity.
    * 
@@ -35,6 +59,8 @@ public interface LabelAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -44,9 +70,10 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
-  java.util.List 
-      getCategoryEntitiesList();
+  java.util.List getCategoryEntitiesList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -58,6 +85,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p3beta1.Entity getCategoryEntities(int index);
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -69,6 +98,8 @@ public interface LabelAnnotationOrBuilder extends
    */
   int getCategoryEntitiesCount();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -78,9 +109,11 @@ public interface LabelAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Entity category_entities = 2;
    */
-  java.util.List 
+  java.util.List
       getCategoryEntitiesOrBuilderList();
   /**
+   *
+   *
    * 
    * Common categories for the detected entity.
    * For example, when the label is `Terrier`, the category is likely `dog`. And
@@ -94,15 +127,18 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities
       int index);
 
   /**
+   *
+   *
    * 
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -111,6 +147,8 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities */ com.google.cloud.videointelligence.v1p3beta1.LabelSegment getSegments(int index); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -119,15 +157,19 @@ com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getCategoryEntities */ int getSegmentsCount(); /** + * + * *
    * All video segments where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where a label was detected.
    * 
@@ -138,15 +180,18 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr int index); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -155,6 +200,8 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr */ com.google.cloud.videointelligence.v1p3beta1.LabelFrame getFrames(int index); /** + * + * *
    * All video frames where a label was detected.
    * 
@@ -163,21 +210,24 @@ com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder getSegmentsOr */ int getFramesCount(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * All video frames where a label was detected.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4; */ - com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java similarity index 72% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java index d16b099c0..d9f418211 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig} */ -public final class LabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) LabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelDetectionConfig.newBuilder() to construct. private LabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LabelDetectionConfig() { labelDetectionMode_ = 0; model_ = ""; @@ -26,16 +44,15 @@ private LabelDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,42 @@ private LabelDetectionConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - labelDetectionMode_ = rawValue; - break; - } - case 16: { - - stationaryCamera_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - model_ = s; - break; - } - case 37: { + case 8: + { + int rawValue = input.readEnum(); - frameConfidenceThreshold_ = input.readFloat(); - break; - } - case 45: { + labelDetectionMode_ = rawValue; + break; + } + case 16: + { + stationaryCamera_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - videoConfidenceThreshold_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + case 37: + { + frameConfidenceThreshold_ = input.readFloat(); + break; + } + case 45: + { + videoConfidenceThreshold_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,60 +114,78 @@ private LabelDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); } public static final int LABEL_DETECTION_MODE_FIELD_NUMBER = 1; private int labelDetectionMode_; /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED + : result; } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 2; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -156,6 +193,7 @@ private LabelDetectionConfig(
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -166,6 +204,8 @@ public boolean getStationaryCamera() { public static final int MODEL_FIELD_NUMBER = 3; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -173,6 +213,7 @@ public boolean getStationaryCamera() {
    * 
* * string model = 3; + * * @return The model. */ @java.lang.Override @@ -181,14 +222,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -196,16 +238,15 @@ public java.lang.String getModel() {
    * 
* * string model = 3; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -216,6 +257,8 @@ public java.lang.String getModel() { public static final int FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 4; private float frameConfidenceThreshold_; /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -226,6 +269,7 @@ public java.lang.String getModel() {
    * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -236,6 +280,8 @@ public float getFrameConfidenceThreshold() { public static final int VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER = 5; private float videoConfidenceThreshold_; /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -246,6 +292,7 @@ public float getFrameConfidenceThreshold() {
    * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -254,6 +301,7 @@ public float getVideoConfidenceThreshold() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,9 +313,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, labelDetectionMode_); } if (stationaryCamera_ != false) { @@ -291,24 +341,23 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (labelDetectionMode_ != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.LABEL_DETECTION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, labelDetectionMode_); + if (labelDetectionMode_ + != com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode + .LABEL_DETECTION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, labelDetectionMode_); } if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, stationaryCamera_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, model_); } if (java.lang.Float.floatToRawIntBits(frameConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, frameConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, frameConfidenceThreshold_); } if (java.lang.Float.floatToRawIntBits(videoConfidenceThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(5, videoConfidenceThreshold_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, videoConfidenceThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,24 +367,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.videointelligence.v1p3beta1.LabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) obj; if (labelDetectionMode_ != other.labelDetectionMode_) return false; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; + if (!getModel().equals(other.getModel())) return false; if (java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()) - != java.lang.Float.floatToIntBits( - other.getFrameConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits(other.getFrameConfidenceThreshold())) return false; if (java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()) - != java.lang.Float.floatToIntBits( - other.getVideoConfidenceThreshold())) return false; + != java.lang.Float.floatToIntBits(other.getVideoConfidenceThreshold())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,150 +396,158 @@ public int hashCode() { hash = (37 * hash) + LABEL_DETECTION_MODE_FIELD_NUMBER; hash = (53 * hash) + labelDetectionMode_; hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (37 * hash) + MODEL_FIELD_NUMBER; hash = (53 * hash) + getModel().hashCode(); hash = (37 * hash) + FRAME_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFrameConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFrameConfidenceThreshold()); hash = (37 * hash) + VIDEO_CONFIDENCE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getVideoConfidenceThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getVideoConfidenceThreshold()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig + 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig 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.videointelligence.v1p3beta1.LabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig} */ - 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.videointelligence.v1p3beta1.LabelDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.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(); @@ -511,13 +565,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance(); } @@ -532,7 +587,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(this); result.labelDetectionMode_ = labelDetectionMode_; result.stationaryCamera_ = stationaryCamera_; result.model_ = model_; @@ -546,46 +602,50 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig 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) { + 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.videointelligence.v1p3beta1.LabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance()) + return this; if (other.labelDetectionMode_ != 0) { setLabelDetectionModeValue(other.getLabelDetectionModeValue()); } @@ -621,7 +681,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,90 +695,118 @@ public Builder mergeFrom( private int labelDetectionMode_ = 0; /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ - @java.lang.Override public int getLabelDetectionModeValue() { + @java.lang.Override + public int getLabelDetectionModeValue() { return labelDetectionMode_; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The enum numeric value on the wire for labelDetectionMode to set. * @return This builder for chaining. */ public Builder setLabelDetectionModeValue(int value) { - + labelDetectionMode_ = value; onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf(labelDetectionMode_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode result = + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.valueOf( + labelDetectionMode_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode.UNRECOGNIZED + : result; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @param value The labelDetectionMode to set. * @return This builder for chaining. */ - public Builder setLabelDetectionMode(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode value) { + public Builder setLabelDetectionMode( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode value) { if (value == null) { throw new NullPointerException(); } - + labelDetectionMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * What labels should be detected with LABEL_DETECTION, in addition to
      * video-level labels or segment-level labels.
      * If unspecified, defaults to `SHOT_MODE`.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearLabelDetectionMode() { - + labelDetectionMode_ = 0; onChanged(); return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -724,6 +814,7 @@ public Builder clearLabelDetectionMode() {
      * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ @java.lang.Override @@ -731,6 +822,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -738,16 +831,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 2; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been shot from a stationary (i.e., non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -755,10 +851,11 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 2; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = false; onChanged(); return this; @@ -766,6 +863,8 @@ public Builder clearStationaryCamera() { private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -773,13 +872,13 @@ public Builder clearStationaryCamera() {
      * 
* * string model = 3; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -788,6 +887,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -795,15 +896,14 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -811,6 +911,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -818,20 +920,22 @@ public java.lang.String getModel() {
      * 
* * string model = 3; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -839,15 +943,18 @@ public Builder setModel(
      * 
* * string model = 3; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for label detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -855,23 +962,25 @@ public Builder clearModel() {
      * 
* * string model = 3; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; onChanged(); return this; } - private float frameConfidenceThreshold_ ; + private float frameConfidenceThreshold_; /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -882,6 +991,7 @@ public Builder setModelBytes(
      * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ @java.lang.Override @@ -889,6 +999,8 @@ public float getFrameConfidenceThreshold() { return frameConfidenceThreshold_; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -899,16 +1011,19 @@ public float getFrameConfidenceThreshold() {
      * 
* * float frame_confidence_threshold = 4; + * * @param value The frameConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setFrameConfidenceThreshold(float value) { - + frameConfidenceThreshold_ = value; onChanged(); return this; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -919,17 +1034,20 @@ public Builder setFrameConfidenceThreshold(float value) {
      * 
* * float frame_confidence_threshold = 4; + * * @return This builder for chaining. */ public Builder clearFrameConfidenceThreshold() { - + frameConfidenceThreshold_ = 0F; onChanged(); return this; } - private float videoConfidenceThreshold_ ; + private float videoConfidenceThreshold_; /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -940,6 +1058,7 @@ public Builder clearFrameConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ @java.lang.Override @@ -947,6 +1066,8 @@ public float getVideoConfidenceThreshold() { return videoConfidenceThreshold_; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -957,16 +1078,19 @@ public float getVideoConfidenceThreshold() {
      * 
* * float video_confidence_threshold = 5; + * * @param value The videoConfidenceThreshold to set. * @return This builder for chaining. */ public Builder setVideoConfidenceThreshold(float value) { - + videoConfidenceThreshold_ = value; onChanged(); return this; } /** + * + * *
      * The confidence threshold we perform filtering on the labels from
      * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -977,17 +1101,18 @@ public Builder setVideoConfidenceThreshold(float value) {
      * 
* * float video_confidence_threshold = 5; + * * @return This builder for chaining. */ public Builder clearVideoConfidenceThreshold() { - + videoConfidenceThreshold_ = 0F; 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); } @@ -997,30 +1122,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,9 +1159,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java similarity index 77% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java index 5b725c491..fdfee3564 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java @@ -1,36 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelDetectionConfigOrBuilder extends +public interface LabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The enum numeric value on the wire for labelDetectionMode. */ int getLabelDetectionModeValue(); /** + * + * *
    * What labels should be detected with LABEL_DETECTION, in addition to
    * video-level labels or segment-level labels.
    * If unspecified, defaults to `SHOT_MODE`.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionMode label_detection_mode = 1; + * + * * @return The labelDetectionMode. */ com.google.cloud.videointelligence.v1p3beta1.LabelDetectionMode getLabelDetectionMode(); /** + * + * *
    * Whether the video has been shot from a stationary (i.e., non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -38,11 +64,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 2; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -50,10 +79,13 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for label detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -61,12 +93,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * string model = 3; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * frame-level detection. If not set, it is set to 0.4 by default. The valid
@@ -77,11 +111,14 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * float frame_confidence_threshold = 4; + * * @return The frameConfidenceThreshold. */ float getFrameConfidenceThreshold(); /** + * + * *
    * The confidence threshold we perform filtering on the labels from
    * video-level and shot-level detections. If not set, it's set to 0.3 by
@@ -92,6 +129,7 @@ public interface LabelDetectionConfigOrBuilder extends
    * 
* * float video_confidence_threshold = 5; + * * @return The videoConfidenceThreshold. */ float getVideoConfidenceThreshold(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java similarity index 68% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java index 4d92416fc..3f3d0206a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Label detection mode.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.LabelDetectionMode} */ -public enum LabelDetectionMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum LabelDetectionMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum LabelDetectionMode */ LABEL_DETECTION_MODE_UNSPECIFIED(0), /** + * + * *
    * Detect shot-level labels.
    * 
@@ -29,6 +49,8 @@ public enum LabelDetectionMode */ SHOT_MODE(1), /** + * + * *
    * Detect frame-level labels.
    * 
@@ -37,6 +59,8 @@ public enum LabelDetectionMode */ FRAME_MODE(2), /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -48,6 +72,8 @@ public enum LabelDetectionMode ; /** + * + * *
    * Unspecified.
    * 
@@ -56,6 +82,8 @@ public enum LabelDetectionMode */ public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Detect shot-level labels.
    * 
@@ -64,6 +92,8 @@ public enum LabelDetectionMode */ public static final int SHOT_MODE_VALUE = 1; /** + * + * *
    * Detect frame-level labels.
    * 
@@ -72,6 +102,8 @@ public enum LabelDetectionMode */ public static final int FRAME_MODE_VALUE = 2; /** + * + * *
    * Detect both shot-level and frame-level labels.
    * 
@@ -80,7 +112,6 @@ public enum LabelDetectionMode */ public static final int SHOT_AND_FRAME_MODE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,41 +136,48 @@ public static LabelDetectionMode valueOf(int value) { */ public static LabelDetectionMode forNumber(int value) { switch (value) { - case 0: return LABEL_DETECTION_MODE_UNSPECIFIED; - case 1: return SHOT_MODE; - case 2: return FRAME_MODE; - case 3: return SHOT_AND_FRAME_MODE; - default: return null; + case 0: + return LABEL_DETECTION_MODE_UNSPECIFIED; + case 1: + return SHOT_MODE; + case 2: + return FRAME_MODE; + case 3: + return SHOT_AND_FRAME_MODE; + 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< - LabelDetectionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LabelDetectionMode findValueByNumber(int number) { - return LabelDetectionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LabelDetectionMode findValueByNumber(int number) { + return LabelDetectionMode.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(0); } private static final LabelDetectionMode[] VALUES = values(); @@ -147,8 +185,7 @@ public LabelDetectionMode findValueByNumber(int number) { public static LabelDetectionMode 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; @@ -164,4 +201,3 @@ private LabelDetectionMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.LabelDetectionMode) } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java similarity index 70% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java index af85a8b86..878d25c68 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrame.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video frame level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelFrame} */ -public final class LabelFrame extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelFrame extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelFrame) LabelFrameOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelFrame.newBuilder() to construct. private LabelFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelFrame() { - } + + private LabelFrame() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelFrame(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelFrame( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private LabelFrame( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeOffset_ != null) { - subBuilder = timeOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (timeOffset_ != null) { + subBuilder = timeOffset_.toBuilder(); + } + timeOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeOffset_); + timeOffset_ = subBuilder.buildPartial(); + } + + break; } - timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeOffset_); - timeOffset_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,35 +102,40 @@ private LabelFrame( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); } public static final int TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -120,12 +143,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ @java.lang.Override @@ -133,6 +159,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -148,11 +176,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   public static final int CONFIDENCE_FIELD_NUMBER = 2;
   private float confidence_;
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -161,6 +192,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ 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 (timeOffset_ != null) { output.writeMessage(1, getTimeOffset()); } @@ -190,12 +221,10 @@ public int getSerializedSize() { size = 0; if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeOffset()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,21 +234,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.videointelligence.v1p3beta1.LabelFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelFrame other = (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelFrame other = + (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) obj; if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,125 +264,134 @@ public int hashCode() { hash = (53 * hash) + getTimeOffset().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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; } /** + * + * *
    * Video frame level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelFrame} */ - 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.videointelligence.v1p3beta1.LabelFrame) com.google.cloud.videointelligence.v1p3beta1.LabelFrameOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.class, + com.google.cloud.videointelligence.v1p3beta1.LabelFrame.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelFrame.newBuilder() @@ -362,16 +399,15 @@ 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(); @@ -387,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; } @java.lang.Override @@ -408,7 +444,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelFrame buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelFrame result = new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(this); + com.google.cloud.videointelligence.v1p3beta1.LabelFrame result = + new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(this); if (timeOffsetBuilder_ == null) { result.timeOffset_ = timeOffset_; } else { @@ -423,38 +460,39 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelFrame 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.videointelligence.v1p3beta1.LabelFrame) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelFrame)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelFrame) other); } else { super.mergeFrom(other); return this; @@ -462,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelFrame other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelFrame.getDefaultInstance()) + return this; if (other.hasTimeOffset()) { mergeTimeOffset(other.getTimeOffset()); } @@ -488,7 +527,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.LabelFrame) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,36 +540,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
      * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -551,6 +604,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -558,8 +613,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 1;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -570,6 +624,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -581,7 +637,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -593,6 +649,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -612,6 +670,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -620,11 +680,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -636,11 +698,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video, corresponding to the
      * video frame for this location.
@@ -649,26 +714,32 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private float confidence_ ;
+    private float confidence_;
     /**
+     *
+     *
      * 
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -676,37 +747,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelFrame) private static final com.google.cloud.videointelligence.v1p3beta1.LabelFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelFrame(); } @@ -730,16 +807,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelFrame getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java index 896454cff..5c74cb2cf 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelFrameOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelFrameOrBuilder extends +public interface LabelFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
    * 
* * .google.protobuf.Duration time_offset = 1; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video, corresponding to the
    * video frame for this location.
@@ -38,11 +62,14 @@ public interface LabelFrameOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java similarity index 69% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java index 049486070..c5f6c0d4b 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video segment level annotation results for label detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelSegment} */ -public final class LabelSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LabelSegment) LabelSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelSegment.newBuilder() to construct. private LabelSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSegment() { - } + + private LabelSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private LabelSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private LabelSegment( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -119,18 +144,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -145,11 +177,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -158,6 +193,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +205,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -187,12 +222,10 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,21 +235,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.videointelligence.v1p3beta1.LabelSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.LabelSegment other = (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) obj; + com.google.cloud.videointelligence.v1p3beta1.LabelSegment other = + (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +265,134 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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; } /** + * + * *
    * Video segment level annotation results for label detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LabelSegment} */ - 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.videointelligence.v1p3beta1.LabelSegment) com.google.cloud.videointelligence.v1p3beta1.LabelSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.class, + com.google.cloud.videointelligence.v1p3beta1.LabelSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.LabelSegment.newBuilder() @@ -359,16 +400,15 @@ 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(); @@ -384,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; } @java.lang.Override @@ -405,7 +445,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LabelSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LabelSegment result = new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(this); + com.google.cloud.videointelligence.v1p3beta1.LabelSegment result = + new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(this); if (segmentBuilder_ == null) { result.segment_ = segment_; } else { @@ -420,38 +461,39 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelSegment 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.videointelligence.v1p3beta1.LabelSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LabelSegment) other); } else { super.mergeFrom(other); return this; @@ -459,7 +501,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LabelSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.LabelSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -485,7 +528,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.LabelSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,34 +541,47 @@ public Builder mergeFrom( private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -545,6 +602,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -563,6 +622,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -573,7 +634,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -585,6 +648,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -603,6 +668,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -610,26 +677,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a label was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a label was detected.
      * 
@@ -637,26 +710,32 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -664,37 +743,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence that the label is accurate. Range: [0, 1].
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -704,12 +789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LabelSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LabelSegment) private static final com.google.cloud.videointelligence.v1p3beta1.LabelSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LabelSegment(); } @@ -718,16 +803,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.LabelSegment getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -742,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.LabelSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java index 21ed75973..022316fb4 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface LabelSegmentOrBuilder extends +public interface LabelSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LabelSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a label was detected.
    * 
@@ -35,11 +59,14 @@ public interface LabelSegmentOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence that the label is accurate. Range: [0, 1].
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java similarity index 67% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java index dbb49ed9a..3eee9093b 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Bucketized representation of likelihood.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.Likelihood} */ -public enum Likelihood - implements com.google.protobuf.ProtocolMessageEnum { +public enum Likelihood implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified likelihood.
    * 
@@ -21,6 +39,8 @@ public enum Likelihood */ LIKELIHOOD_UNSPECIFIED(0), /** + * + * *
    * Very unlikely.
    * 
@@ -29,6 +49,8 @@ public enum Likelihood */ VERY_UNLIKELY(1), /** + * + * *
    * Unlikely.
    * 
@@ -37,6 +59,8 @@ public enum Likelihood */ UNLIKELY(2), /** + * + * *
    * Possible.
    * 
@@ -45,6 +69,8 @@ public enum Likelihood */ POSSIBLE(3), /** + * + * *
    * Likely.
    * 
@@ -53,6 +79,8 @@ public enum Likelihood */ LIKELY(4), /** + * + * *
    * Very likely.
    * 
@@ -64,6 +92,8 @@ public enum Likelihood ; /** + * + * *
    * Unspecified likelihood.
    * 
@@ -72,6 +102,8 @@ public enum Likelihood */ public static final int LIKELIHOOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Very unlikely.
    * 
@@ -80,6 +112,8 @@ public enum Likelihood */ public static final int VERY_UNLIKELY_VALUE = 1; /** + * + * *
    * Unlikely.
    * 
@@ -88,6 +122,8 @@ public enum Likelihood */ public static final int UNLIKELY_VALUE = 2; /** + * + * *
    * Possible.
    * 
@@ -96,6 +132,8 @@ public enum Likelihood */ public static final int POSSIBLE_VALUE = 3; /** + * + * *
    * Likely.
    * 
@@ -104,6 +142,8 @@ public enum Likelihood */ public static final int LIKELY_VALUE = 4; /** + * + * *
    * Very likely.
    * 
@@ -112,7 +152,6 @@ public enum Likelihood */ public static final int VERY_LIKELY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,58 @@ public static Likelihood valueOf(int value) { */ public static Likelihood forNumber(int value) { switch (value) { - case 0: return LIKELIHOOD_UNSPECIFIED; - case 1: return VERY_UNLIKELY; - case 2: return UNLIKELY; - case 3: return POSSIBLE; - case 4: return LIKELY; - case 5: return VERY_LIKELY; - default: return null; + case 0: + return LIKELIHOOD_UNSPECIFIED; + case 1: + return VERY_UNLIKELY; + case 2: + return UNLIKELY; + case 3: + return POSSIBLE; + case 4: + return LIKELY; + case 5: + return VERY_LIKELY; + 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< - Likelihood> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Likelihood findValueByNumber(int number) { - return Likelihood.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Likelihood findValueByNumber(int number) { + return Likelihood.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(1); } private static final Likelihood[] VALUES = values(); - public static Likelihood valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Likelihood 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; @@ -198,4 +243,3 @@ private Likelihood(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.Likelihood) } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java similarity index 75% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java index 13c172959..66ab7848c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotation.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Annotation corresponding to one detected, tracked and recognized logo class.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation} */ -public final class LogoRecognitionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LogoRecognitionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) LogoRecognitionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LogoRecognitionAnnotation.newBuilder() to construct. private LogoRecognitionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LogoRecognitionAnnotation() { tracks_ = java.util.Collections.emptyList(); segments_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private LogoRecognitionAnnotation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LogoRecognitionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LogoRecognitionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,44 +72,57 @@ private LogoRecognitionAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Track.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000002; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,8 +130,7 @@ private LogoRecognitionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -113,28 +142,34 @@ private LogoRecognitionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -142,19 +177,26 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -170,6 +212,8 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
   public static final int TRACKS_FIELD_NUMBER = 2;
   private java.util.List tracks_;
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -182,6 +226,8 @@ public java.util.List getTra
     return tracks_;
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -190,11 +236,13 @@ public java.util.List getTra
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTracksOrBuilderList() {
     return tracks_;
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -207,6 +255,8 @@ public int getTracksCount() {
     return tracks_.size();
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -219,6 +269,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
     return tracks_.get(index);
   }
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -227,14 +279,15 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
-      int index) {
+  public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) {
     return tracks_.get(index);
   }
 
   public static final int SEGMENTS_FIELD_NUMBER = 3;
   private java.util.List segments_;
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -243,10 +296,13 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List getSegmentsList() {
+  public java.util.List
+      getSegmentsList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -255,11 +311,14 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -272,6 +331,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -284,6 +345,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -298,6 +361,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -309,8 +373,7 @@ 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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -330,16 +393,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < tracks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, tracks_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, tracks_.get(i));
     }
     for (int i = 0; i < segments_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, segments_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, segments_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -349,22 +409,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.videointelligence.v1p3beta1.LogoRecognitionAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) obj;
+    com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other =
+        (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity()
-          .equals(other.getEntity())) return false;
+      if (!getEntity().equals(other.getEntity())) return false;
     }
-    if (!getTracksList()
-        .equals(other.getTracksList())) return false;
-    if (!getSegmentsList()
-        .equals(other.getSegmentsList())) return false;
+    if (!getTracksList().equals(other.getTracksList())) return false;
+    if (!getSegmentsList().equals(other.getSegmentsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -394,136 +452,148 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation
+      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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation 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;
   }
   /**
+   *
+   *
    * 
    * Annotation corresponding to one detected, tracked and recognized logo class.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation} */ - 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation) com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.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) { getTracksFieldBuilder(); getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -549,19 +619,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -570,7 +643,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation(this); int from_bitField0_ = bitField0_; if (entityBuilder_ == null) { result.entity_ = entity_; @@ -603,46 +677,51 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation bu 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.videointelligence.v1p3beta1.LogoRecognitionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + .getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -664,9 +743,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LogoRecogn tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -690,9 +770,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.LogoRecogn segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000002); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -717,7 +798,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -726,40 +809,54 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -781,6 +878,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -800,6 +899,8 @@ public Builder setEntity(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -811,7 +912,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v
       if (entityBuilder_ == null) {
         if (entity_ != null) {
           entity_ =
-            com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           entity_ = value;
         }
@@ -823,6 +926,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -842,6 +947,8 @@ public Builder clearEntity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -850,11 +957,13 @@ public Builder clearEntity() {
      * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
      */
     public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() {
-      
+
       onChanged();
       return getEntityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -866,11 +975,14 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
       if (entityBuilder_ != null) {
         return entityBuilder_.getMessageOrBuilder();
       } else {
-        return entity_ == null ?
-            com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_;
+        return entity_ == null
+            ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance()
+            : entity_;
       }
     }
     /**
+     *
+     *
      * 
      * Entity category information to specify the logo class that all the logo
      * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -879,32 +991,42 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB
      * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.Entity,
+            com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>
         getEntityFieldBuilder() {
       if (entityBuilder_ == null) {
-        entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
-                getEntity(),
-                getParentForChildren(),
-                isClean());
+        entityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.Entity,
+                com.google.cloud.videointelligence.v1p3beta1.Entity.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>(
+                getEntity(), getParentForChildren(), isClean());
         entity_ = null;
       }
       return entityBuilder_;
     }
 
     private java.util.List tracks_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTracksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        tracks_ = new java.util.ArrayList(tracks_);
+        tracks_ =
+            new java.util.ArrayList(tracks_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.Track,
+            com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>
+        tracksBuilder_;
 
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -920,6 +1042,8 @@ public java.util.List getTra
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -935,6 +1059,8 @@ public int getTracksCount() {
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -950,6 +1076,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -957,8 +1085,7 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public Builder setTracks(
-        int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
+    public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -972,6 +1099,8 @@ public Builder setTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -991,6 +1120,8 @@ public Builder setTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1012,6 +1143,8 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1019,8 +1152,7 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public Builder addTracks(
-        int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
+    public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) {
       if (tracksBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1034,6 +1166,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1053,6 +1187,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1072,6 +1208,8 @@ public Builder addTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1083,8 +1221,7 @@ public Builder addAllTracks(
         java.lang.Iterable values) {
       if (tracksBuilder_ == null) {
         ensureTracksIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, tracks_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_);
         onChanged();
       } else {
         tracksBuilder_.addAllMessages(values);
@@ -1092,6 +1229,8 @@ public Builder addAllTracks(
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1110,6 +1249,8 @@ public Builder clearTracks() {
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1128,6 +1269,8 @@ public Builder removeTracks(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1135,11 +1278,12 @@ public Builder removeTracks(int index) {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(
-        int index) {
+    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) {
       return getTracksFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1150,11 +1294,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild
     public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
         int index) {
       if (tracksBuilder_ == null) {
-        return tracks_.get(index);  } else {
+        return tracks_.get(index);
+      } else {
         return tracksBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1162,8 +1309,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public java.util.List 
-         getTracksOrBuilderList() {
+    public java.util.List
+        getTracksOrBuilderList() {
       if (tracksBuilder_ != null) {
         return tracksBuilder_.getMessageOrBuilderList();
       } else {
@@ -1171,6 +1318,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
       }
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1179,10 +1328,12 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
     public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() {
-      return getTracksFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
+      return getTracksFieldBuilder()
+          .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1190,12 +1341,14 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(
-        int index) {
-      return getTracksFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
+    public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) {
+      return getTracksFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All logo tracks where the recognized logo appears. Each track corresponds
      * to one logo instance appearing in consecutive frames.
@@ -1203,38 +1356,49 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuild
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
      */
-    public java.util.List 
-         getTracksBuilderList() {
+    public java.util.List
+        getTracksBuilderList() {
       return getTracksFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.Track,
+            com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>
         getTracksFieldBuilder() {
       if (tracksBuilder_ == null) {
-        tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>(
-                tracks_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        tracksBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.Track,
+                com.google.cloud.videointelligence.v1p3beta1.Track.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>(
+                tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         tracks_ = null;
       }
       return tracksBuilder_;
     }
 
     private java.util.List segments_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSegmentsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        segments_ = new java.util.ArrayList(segments_);
+        segments_ =
+            new java.util.ArrayList(
+                segments_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentsBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        segmentsBuilder_;
 
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1242,7 +1406,8 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List getSegmentsList() {
+    public java.util.List
+        getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1250,6 +1415,8 @@ public java.util.List
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1265,6 +1432,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1280,6 +1449,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1302,6 +1473,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1310,7 +1483,8 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder setSegments(
-        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1321,6 +1495,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1342,6 +1518,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.VideoSeg
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1364,6 +1542,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1383,6 +1563,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1391,7 +1573,8 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder addSegments(
-        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1402,6 +1585,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1410,11 +1595,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public Builder addAllSegments(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1422,6 +1607,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1440,6 +1627,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1458,6 +1647,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1470,6 +1661,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1480,11 +1673,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1492,8 +1688,9 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1501,6 +1698,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1509,10 +1708,13 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1522,10 +1724,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * All video segments where the recognized logo appears. There might be
      * multiple instances of the same logo class appearing in one VideoSegment.
@@ -1533,27 +1739,30 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
     }
+
     @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);
     }
 
@@ -1563,30 +1772,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
-  private static final com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public LogoRecognitionAnnotation parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new LogoRecognitionAnnotation(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public LogoRecognitionAnnotation parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new LogoRecognitionAnnotation(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1598,9 +1809,8 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
index 1fee1303e..cd32e336e 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LogoRecognitionAnnotationOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface LogoRecognitionAnnotationOrBuilder extends
+public interface LogoRecognitionAnnotationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** + * + * *
    * Entity category information to specify the logo class that all the logo
    * tracks within this LogoRecognitionAnnotation are recognized as.
@@ -38,6 +62,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder();
 
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -45,9 +71,10 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  java.util.List 
-      getTracksList();
+  java.util.List getTracksList();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -57,6 +84,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index);
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -66,6 +95,8 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    */
   int getTracksCount();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -73,9 +104,11 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  java.util.List 
+  java.util.List
       getTracksOrBuilderList();
   /**
+   *
+   *
    * 
    * All logo tracks where the recognized logo appears. Each track corresponds
    * to one logo instance appearing in consecutive frames.
@@ -83,10 +116,11 @@ public interface LogoRecognitionAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 2;
    */
-  com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
-      int index);
+  com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -94,9 +128,10 @@ com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -106,6 +141,8 @@ com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
    */
   com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -115,6 +152,8 @@ com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
@@ -122,9 +161,11 @@ com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 3;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * All video segments where the recognized logo appears. There might be
    * multiple instances of the same logo class appearing in one VideoSegment.
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
similarity index 66%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
index 132605cc6..7c526bf65 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBox.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Normalized bounding box.
  * The normalized vertex coordinates are relative to the original image.
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox}
  */
-public final class NormalizedBoundingBox extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingBox extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)
     NormalizedBoundingBoxOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingBox.newBuilder() to construct.
   private NormalizedBoundingBox(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedBoundingBox() {
-  }
+
+  private NormalizedBoundingBox() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedBoundingBox();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingBox(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,33 +70,33 @@ private NormalizedBoundingBox(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            left_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            top_ = input.readFloat();
-            break;
-          }
-          case 29: {
-
-            right_ = input.readFloat();
-            break;
-          }
-          case 37: {
-
-            bottom_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              left_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              top_ = input.readFloat();
+              break;
+            }
+          case 29:
+            {
+              right_ = input.readFloat();
+              break;
+            }
+          case 37:
+            {
+              bottom_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +104,39 @@ private NormalizedBoundingBox(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
   }
 
   public static final int LEFT_FIELD_NUMBER = 1;
   private float left_;
   /**
+   *
+   *
    * 
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -126,11 +147,14 @@ public float getLeft() { public static final int TOP_FIELD_NUMBER = 2; private float top_; /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -141,11 +165,14 @@ public float getTop() { public static final int RIGHT_FIELD_NUMBER = 3; private float right_; /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -156,11 +183,14 @@ public float getRight() { public static final int BOTTOM_FIELD_NUMBER = 4; private float bottom_; /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -169,6 +199,7 @@ public float getBottom() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +211,7 @@ 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.Float.floatToRawIntBits(left_) != 0) { output.writeFloat(1, left_); } @@ -204,20 +234,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(left_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, left_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, left_); } if (java.lang.Float.floatToRawIntBits(top_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, top_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, top_); } if (java.lang.Float.floatToRawIntBits(right_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, right_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, right_); } if (java.lang.Float.floatToRawIntBits(bottom_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, bottom_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, bottom_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,25 +253,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.videointelligence.v1p3beta1.NormalizedBoundingBox)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other = + (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) obj; if (java.lang.Float.floatToIntBits(getLeft()) - != java.lang.Float.floatToIntBits( - other.getLeft())) return false; - if (java.lang.Float.floatToIntBits(getTop()) - != java.lang.Float.floatToIntBits( - other.getTop())) return false; + != java.lang.Float.floatToIntBits(other.getLeft())) return false; + if (java.lang.Float.floatToIntBits(getTop()) != java.lang.Float.floatToIntBits(other.getTop())) + return false; if (java.lang.Float.floatToIntBits(getRight()) - != java.lang.Float.floatToIntBits( - other.getRight())) return false; + != java.lang.Float.floatToIntBits(other.getRight())) return false; if (java.lang.Float.floatToIntBits(getBottom()) - != java.lang.Float.floatToIntBits( - other.getBottom())) return false; + != java.lang.Float.floatToIntBits(other.getBottom())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,113 +281,118 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LEFT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getLeft()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getLeft()); hash = (37 * hash) + TOP_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getTop()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTop()); hash = (37 * hash) + RIGHT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getRight()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getRight()); hash = (37 * hash) + BOTTOM_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBottom()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBottom()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox + 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox 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.videointelligence.v1p3beta1.NormalizedBoundingBox prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox 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; } /** + * + * *
    * Normalized bounding box.
    * The normalized vertex coordinates are relative to the original image.
@@ -373,38 +401,40 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox}
    */
-  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.videointelligence.v1p3beta1.NormalizedBoundingBox)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.class,
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.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();
@@ -420,14 +450,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -441,7 +473,8 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox build(
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox result =
+          new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(this);
       result.left_ = left_;
       result.top_ = top_;
       result.right_ = right_;
@@ -454,46 +487,51 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox buildP
     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.videointelligence.v1p3beta1.NormalizedBoundingBox) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
+              .getDefaultInstance()) return this;
       if (other.getLeft() != 0F) {
         setLeft(other.getLeft());
       }
@@ -525,7 +563,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -535,13 +575,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float left_ ;
+    private float left_;
     /**
+     *
+     *
      * 
      * Left X coordinate.
      * 
* * float left = 1; + * * @return The left. */ @java.lang.Override @@ -549,42 +592,51 @@ public float getLeft() { return left_; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @param value The left to set. * @return This builder for chaining. */ public Builder setLeft(float value) { - + left_ = value; onChanged(); return this; } /** + * + * *
      * Left X coordinate.
      * 
* * float left = 1; + * * @return This builder for chaining. */ public Builder clearLeft() { - + left_ = 0F; onChanged(); return this; } - private float top_ ; + private float top_; /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return The top. */ @java.lang.Override @@ -592,42 +644,51 @@ public float getTop() { return top_; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @param value The top to set. * @return This builder for chaining. */ public Builder setTop(float value) { - + top_ = value; onChanged(); return this; } /** + * + * *
      * Top Y coordinate.
      * 
* * float top = 2; + * * @return This builder for chaining. */ public Builder clearTop() { - + top_ = 0F; onChanged(); return this; } - private float right_ ; + private float right_; /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return The right. */ @java.lang.Override @@ -635,42 +696,51 @@ public float getRight() { return right_; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @param value The right to set. * @return This builder for chaining. */ public Builder setRight(float value) { - + right_ = value; onChanged(); return this; } /** + * + * *
      * Right X coordinate.
      * 
* * float right = 3; + * * @return This builder for chaining. */ public Builder clearRight() { - + right_ = 0F; onChanged(); return this; } - private float bottom_ ; + private float bottom_; /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return The bottom. */ @java.lang.Override @@ -678,37 +748,43 @@ public float getBottom() { return bottom_; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @param value The bottom to set. * @return This builder for chaining. */ public Builder setBottom(float value) { - + bottom_ = value; onChanged(); return this; } /** + * + * *
      * Bottom Y coordinate.
      * 
* * float bottom = 4; + * * @return This builder for chaining. */ public Builder clearBottom() { - + bottom_ = 0F; 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); } @@ -718,30 +794,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox(); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingBox parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingBox(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingBox parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingBox(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +831,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java similarity index 56% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java index 7cdd88c09..c7afa8a16 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingBoxOrBuilder.java @@ -1,48 +1,76 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface NormalizedBoundingBoxOrBuilder extends +public interface NormalizedBoundingBoxOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Left X coordinate.
    * 
* * float left = 1; + * * @return The left. */ float getLeft(); /** + * + * *
    * Top Y coordinate.
    * 
* * float top = 2; + * * @return The top. */ float getTop(); /** + * + * *
    * Right X coordinate.
    * 
* * float right = 3; + * * @return The right. */ float getRight(); /** + * + * *
    * Bottom Y coordinate.
    * 
* * float bottom = 4; + * * @return The bottom. */ float getBottom(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java similarity index 68% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java index 2edc32f8f..42b1c1784 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPoly.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Normalized bounding polygon for text (that might not be aligned with axis).
  * Contains list of the corner points in clockwise order starting from
@@ -24,31 +41,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly}
  */
-public final class NormalizedBoundingPoly extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedBoundingPoly extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)
     NormalizedBoundingPolyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedBoundingPoly.newBuilder() to construct.
   private NormalizedBoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NormalizedBoundingPoly() {
     vertices_ = 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 NormalizedBoundingPoly();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedBoundingPoly(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,22 +85,27 @@ private NormalizedBoundingPoly(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              vertices_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                vertices_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              vertices_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(),
+                      extensionRegistry));
+              break;
             }
-            vertices_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -91,8 +113,7 @@ private NormalizedBoundingPoly(
     } 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)) {
         vertices_ = java.util.Collections.unmodifiableList(vertices_);
@@ -101,22 +122,27 @@ private NormalizedBoundingPoly(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
   }
 
   public static final int VERTICES_FIELD_NUMBER = 1;
   private java.util.List vertices_;
   /**
+   *
+   *
    * 
    * Normalized vertices of the bounding polygon.
    * 
@@ -124,10 +150,13 @@ private NormalizedBoundingPoly( * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List getVerticesList() { + public java.util.List + getVerticesList() { return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -135,11 +164,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> getVerticesOrBuilderList() { return vertices_; } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -151,6 +183,8 @@ public int getVerticesCount() { return vertices_.size(); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -162,6 +196,8 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices return vertices_.get(index); } /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -169,12 +205,13 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder + getVerticesOrBuilder(int index) { return vertices_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +223,7 @@ 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 < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -201,8 +237,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -212,15 +247,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.videointelligence.v1p3beta1.NormalizedBoundingPoly)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other = + (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) obj; - if (!getVerticesList() - .equals(other.getVerticesList())) return false; + if (!getVerticesList().equals(other.getVerticesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -242,96 +277,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly + 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly 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.videointelligence.v1p3beta1.NormalizedBoundingPoly prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly 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; } /** + * + * *
    * Normalized bounding polygon for text (that might not be aligned with axis).
    * Contains list of the corner points in clockwise order starting from
@@ -352,39 +396,42 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly}
    */
-  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.videointelligence.v1p3beta1.NormalizedBoundingPoly)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.class,
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.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) {
         getVerticesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,14 +445,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -419,7 +468,8 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly build
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly result =
+          new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(this);
       int from_bitField0_ = bitField0_;
       if (verticesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -438,46 +488,51 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly build
     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.videointelligence.v1p3beta1.NormalizedBoundingPoly) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)other);
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly
+              .getDefaultInstance()) return this;
       if (verticesBuilder_ == null) {
         if (!other.vertices_.isEmpty()) {
           if (vertices_.isEmpty()) {
@@ -496,9 +551,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Normalized
             verticesBuilder_ = null;
             vertices_ = other.vertices_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            verticesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVerticesFieldBuilder() : null;
+            verticesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVerticesFieldBuilder()
+                    : null;
           } else {
             verticesBuilder_.addAllMessages(other.vertices_);
           }
@@ -523,7 +579,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -532,28 +590,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List vertices_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        vertices_ = java.util.Collections.emptyList();
+
     private void ensureVerticesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        vertices_ = new java.util.ArrayList(vertices_);
+        vertices_ =
+            new java.util.ArrayList(
+                vertices_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> verticesBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>
+        verticesBuilder_;
 
     /**
+     *
+     *
      * 
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List getVerticesList() { + public java.util.List + getVerticesList() { if (verticesBuilder_ == null) { return java.util.Collections.unmodifiableList(vertices_); } else { @@ -561,11 +630,14 @@ public java.util.List * Normalized vertices of the bounding polygon. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public int getVerticesCount() { if (verticesBuilder_ == null) { @@ -575,11 +647,14 @@ public int getVerticesCount() { } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices(int index) { if (verticesBuilder_ == null) { @@ -589,11 +664,14 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder setVertices( int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { @@ -610,14 +688,18 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder setVertices( - int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.set(index, builderForValue.build()); @@ -628,13 +710,17 @@ public Builder setVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public Builder addVertices(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { + public Builder addVertices( + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -648,11 +734,14 @@ public Builder addVertices(com.google.cloud.videointelligence.v1p3beta1.Normaliz return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex value) { @@ -669,11 +758,14 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { @@ -687,14 +779,18 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder addVertices( - int index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.add(index, builderForValue.build()); @@ -705,18 +801,21 @@ public Builder addVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder addAllVertices( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -724,11 +823,14 @@ public Builder addAllVertices( return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder clearVertices() { if (verticesBuilder_ == null) { @@ -741,11 +843,14 @@ public Builder clearVertices() { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public Builder removeVertices(int index) { if (verticesBuilder_ == null) { @@ -758,39 +863,50 @@ public Builder removeVertices(int index) { return this; } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder getVerticesBuilder( int index) { return getVerticesFieldBuilder().getBuilder(index); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder getVerticesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder + getVerticesOrBuilder(int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); } else { + return vertices_.get(index); + } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List - getVerticesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -798,56 +914,72 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder ge } } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder addVerticesBuilder() { - return getVerticesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder + addVerticesBuilder() { + return getVerticesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder addVerticesBuilder( int index) { - return getVerticesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); + return getVerticesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()); } /** + * + * *
      * Normalized vertices of the bounding polygon.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; + * */ - public java.util.List - getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>( - vertices_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + verticesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder>( + vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); vertices_ = null; } return verticesBuilder_; } + @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); } @@ -857,30 +989,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly(); } - public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedBoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedBoundingPoly(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedBoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedBoundingPoly(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -892,9 +1026,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java index dce1851d5..2e3998a6f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedBoundingPolyOrBuilder.java @@ -1,22 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface NormalizedBoundingPolyOrBuilder extends +public interface NormalizedBoundingPolyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - java.util.List - getVerticesList(); + java.util.List getVerticesList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -25,6 +44,8 @@ public interface NormalizedBoundingPolyOrBuilder extends */ com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getVertices(int index); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
@@ -33,15 +54,19 @@ public interface NormalizedBoundingPolyOrBuilder extends */ int getVerticesCount(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.NormalizedVertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** + * + * *
    * Normalized vertices of the bounding polygon.
    * 
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java similarity index 67% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java index d435df1ae..6c8bcd61d 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertex.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * A vertex represents a 2D point in the image.
  * NOTE: the normalized vertex coordinates are relative to the original image
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedVertex}
  */
-public final class NormalizedVertex extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NormalizedVertex extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.NormalizedVertex)
     NormalizedVertexOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NormalizedVertex.newBuilder() to construct.
   private NormalizedVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NormalizedVertex() {
-  }
+
+  private NormalizedVertex() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NormalizedVertex();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NormalizedVertex(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,23 +70,23 @@ private NormalizedVertex(
           case 0:
             done = true;
             break;
-          case 13: {
-
-            x_ = input.readFloat();
-            break;
-          }
-          case 21: {
-
-            y_ = input.readFloat();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 13:
+            {
+              x_ = input.readFloat();
+              break;
+            }
+          case 21:
+            {
+              y_ = input.readFloat();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,34 +94,39 @@ private NormalizedVertex(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
   }
 
   public static final int X_FIELD_NUMBER = 1;
   private float x_;
   /**
+   *
+   *
    * 
    * X coordinate.
    * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -116,11 +137,14 @@ public float getX() { public static final int Y_FIELD_NUMBER = 2; private float y_; /** + * + * *
    * Y coordinate.
    * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -129,6 +153,7 @@ public float getY() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +165,7 @@ 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.Float.floatToRawIntBits(x_) != 0) { output.writeFloat(1, x_); } @@ -158,12 +182,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(x_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, x_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, x_); } if (java.lang.Float.floatToRawIntBits(y_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, y_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, y_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -173,19 +195,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.videointelligence.v1p3beta1.NormalizedVertex)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other = (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) obj; + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other = + (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) obj; - if (java.lang.Float.floatToIntBits(getX()) - != java.lang.Float.floatToIntBits( - other.getX())) return false; - if (java.lang.Float.floatToIntBits(getY()) - != java.lang.Float.floatToIntBits( - other.getY())) return false; + if (java.lang.Float.floatToIntBits(getX()) != java.lang.Float.floatToIntBits(other.getX())) + return false; + if (java.lang.Float.floatToIntBits(getY()) != java.lang.Float.floatToIntBits(other.getY())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -198,107 +219,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + X_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getX()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getX()); hash = (37 * hash) + Y_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getY()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getY()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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; } /** + * + * *
    * A vertex represents a 2D point in the image.
    * NOTE: the normalized vertex coordinates are relative to the original image
@@ -307,21 +334,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.NormalizedVertex}
    */
-  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.videointelligence.v1p3beta1.NormalizedVertex)
       com.google.cloud.videointelligence.v1p3beta1.NormalizedVertexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class, com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.class,
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.newBuilder()
@@ -329,16 +358,15 @@ 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();
@@ -350,13 +378,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance();
     }
 
@@ -371,7 +400,8 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex result = new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(this);
+      com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex result =
+          new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(this);
       result.x_ = x_;
       result.y_ = y_;
       onBuilt();
@@ -382,38 +412,39 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex 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.videointelligence.v1p3beta1.NormalizedVertex) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -421,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex.getDefaultInstance())
+        return this;
       if (other.getX() != 0F) {
         setX(other.getX());
       }
@@ -447,7 +480,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -457,13 +492,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private float x_ ;
+    private float x_;
     /**
+     *
+     *
      * 
      * X coordinate.
      * 
* * float x = 1; + * * @return The x. */ @java.lang.Override @@ -471,42 +509,51 @@ public float getX() { return x_; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @param value The x to set. * @return This builder for chaining. */ public Builder setX(float value) { - + x_ = value; onChanged(); return this; } /** + * + * *
      * X coordinate.
      * 
* * float x = 1; + * * @return This builder for chaining. */ public Builder clearX() { - + x_ = 0F; onChanged(); return this; } - private float y_ ; + private float y_; /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return The y. */ @java.lang.Override @@ -514,37 +561,43 @@ public float getY() { return y_; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @param value The y to set. * @return This builder for chaining. */ public Builder setY(float value) { - + y_ = value; onChanged(); return this; } /** + * + * *
      * Y coordinate.
      * 
* * float y = 2; + * * @return This builder for chaining. */ public Builder clearY() { - + y_ = 0F; 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); } @@ -554,12 +607,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) - private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex(); } @@ -568,16 +622,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NormalizedVertex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NormalizedVertex(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NormalizedVertex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NormalizedVertex(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.NormalizedVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java new file mode 100644 index 000000000..b98005e50 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/NormalizedVertexOrBuilder.java @@ -0,0 +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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface NormalizedVertexOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.NormalizedVertex) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * X coordinate.
+   * 
+ * + * float x = 1; + * + * @return The x. + */ + float getX(); + + /** + * + * + *
+   * Y coordinate.
+   * 
+ * + * float y = 2; + * + * @return The y. + */ + float getY(); +} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java similarity index 73% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java index b7d824b79..11ef147dc 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Annotations corresponding to one tracked object.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation} */ -public final class ObjectTrackingAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) ObjectTrackingAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ObjectTrackingAnnotation.newBuilder() to construct. private ObjectTrackingAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ObjectTrackingAnnotation() { frames_ = 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 ObjectTrackingAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ObjectTrackingAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,59 +71,75 @@ private ObjectTrackingAnnotation( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder subBuilder = null; + if (entity_ != null) { + subBuilder = entity_.toBuilder(); + } + entity_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entity_); + entity_ = subBuilder.buildPartial(); + } + + break; } - entity_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame>(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (trackInfoCase_ == 3) { + subBuilder = + ((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_) + .toBuilder(); + } + trackInfo_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_); + trackInfo_ = subBuilder.buildPartial(); + } + trackInfoCase_ = 3; + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.parser(), extensionRegistry)); - break; - } - case 26: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (trackInfoCase_ == 3) { - subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_).toBuilder(); + case 37: + { + confidence_ = input.readFloat(); + break; } - trackInfo_ = - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_); - trackInfo_ = subBuilder.buildPartial(); + case 40: + { + trackInfo_ = input.readInt64(); + trackInfoCase_ = 5; + break; } - trackInfoCase_ = 3; - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - case 40: { - trackInfo_ = input.readInt64(); - trackInfoCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,8 +147,7 @@ private ObjectTrackingAnnotation( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -124,28 +156,34 @@ private ObjectTrackingAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); } private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; + public enum TrackInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEGMENT(3), TRACK_ID(5), TRACKINFO_NOT_SET(0); private final int value; + private TrackInfoCase(int value) { this.value = value; } @@ -161,31 +199,37 @@ public static TrackInfoCase valueOf(int value) { public static TrackInfoCase forNumber(int value) { switch (value) { - case 3: return SEGMENT; - case 5: return TRACK_ID; - case 0: return TRACKINFO_NOT_SET; - default: return null; + case 3: + return SEGMENT; + case 5: + return TRACK_ID; + case 0: + return TRACKINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public static final int SEGMENT_FIELD_NUMBER = 3; /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -193,22 +237,27 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (trackInfoCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_; + return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_; } return com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance(); } /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -219,13 +268,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() {
   @java.lang.Override
   public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
     if (trackInfoCase_ == 3) {
-       return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_;
+      return (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_;
     }
     return com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
   }
 
   public static final int TRACK_ID_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -236,6 +287,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ @java.lang.Override @@ -243,6 +295,8 @@ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -253,6 +307,7 @@ public boolean hasTrackId() {
    * 
* * int64 track_id = 5; + * * @return The trackId. */ @java.lang.Override @@ -266,11 +321,14 @@ public long getTrackId() { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -278,18 +336,25 @@ public boolean hasEntity() { return entity_ != null; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -304,11 +369,14 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -319,6 +387,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 2; private java.util.List frames_; /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -329,10 +399,13 @@ public float getConfidence() {
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List getFramesList() {
+  public java.util.List
+      getFramesList() {
     return frames_;
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -343,11 +416,14 @@ public java.util.Listrepeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>
       getFramesOrBuilderList() {
     return frames_;
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -362,6 +438,8 @@ public int getFramesCount() {
     return frames_.size();
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -376,6 +454,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
     return frames_.get(index);
   }
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -386,12 +466,13 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
-      int index) {
+  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder
+      getFramesOrBuilder(int index) {
     return frames_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -403,8 +484,7 @@ 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 (entity_ != null) {
       output.writeMessage(1, getEntity());
     }
@@ -412,14 +492,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(2, frames_.get(i));
     }
     if (trackInfoCase_ == 3) {
-      output.writeMessage(3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
+      output.writeMessage(
+          3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
     }
     if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
       output.writeFloat(4, confidence_);
     }
     if (trackInfoCase_ == 5) {
-      output.writeInt64(
-          5, (long)((java.lang.Long) trackInfo_));
+      output.writeInt64(5, (long) ((java.lang.Long) trackInfo_));
     }
     unknownFields.writeTo(output);
   }
@@ -431,25 +511,23 @@ public int getSerializedSize() {
 
     size = 0;
     if (entity_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEntity());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
     }
     for (int i = 0; i < frames_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, frames_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, frames_.get(i));
     }
     if (trackInfoCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
     }
     if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeFloatSize(4, confidence_);
+      size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_);
     }
     if (trackInfoCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(
-            5, (long)((java.lang.Long) trackInfo_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeInt64Size(
+              5, (long) ((java.lang.Long) trackInfo_));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -459,32 +537,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.videointelligence.v1p3beta1.ObjectTrackingAnnotation)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) obj;
+    com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other =
+        (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) obj;
 
     if (hasEntity() != other.hasEntity()) return false;
     if (hasEntity()) {
-      if (!getEntity()
-          .equals(other.getEntity())) return false;
+      if (!getEntity().equals(other.getEntity())) return false;
     }
     if (java.lang.Float.floatToIntBits(getConfidence())
-        != java.lang.Float.floatToIntBits(
-            other.getConfidence())) return false;
-    if (!getFramesList()
-        .equals(other.getFramesList())) return false;
+        != java.lang.Float.floatToIntBits(other.getConfidence())) return false;
+    if (!getFramesList().equals(other.getFramesList())) return false;
     if (!getTrackInfoCase().equals(other.getTrackInfoCase())) return false;
     switch (trackInfoCase_) {
       case 3:
-        if (!getSegment()
-            .equals(other.getSegment())) return false;
+        if (!getSegment().equals(other.getSegment())) return false;
         break;
       case 5:
-        if (getTrackId()
-            != other.getTrackId()) return false;
+        if (getTrackId() != other.getTrackId()) return false;
         break;
       case 0:
       default:
@@ -505,8 +579,7 @@ public int hashCode() {
       hash = (53 * hash) + getEntity().hashCode();
     }
     hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER;
-    hash = (53 * hash) + java.lang.Float.floatToIntBits(
-        getConfidence());
+    hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence());
     if (getFramesCount() > 0) {
       hash = (37 * hash) + FRAMES_FIELD_NUMBER;
       hash = (53 * hash) + getFramesList().hashCode();
@@ -518,8 +591,7 @@ public int hashCode() {
         break;
       case 5:
         hash = (37 * hash) + TRACK_ID_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-            getTrackId());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrackId());
         break;
       case 0:
       default:
@@ -530,135 +602,147 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation
+      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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation 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;
   }
   /**
+   *
+   *
    * 
    * Annotations corresponding to one tracked object.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation} */ - 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation) com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,14 +766,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance(); } @java.lang.Override @@ -703,7 +789,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation bui @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(this); int from_bitField0_ = bitField0_; if (trackInfoCase_ == 3) { if (segmentBuilder_ == null) { @@ -739,46 +826,51 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation bui 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.videointelligence.v1p3beta1.ObjectTrackingAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance()) return this; if (other.hasEntity()) { mergeEntity(other.getEntity()); } @@ -803,26 +895,30 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrac framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } } } switch (other.getTrackInfoCase()) { - case SEGMENT: { - mergeSegment(other.getSegment()); - break; - } - case TRACK_ID: { - setTrackId(other.getTrackId()); - break; - } - case TRACKINFO_NOT_SET: { - break; - } + case SEGMENT: + { + mergeSegment(other.getSegment()); + break; + } + case TRACK_ID: + { + setTrackId(other.getTrackId()); + break; + } + case TRACKINFO_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -843,7 +939,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -852,12 +950,12 @@ public Builder mergeFrom( } return this; } + private int trackInfoCase_ = 0; private java.lang.Object trackInfo_; - public TrackInfoCase - getTrackInfoCase() { - return TrackInfoCase.forNumber( - trackInfoCase_); + + public TrackInfoCase getTrackInfoCase() { + return TrackInfoCase.forNumber(trackInfoCase_); } public Builder clearTrackInfo() { @@ -870,14 +968,20 @@ public Builder clearTrackInfo() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -885,12 +989,15 @@ public boolean hasSegment() { return trackInfoCase_ == 3; } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return The segment. */ @java.lang.Override @@ -908,6 +1015,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { } } /** + * + * *
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -929,6 +1038,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -948,6 +1059,8 @@ public Builder setSegment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -957,10 +1070,14 @@ public Builder setSegment(
      */
     public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) {
       if (segmentBuilder_ == null) {
-        if (trackInfoCase_ == 3 &&
-            trackInfo_ != com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) {
-          trackInfo_ = com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_)
-              .mergeFrom(value).buildPartial();
+        if (trackInfoCase_ == 3
+            && trackInfo_
+                != com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) {
+          trackInfo_ =
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(
+                      (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trackInfo_ = value;
         }
@@ -976,6 +1093,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1000,6 +1119,8 @@ public Builder clearSegment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1011,6 +1132,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1019,7 +1142,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder
+        getSegmentOrBuilder() {
       if ((trackInfoCase_ == 3) && (segmentBuilder_ != null)) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
@@ -1030,6 +1154,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Non-streaming batch mode ONLY.
      * Each object track corresponds to one video segment where it appears.
@@ -1038,25 +1164,34 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
         if (!(trackInfoCase_ == 3)) {
-          trackInfo_ = com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
+          trackInfo_ =
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance();
         }
-        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+        segmentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
                 (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_,
                 getParentForChildren(),
                 isClean());
         trackInfo_ = null;
       }
       trackInfoCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return segmentBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1067,12 +1202,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ public boolean hasTrackId() { return trackInfoCase_ == 5; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1083,6 +1221,7 @@ public boolean hasTrackId() {
      * 
* * int64 track_id = 5; + * * @return The trackId. */ public long getTrackId() { @@ -1092,6 +1231,8 @@ public long getTrackId() { return 0L; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1102,6 +1243,7 @@ public long getTrackId() {
      * 
* * int64 track_id = 5; + * * @param value The trackId to set. * @return This builder for chaining. */ @@ -1112,6 +1254,8 @@ public Builder setTrackId(long value) { return this; } /** + * + * *
      * Streaming mode ONLY.
      * In streaming mode, we do not know the end time of a tracked object
@@ -1122,6 +1266,7 @@ public Builder setTrackId(long value) {
      * 
* * int64 track_id = 5; + * * @return This builder for chaining. */ public Builder clearTrackId() { @@ -1135,34 +1280,47 @@ public Builder clearTrackId() { private com.google.cloud.videointelligence.v1p3beta1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> entityBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ public com.google.cloud.videointelligence.v1p3beta1.Entity getEntity() { if (entityBuilder_ == null) { - return entity_ == null ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } else { return entityBuilder_.getMessage(); } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1183,6 +1341,8 @@ public Builder setEntity(com.google.cloud.videointelligence.v1p3beta1.Entity val return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1201,6 +1361,8 @@ public Builder setEntity( return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1211,7 +1373,9 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v if (entityBuilder_ == null) { if (entity_ != null) { entity_ = - com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.Entity.newBuilder(entity_) + .mergeFrom(value) + .buildPartial(); } else { entity_ = value; } @@ -1223,6 +1387,8 @@ public Builder mergeEntity(com.google.cloud.videointelligence.v1p3beta1.Entity v return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1241,6 +1407,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1248,11 +1416,13 @@ public Builder clearEntity() { * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Entity.Builder getEntityBuilder() { - + onChanged(); return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1263,11 +1433,14 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() : entity_; + return entity_ == null + ? com.google.cloud.videointelligence.v1p3beta1.Entity.getDefaultInstance() + : entity_; } } /** + * + * *
      * Entity to specify the object category that this track is labeled as.
      * 
@@ -1275,26 +1448,32 @@ public com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrB * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Entity, com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Entity, + com.google.cloud.videointelligence.v1p3beta1.Entity.Builder, + com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return The confidence. */ @java.lang.Override @@ -1302,48 +1481,62 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Object category's labeling confidence of this track.
      * 
* * float confidence = 4; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private java.util.List frames_ = - java.util.Collections.emptyList(); + private java.util.List + frames_ = java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame>(frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1351,9 +1544,11 @@ private void ensureFramesIsMutable() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List getFramesList() { + public java.util.List + getFramesList() { if (framesBuilder_ == null) { return java.util.Collections.unmodifiableList(frames_); } else { @@ -1361,6 +1556,8 @@ public java.util.List * Information corresponding to all frames where this object track appears. * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame @@ -1368,7 +1565,8 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public int getFramesCount() { if (framesBuilder_ == null) { @@ -1378,6 +1576,8 @@ public int getFramesCount() { } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1385,7 +1585,8 @@ public int getFramesCount() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrames(int index) { if (framesBuilder_ == null) { @@ -1395,6 +1596,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1402,7 +1605,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrame
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder setFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { @@ -1419,6 +1623,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1426,10 +1632,12 @@ public Builder setFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder setFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.set(index, builderForValue.build()); @@ -1440,6 +1648,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1447,9 +1657,11 @@ public Builder setFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { + public Builder addFrames( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { if (framesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1463,6 +1675,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ObjectTrac return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1470,7 +1684,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.ObjectTrac
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame value) { @@ -1487,6 +1702,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1494,7 +1711,8 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { @@ -1508,6 +1726,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1515,10 +1735,12 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addFrames( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder builderForValue) { if (framesBuilder_ == null) { ensureFramesIsMutable(); frames_.add(index, builderForValue.build()); @@ -1529,6 +1751,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1536,14 +1760,16 @@ public Builder addFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame> + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1551,6 +1777,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1558,7 +1786,8 @@ public Builder addAllFrames(
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder clearFrames() { if (framesBuilder_ == null) { @@ -1571,6 +1800,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1578,7 +1809,8 @@ public Builder clearFrames() {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ public Builder removeFrames(int index) { if (framesBuilder_ == null) { @@ -1591,6 +1823,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1598,13 +1832,16 @@ public Builder removeFrames(int index) {
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder getFramesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder + getFramesBuilder(int index) { return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1612,16 +1849,20 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder + getFramesOrBuilder(int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1629,10 +1870,12 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1640,6 +1883,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder } } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1647,13 +1892,19 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder + addFramesBuilder() { + return getFramesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame + .getDefaultInstance()); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1661,14 +1912,20 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder addFramesBuilder( - int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder + addFramesBuilder(int index) { + return getFramesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame + .getDefaultInstance()); } /** + * + * *
      * Information corresponding to all frames where this object track appears.
      * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -1676,29 +1933,33 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder
      * Streaming mode: it can only be one ObjectTrackingFrame message in frames.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2; + * */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1708,30 +1969,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1743,9 +2006,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java index 25838828b..f2e40d9d7 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingAnnotationOrBuilder extends +public interface ObjectTrackingAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 3; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Non-streaming batch mode ONLY.
    * Each object track corresponds to one video segment where it appears.
@@ -38,6 +62,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder();
 
   /**
+   *
+   *
    * 
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -48,10 +74,13 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return Whether the trackId field is set. */ boolean hasTrackId(); /** + * + * *
    * Streaming mode ONLY.
    * In streaming mode, we do not know the end time of a tracked object
@@ -62,29 +91,38 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    * 
* * int64 track_id = 5; + * * @return The trackId. */ long getTrackId(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Entity entity = 1; + * * @return The entity. */ com.google.cloud.videointelligence.v1p3beta1.Entity getEntity(); /** + * + * *
    * Entity to specify the object category that this track is labeled as.
    * 
@@ -94,16 +132,21 @@ public interface ObjectTrackingAnnotationOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * Object category's labeling confidence of this track.
    * 
* * float confidence = 4; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -113,9 +156,10 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List 
-      getFramesList();
+  java.util.List getFramesList();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -127,6 +171,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getFrames(int index);
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -138,6 +184,8 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    */
   int getFramesCount();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -147,9 +195,12 @@ public interface ObjectTrackingAnnotationOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;
    */
-  java.util.List 
+  java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder>
       getFramesOrBuilderList();
   /**
+   *
+   *
    * 
    * Information corresponding to all frames where this object track appears.
    * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
@@ -162,5 +213,6 @@ public interface ObjectTrackingAnnotationOrBuilder extends
   com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder getFramesOrBuilder(
       int index);
 
-  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.TrackInfoCase getTrackInfoCase();
+  public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.TrackInfoCase
+      getTrackInfoCase();
 }
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
similarity index 66%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
index 10487d7e6..a12b1f308 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfig.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Config for OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig} */ -public final class ObjectTrackingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) ObjectTrackingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ObjectTrackingConfig.newBuilder() to construct. private ObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ObjectTrackingConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ObjectTrackingConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ObjectTrackingConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1p3beta1.ObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other = + (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +231,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig + 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig 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.videointelligence.v1p3beta1.ObjectTrackingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.ObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.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(); @@ -345,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance(); } @@ -366,7 +401,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(this); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig result = + new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +412,50 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig 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) { + 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.videointelligence.v1p3beta1.ObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance()) + return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +493,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +502,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +517,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +526,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +541,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +550,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +573,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for object tracking.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +592,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java index b34a10a4c..a160c93ea 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingConfigOrBuilder extends +public interface ObjectTrackingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ObjectTrackingConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for object tracking.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ObjectTrackingConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java similarity index 63% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java index 2d055f709..8bf811cb3 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video frame level annotations for object detection and tracking. This field
  * stores per frame location, time offset, and confidence.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame}
  */
-public final class ObjectTrackingFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ObjectTrackingFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)
     ObjectTrackingFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ObjectTrackingFrame.newBuilder() to construct.
   private ObjectTrackingFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ObjectTrackingFrame() {
-  }
+
+  private ObjectTrackingFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ObjectTrackingFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ObjectTrackingFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,39 +69,46 @@ private ObjectTrackingFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder subBuilder = null;
-            if (normalizedBoundingBox_ != null) {
-              subBuilder = normalizedBoundingBox_.toBuilder();
-            }
-            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(normalizedBoundingBox_);
-              normalizedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder
+                  subBuilder = null;
+              if (normalizedBoundingBox_ != null) {
+                subBuilder = normalizedBoundingBox_.toBuilder();
+              }
+              normalizedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(normalizedBoundingBox_);
+                normalizedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,34 +116,41 @@ private ObjectTrackingFrame(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class,
+            com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
+   *
+   *
    * 
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -128,37 +158,53 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -166,11 +212,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -178,6 +227,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
@@ -190,6 +241,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +253,7 @@ 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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -219,12 +270,11 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNormalizedBoundingBox()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +284,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.videointelligence.v1p3beta1.ObjectTrackingFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other = + (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox() - .equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,96 +325,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame 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.videointelligence.v1p3beta1.ObjectTrackingFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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; } /** + * + * *
    * Video frame level annotations for object detection and tracking. This field
    * stores per frame location, time offset, and confidence.
@@ -373,21 +430,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame}
    */
-  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.videointelligence.v1p3beta1.ObjectTrackingFrame)
       com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.class,
+              com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.newBuilder()
@@ -395,16 +454,15 @@ 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();
@@ -424,13 +482,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance();
     }
 
@@ -445,7 +504,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame result = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(this);
+      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame result =
+          new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(this);
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
       } else {
@@ -464,46 +524,50 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame 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) {
+        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.videointelligence.v1p3beta1.ObjectTrackingFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame.getDefaultInstance())
+        return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -529,7 +593,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -539,43 +605,66 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
+        normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>
+        normalizedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -589,14 +678,19 @@ public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder + builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -607,17 +701,25 @@ public Builder setNormalizedBoundingBox( return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder( + normalizedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -629,11 +731,15 @@ public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -647,48 +753,67 @@ public Builder clearNormalizedBoundingBox() { return this; } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } } /** + * + * *
      * The normalized bounding box location of this object track for the frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), - getParentForChildren(), - isClean()); + normalizedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), getParentForChildren(), isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -696,34 +821,47 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuild private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -744,14 +882,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -762,6 +901,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -772,7 +913,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -784,6 +925,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -802,6 +945,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -809,11 +954,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -824,11 +971,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * The timestamp of the frame in microseconds.
      * 
@@ -836,21 +986,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -860,30 +1013,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) - private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame(); } - public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectTrackingFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectTrackingFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ObjectTrackingFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ObjectTrackingFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -895,9 +1050,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java similarity index 59% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java index 38428797d..def091f5c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingFrameOrBuilder.java @@ -1,58 +1,97 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ObjectTrackingFrameOrBuilder extends +public interface ObjectTrackingFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** + * + * *
    * The normalized bounding box location of this object track for the frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * The timestamp of the frame in microseconds.
    * 
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java similarity index 69% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java index 538245305..fe09f6cdb 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Person detection annotation per video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation} */ -public final class PersonDetectionAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PersonDetectionAnnotation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) PersonDetectionAnnotationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PersonDetectionAnnotation.newBuilder() to construct. private PersonDetectionAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PersonDetectionAnnotation() { tracks_ = 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 PersonDetectionAnnotation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PersonDetectionAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private PersonDetectionAnnotation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tracks_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tracks_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.Track.parser(), + extensionRegistry)); + break; } - tracks_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.Track.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private PersonDetectionAnnotation( } 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)) { tracks_ = java.util.Collections.unmodifiableList(tracks_); @@ -87,22 +107,27 @@ private PersonDetectionAnnotation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); } public static final int TRACKS_FIELD_NUMBER = 1; private java.util.List tracks_; /** + * + * *
    * The detected tracks of a person.
    * 
@@ -114,6 +139,8 @@ public java.util.List getTra return tracks_; } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -121,11 +148,13 @@ public java.util.List getTra * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTracksOrBuilderList() { return tracks_; } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -137,6 +166,8 @@ public int getTracksCount() { return tracks_.size(); } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -148,6 +179,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { return tracks_.get(index); } /** + * + * *
    * The detected tracks of a person.
    * 
@@ -155,12 +188,12 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index) { return tracks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +205,7 @@ 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 < tracks_.size(); i++) { output.writeMessage(1, tracks_.get(i)); } @@ -187,8 +219,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tracks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tracks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tracks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +229,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.videointelligence.v1p3beta1.PersonDetectionAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) obj; - if (!getTracksList() - .equals(other.getTracksList())) return false; + if (!getTracksList().equals(other.getTracksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,135 +259,147 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation + 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation 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.videointelligence.v1p3beta1.PersonDetectionAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation 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; } /** + * + * *
    * Person detection annotation per video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation} */ - 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.videointelligence.v1p3beta1.PersonDetectionAnnotation) com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.class, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.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) { getTracksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,19 +413,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation build() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -391,7 +437,8 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(this); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation result = + new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(this); int from_bitField0_ = bitField0_; if (tracksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,46 +457,51 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation bu 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.videointelligence.v1p3beta1.PersonDetectionAnnotation) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + .getDefaultInstance()) return this; if (tracksBuilder_ == null) { if (!other.tracks_.isEmpty()) { if (tracks_.isEmpty()) { @@ -468,9 +520,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.PersonDete tracksBuilder_ = null; tracks_ = other.tracks_; bitField0_ = (bitField0_ & ~0x00000001); - tracksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTracksFieldBuilder() : null; + tracksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTracksFieldBuilder() + : null; } else { tracksBuilder_.addAllMessages(other.tracks_); } @@ -495,7 +548,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +559,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tracks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTracksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - tracks_ = new java.util.ArrayList(tracks_); + tracks_ = + new java.util.ArrayList(tracks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> tracksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + tracksBuilder_; /** + * + * *
      * The detected tracks of a person.
      * 
@@ -533,6 +596,8 @@ public java.util.List getTra } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -547,6 +612,8 @@ public int getTracksCount() { } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -561,14 +628,15 @@ public com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index) { } } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public Builder setTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder setTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +650,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -600,6 +670,8 @@ public Builder setTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -620,14 +692,15 @@ public Builder addTracks(com.google.cloud.videointelligence.v1p3beta1.Track valu return this; } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public Builder addTracks( - int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { + public Builder addTracks(int index, com.google.cloud.videointelligence.v1p3beta1.Track value) { if (tracksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,6 +714,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -659,6 +734,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -677,6 +754,8 @@ public Builder addTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -687,8 +766,7 @@ public Builder addAllTracks( java.lang.Iterable values) { if (tracksBuilder_ == null) { ensureTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tracks_); onChanged(); } else { tracksBuilder_.addAllMessages(values); @@ -696,6 +774,8 @@ public Builder addAllTracks( return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -713,6 +793,8 @@ public Builder clearTracks() { return this; } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -730,17 +812,20 @@ public Builder removeTracks(int index) { return this; } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuilder(int index) { return getTracksFieldBuilder().getBuilder(index); } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -750,19 +835,22 @@ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder getTracksBuild public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( int index) { if (tracksBuilder_ == null) { - return tracks_.get(index); } else { + return tracks_.get(index); + } else { return tracksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public java.util.List - getTracksOrBuilderList() { + public java.util.List + getTracksOrBuilderList() { if (tracksBuilder_ != null) { return tracksBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +858,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu } } /** + * + * *
      * The detected tracks of a person.
      * 
@@ -777,49 +867,56 @@ public com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBu * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder() { - return getTracksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + return getTracksFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder( - int index) { - return getTracksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.Track.Builder addTracksBuilder(int index) { + return getTracksFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()); } /** + * + * *
      * The detected tracks of a person.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - public java.util.List - getTracksBuilderList() { + public java.util.List + getTracksBuilderList() { return getTracksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> getTracksFieldBuilder() { if (tracksBuilder_ == null) { - tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.Track, com.google.cloud.videointelligence.v1p3beta1.Track.Builder, com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( - tracks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tracksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.Track, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder, + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder>( + tracks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tracks_ = null; } return tracksBuilder_; } + @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); } @@ -829,30 +926,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) - private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation(); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,9 +963,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java index 1d8cf4fbe..315ecb9b9 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java @@ -1,22 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface PersonDetectionAnnotationOrBuilder extends +public interface PersonDetectionAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - java.util.List - getTracksList(); + java.util.List getTracksList(); /** + * + * *
    * The detected tracks of a person.
    * 
@@ -25,6 +44,8 @@ public interface PersonDetectionAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1p3beta1.Track getTracks(int index); /** + * + * *
    * The detected tracks of a person.
    * 
@@ -33,21 +54,24 @@ public interface PersonDetectionAnnotationOrBuilder extends */ int getTracksCount(); /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - java.util.List + java.util.List getTracksOrBuilderList(); /** + * + * *
    * The detected tracks of a person.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.Track tracks = 1; */ - com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder getTracksOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java similarity index 69% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java index 6cb5ec107..fde7554e4 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for PERSON_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig} */ -public final class PersonDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PersonDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) PersonDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PersonDetectionConfig.newBuilder() to construct. private PersonDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PersonDetectionConfig() { - } + + private PersonDetectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PersonDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PersonDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,28 +68,28 @@ private PersonDetectionConfig( case 0: done = true; break; - case 8: { - - includeBoundingBoxes_ = input.readBool(); - break; - } - case 16: { - - includePoseLandmarks_ = input.readBool(); - break; - } - case 24: { - - includeAttributes_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + includeBoundingBoxes_ = input.readBool(); + break; + } + case 16: + { + includePoseLandmarks_ = input.readBool(); + break; + } + case 24: + { + includeAttributes_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -81,35 +97,40 @@ private PersonDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); } public static final int INCLUDE_BOUNDING_BOXES_FIELD_NUMBER = 1; private boolean includeBoundingBoxes_; /** + * + * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -120,12 +141,15 @@ public boolean getIncludeBoundingBoxes() { public static final int INCLUDE_POSE_LANDMARKS_FIELD_NUMBER = 2; private boolean includePoseLandmarks_; /** + * + * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ @java.lang.Override @@ -136,6 +160,8 @@ public boolean getIncludePoseLandmarks() { public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 3; private boolean includeAttributes_; /** + * + * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -144,6 +170,7 @@ public boolean getIncludePoseLandmarks() {
    * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ @java.lang.Override @@ -152,6 +179,7 @@ public boolean getIncludeAttributes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +191,7 @@ 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 (includeBoundingBoxes_ != false) { output.writeBool(1, includeBoundingBoxes_); } @@ -184,16 +211,13 @@ public int getSerializedSize() { size = 0; if (includeBoundingBoxes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, includeBoundingBoxes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, includeBoundingBoxes_); } if (includePoseLandmarks_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includePoseLandmarks_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, includePoseLandmarks_); } if (includeAttributes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, includeAttributes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, includeAttributes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,19 +227,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.videointelligence.v1p3beta1.PersonDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) obj; - if (getIncludeBoundingBoxes() - != other.getIncludeBoundingBoxes()) return false; - if (getIncludePoseLandmarks() - != other.getIncludePoseLandmarks()) return false; - if (getIncludeAttributes() - != other.getIncludeAttributes()) return false; + if (getIncludeBoundingBoxes() != other.getIncludeBoundingBoxes()) return false; + if (getIncludePoseLandmarks() != other.getIncludePoseLandmarks()) return false; + if (getIncludeAttributes() != other.getIncludeAttributes()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,148 +250,156 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INCLUDE_BOUNDING_BOXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeBoundingBoxes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeBoundingBoxes()); hash = (37 * hash) + INCLUDE_POSE_LANDMARKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludePoseLandmarks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePoseLandmarks()); hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeAttributes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAttributes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig + 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig 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.videointelligence.v1p3beta1.PersonDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig 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; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig} */ - 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.videointelligence.v1p3beta1.PersonDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.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(); @@ -383,14 +413,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + .getDefaultInstance(); } @java.lang.Override @@ -404,7 +436,8 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig build( @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(this); result.includeBoundingBoxes_ = includeBoundingBoxes_; result.includePoseLandmarks_ = includePoseLandmarks_; result.includeAttributes_ = includeAttributes_; @@ -416,46 +449,51 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig buildP 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.videointelligence.v1p3beta1.PersonDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + .getDefaultInstance()) return this; if (other.getIncludeBoundingBoxes() != false) { setIncludeBoundingBoxes(other.getIncludeBoundingBoxes()); } @@ -484,7 +522,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -494,14 +534,17 @@ public Builder mergeFrom( return this; } - private boolean includeBoundingBoxes_ ; + private boolean includeBoundingBoxes_; /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ @java.lang.Override @@ -509,45 +552,54 @@ public boolean getIncludeBoundingBoxes() { return includeBoundingBoxes_; } /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @param value The includeBoundingBoxes to set. * @return This builder for chaining. */ public Builder setIncludeBoundingBoxes(boolean value) { - + includeBoundingBoxes_ = value; onChanged(); return this; } /** + * + * *
      * Whether bounding boxes are included in the person detection annotation
      * output.
      * 
* * bool include_bounding_boxes = 1; + * * @return This builder for chaining. */ public Builder clearIncludeBoundingBoxes() { - + includeBoundingBoxes_ = false; onChanged(); return this; } - private boolean includePoseLandmarks_ ; + private boolean includePoseLandmarks_; /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ @java.lang.Override @@ -555,39 +607,47 @@ public boolean getIncludePoseLandmarks() { return includePoseLandmarks_; } /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @param value The includePoseLandmarks to set. * @return This builder for chaining. */ public Builder setIncludePoseLandmarks(boolean value) { - + includePoseLandmarks_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable pose landmarks detection. Ignored if
      * 'include_bounding_boxes' is set to false.
      * 
* * bool include_pose_landmarks = 2; + * * @return This builder for chaining. */ public Builder clearIncludePoseLandmarks() { - + includePoseLandmarks_ = false; onChanged(); return this; } - private boolean includeAttributes_ ; + private boolean includeAttributes_; /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -596,6 +656,7 @@ public Builder clearIncludePoseLandmarks() {
      * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ @java.lang.Override @@ -603,6 +664,8 @@ public boolean getIncludeAttributes() { return includeAttributes_; } /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -611,16 +674,19 @@ public boolean getIncludeAttributes() {
      * 
* * bool include_attributes = 3; + * * @param value The includeAttributes to set. * @return This builder for chaining. */ public Builder setIncludeAttributes(boolean value) { - + includeAttributes_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable person attributes detection, such as cloth color (black,
      * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -629,17 +695,18 @@ public Builder setIncludeAttributes(boolean value) {
      * 
* * bool include_attributes = 3; + * * @return This builder for chaining. */ public Builder clearIncludeAttributes() { - + includeAttributes_ = 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); } @@ -649,30 +716,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PersonDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PersonDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PersonDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PersonDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,9 +753,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java index 0f0319279..dcf4482a2 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java @@ -1,35 +1,59 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface PersonDetectionConfigOrBuilder extends +public interface PersonDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether bounding boxes are included in the person detection annotation
    * output.
    * 
* * bool include_bounding_boxes = 1; + * * @return The includeBoundingBoxes. */ boolean getIncludeBoundingBoxes(); /** + * + * *
    * Whether to enable pose landmarks detection. Ignored if
    * 'include_bounding_boxes' is set to false.
    * 
* * bool include_pose_landmarks = 2; + * * @return The includePoseLandmarks. */ boolean getIncludePoseLandmarks(); /** + * + * *
    * Whether to enable person attributes detection, such as cloth color (black,
    * blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
@@ -38,6 +62,7 @@ public interface PersonDetectionConfigOrBuilder extends
    * 
* * bool include_attributes = 3; + * * @return The includeAttributes. */ boolean getIncludeAttributes(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java index 3fea9be82..a6b76cfcd 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig} */ -public final class ShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) ShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShotChangeDetectionConfig.newBuilder() to construct. private ShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ShotChangeDetectionConfig() { model_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ShotChangeDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ShotChangeDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); } public static final int MODEL_FIELD_NUMBER = 1; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -103,6 +125,7 @@ private ShotChangeDetectionConfig(
    * 
* * string model = 1; + * * @return The model. */ @java.lang.Override @@ -111,14 +134,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -126,16 +150,15 @@ public java.lang.String getModel() {
    * 
* * string model = 1; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ 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(model_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); } @@ -180,15 +203,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.videointelligence.v1p3beta1.ShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) obj; - if (!getModel() - .equals(other.getModel())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,134 +231,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig + 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig 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; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig} */ - 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.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(); @@ -345,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -366,7 +403,8 @@ public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(this); result.model_ = model_; onBuilt(); return result; @@ -376,46 +414,51 @@ public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig bu 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.videointelligence.v1p3beta1.ShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .getDefaultInstance()) return this; if (!other.getModel().isEmpty()) { model_ = other.model_; onChanged(); @@ -439,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +496,8 @@ public Builder mergeFrom( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -458,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string model = 1; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -473,6 +520,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -480,15 +529,14 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -496,6 +544,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -503,20 +553,22 @@ public java.lang.String getModel() {
      * 
* * string model = 1; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -524,15 +576,18 @@ public Builder setModel(
      * 
* * string model = 1; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for shot change detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -540,23 +595,23 @@ public Builder clearModel() {
      * 
* * string model = 1; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -566,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java index a2f616a73..a7adee463 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ShotChangeDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface ShotChangeDetectionConfigOrBuilder extends +public interface ShotChangeDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -15,10 +33,13 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for shot change detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -26,8 +47,8 @@ public interface ShotChangeDetectionConfigOrBuilder extends
    * 
* * string model = 1; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java similarity index 76% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java index 908d2a024..6e46b2d52 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContext.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Provides "hints" to the speech recognizer to favor specific words and phrases
  * in the results.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechContext}
  */
-public final class SpeechContext extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpeechContext extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechContext)
     SpeechContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpeechContext.newBuilder() to construct.
   private SpeechContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpeechContext() {
     phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpeechContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SpeechContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,22 +72,23 @@ private SpeechContext(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              phrases_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                phrases_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              phrases_.add(s);
+              break;
             }
-            phrases_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,8 +96,7 @@ private SpeechContext(
     } 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)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -88,22 +105,27 @@ private SpeechContext(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class,
+            com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
   }
 
   public static final int PHRASES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList phrases_;
   /**
+   *
+   *
    * 
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -114,13 +136,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_; } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -131,12 +155,15 @@ private SpeechContext(
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -147,6 +174,7 @@ public int getPhrasesCount() {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -154,6 +182,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -164,15 +194,16 @@ public java.lang.String getPhrases(int index) {
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +215,7 @@ 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 < phrases_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phrases_.getRaw(i)); } @@ -214,15 +244,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.videointelligence.v1p3beta1.SpeechContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechContext other = (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechContext other = + (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) obj; - if (!getPhrasesList() - .equals(other.getPhrasesList())) return false; + if (!getPhrasesList().equals(other.getPhrasesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,96 +274,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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; } /** + * + * *
    * Provides "hints" to the speech recognizer to favor specific words and phrases
    * in the results.
@@ -341,21 +379,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechContext}
    */
-  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.videointelligence.v1p3beta1.SpeechContext)
       com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.class,
+              com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechContext.newBuilder()
@@ -363,16 +403,15 @@ 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();
@@ -382,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor;
     }
 
     @java.lang.Override
@@ -403,7 +442,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.SpeechContext buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.SpeechContext result = new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(this);
+      com.google.cloud.videointelligence.v1p3beta1.SpeechContext result =
+          new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         phrases_ = phrases_.getUnmodifiableView();
@@ -418,38 +458,39 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext 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.videointelligence.v1p3beta1.SpeechContext) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechContext)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechContext) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -457,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechContext other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance())
+        return this;
       if (!other.phrases_.isEmpty()) {
         if (phrases_.isEmpty()) {
           phrases_ = other.phrases_;
@@ -487,7 +529,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.SpeechContext) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -496,16 +539,21 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList phrases_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList phrases_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensurePhrasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         phrases_ = new com.google.protobuf.LazyStringArrayList(phrases_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -516,13 +564,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - public com.google.protobuf.ProtocolStringList - getPhrasesList() { + public com.google.protobuf.ProtocolStringList getPhrasesList() { return phrases_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -533,12 +583,15 @@ private void ensurePhrasesIsMutable() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ public int getPhrasesCount() { return phrases_.size(); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -549,6 +602,7 @@ public int getPhrasesCount() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ @@ -556,6 +610,8 @@ public java.lang.String getPhrases(int index) { return phrases_.get(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -566,14 +622,16 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - public com.google.protobuf.ByteString - getPhrasesBytes(int index) { + public com.google.protobuf.ByteString getPhrasesBytes(int index) { return phrases_.getByteString(index); } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -584,21 +642,23 @@ public java.lang.String getPhrases(int index) {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The phrases to set. * @return This builder for chaining. */ - public Builder setPhrases( - int index, java.lang.String value) { + public Builder setPhrases(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -609,20 +669,22 @@ public Builder setPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The phrases to add. * @return This builder for chaining. */ - public Builder addPhrases( - java.lang.String value) { + public Builder addPhrases(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePhrasesIsMutable(); + throw new NullPointerException(); + } + ensurePhrasesIsMutable(); phrases_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -633,18 +695,19 @@ public Builder addPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The phrases to add. * @return This builder for chaining. */ - public Builder addAllPhrases( - java.lang.Iterable values) { + public Builder addAllPhrases(java.lang.Iterable values) { ensurePhrasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, phrases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, phrases_); onChanged(); return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -655,6 +718,7 @@ public Builder addAllPhrases(
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPhrases() { @@ -664,6 +728,8 @@ public Builder clearPhrases() { return this; } /** + * + * *
      * Optional. A list of strings containing words and phrases "hints" so that
      * the speech recognition is more likely to recognize them. This can be used
@@ -674,23 +740,23 @@ public Builder clearPhrases() {
      * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the phrases to add. * @return This builder for chaining. */ - public Builder addPhrasesBytes( - com.google.protobuf.ByteString value) { + public Builder addPhrasesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePhrasesIsMutable(); phrases_.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); } @@ -700,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechContext) private static final com.google.cloud.videointelligence.v1p3beta1.SpeechContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechContext(); } @@ -714,16 +780,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.SpeechContext getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java similarity index 78% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java index 05e3305db..6377a6ba8 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechContextOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechContextOrBuilder extends +public interface SpeechContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -18,11 +36,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the phrases. */ - java.util.List - getPhrasesList(); + java.util.List getPhrasesList(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -33,10 +53,13 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of phrases. */ int getPhrasesCount(); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -47,11 +70,14 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The phrases at the given index. */ java.lang.String getPhrases(int index); /** + * + * *
    * Optional. A list of strings containing words and phrases "hints" so that
    * the speech recognition is more likely to recognize them. This can be used
@@ -62,9 +88,9 @@ public interface SpeechContextOrBuilder extends
    * 
* * repeated string phrases = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the phrases at the given index. */ - com.google.protobuf.ByteString - getPhrasesBytes(int index); + com.google.protobuf.ByteString getPhrasesBytes(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java similarity index 67% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java index 5fc187549..35d70f7d3 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Alternative hypotheses (a.k.a. n-best list).
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative} */ -public final class SpeechRecognitionAlternative extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechRecognitionAlternative extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) SpeechRecognitionAlternativeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechRecognitionAlternative.newBuilder() to construct. private SpeechRecognitionAlternative(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechRecognitionAlternative() { transcript_ = ""; words_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private SpeechRecognitionAlternative() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechRecognitionAlternative(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechRecognitionAlternative( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,39 @@ private SpeechRecognitionAlternative( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - transcript_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + transcript_ = s; + break; } - words_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.WordInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 21: + { + confidence_ = input.readFloat(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.WordInfo>(); + mutable_bitField0_ |= 0x00000001; + } + words_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.WordInfo.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +112,7 @@ private SpeechRecognitionAlternative( } 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)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -99,27 +121,34 @@ private SpeechRecognitionAlternative( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + .class); } public static final int TRANSCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object transcript_; /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ @java.lang.Override @@ -128,29 +157,29 @@ public java.lang.String getTranscript() { 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(); transcript_ = s; return s; } } /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ @java.lang.Override - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -161,6 +190,8 @@ public java.lang.String getTranscript() { public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -171,6 +202,7 @@ public java.lang.String getTranscript() {
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -181,66 +213,86 @@ public float getConfidence() { public static final int WORDS_FIELD_NUMBER = 3; private java.util.List words_; /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getWordsList() { return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getWordsOrBuilderList() { return words_; } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getWordsCount() { return words_.size(); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) { return words_.get(index); } /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( @@ -249,6 +301,7 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +313,7 @@ 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(transcript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcript_); } @@ -284,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcript_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < words_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, words_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, words_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -299,20 +349,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.videointelligence.v1p3beta1.SpeechRecognitionAlternative)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other = (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other = + (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) obj; - if (!getTranscript() - .equals(other.getTranscript())) return false; + if (!getTranscript().equals(other.getTranscript())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getWordsList() - .equals(other.getWordsList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getWordsList().equals(other.getWordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,8 +376,7 @@ public int hashCode() { hash = (37 * hash) + TRANSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getTranscript().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getWordsCount() > 0) { hash = (37 * hash) + WORDS_FIELD_NUMBER; hash = (53 * hash) + getWordsList().hashCode(); @@ -339,135 +387,148 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative + 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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; } /** + * + * *
    * Alternative hypotheses (a.k.a. n-best list).
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative} */ - 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative) com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.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) { getWordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,19 +546,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative build() { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -505,8 +569,10 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(this); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative result = + new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(this); int from_bitField0_ = bitField0_; result.transcript_ = transcript_; result.confidence_ = confidence_; @@ -527,46 +593,52 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative 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.videointelligence.v1p3beta1.SpeechRecognitionAlternative) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative)other); + if (other + instanceof com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + .getDefaultInstance()) return this; if (!other.getTranscript().isEmpty()) { transcript_ = other.transcript_; onChanged(); @@ -592,9 +664,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechReco wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -615,11 +688,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,22 +704,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object transcript_ = ""; /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The transcript. */ public java.lang.String getTranscript() { java.lang.Object ref = transcript_; 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(); transcript_ = s; return s; @@ -652,20 +731,21 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - public com.google.protobuf.ByteString - getTranscriptBytes() { + public com.google.protobuf.ByteString getTranscriptBytes() { java.lang.Object ref = transcript_; 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); transcript_ = b; return b; } else { @@ -673,61 +753,70 @@ public java.lang.String getTranscript() { } } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The transcript to set. * @return This builder for chaining. */ - public Builder setTranscript( - java.lang.String value) { + public Builder setTranscript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcript_ = value; onChanged(); return this; } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @return This builder for chaining. */ public Builder clearTranscript() { - + transcript_ = getDefaultInstance().getTranscript(); onChanged(); return this; } /** + * + * *
      * Transcript text representing the words that the user spoke.
      * 
* * string transcript = 1; + * * @param value The bytes for transcript to set. * @return This builder for chaining. */ - public Builder setTranscriptBytes( - com.google.protobuf.ByteString value) { + public Builder setTranscriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcript_ = value; onChanged(); return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -738,6 +827,7 @@ public Builder setTranscriptBytes(
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -745,6 +835,8 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -755,16 +847,19 @@ public float getConfidence() {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -775,35 +870,45 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List words_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(words_); + words_ = + new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> wordsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.WordInfo, + com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> + wordsBuilder_; /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getWordsList() { if (wordsBuilder_ == null) { @@ -813,13 +918,17 @@ public java.util.List get } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getWordsCount() { if (wordsBuilder_ == null) { @@ -829,13 +938,17 @@ public int getWordsCount() { } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) { if (wordsBuilder_ == null) { @@ -845,13 +958,17 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index) } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { @@ -868,13 +985,17 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -888,13 +1009,17 @@ public Builder setWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords(com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { if (wordsBuilder_ == null) { @@ -910,13 +1035,17 @@ public Builder addWords(com.google.cloud.videointelligence.v1p3beta1.WordInfo va return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo value) { @@ -933,13 +1062,17 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords( com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -953,13 +1086,17 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addWords( int index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder builderForValue) { @@ -973,20 +1110,24 @@ public Builder addWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllWords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (wordsBuilder_ == null) { ensureWordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, words_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, words_); onChanged(); } else { wordsBuilder_.addAllMessages(values); @@ -994,13 +1135,17 @@ public Builder addAllWords( return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWords() { if (wordsBuilder_ == null) { @@ -1013,13 +1158,17 @@ public Builder clearWords() { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeWords(int index) { if (wordsBuilder_ == null) { @@ -1032,45 +1181,58 @@ public Builder removeWords(int index) { return this; } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder getWordsBuilder( int index) { return getWordsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( int index) { if (wordsBuilder_ == null) { - return words_.get(index); } else { + return words_.get(index); + } else { return wordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getWordsOrBuilderList() { + public java.util.List + getWordsOrBuilderList() { if (wordsBuilder_ != null) { return wordsBuilder_.getMessageOrBuilderList(); } else { @@ -1078,62 +1240,78 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOr } } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder addWordsBuilder() { - return getWordsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder addWordsBuilder( int index) { - return getWordsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); + return getWordsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()); } /** + * + * *
      * Output only. A list of word-specific information for each recognized word.
      * Note: When `enable_speaker_diarization` is set to true, you will see all
      * the words from the beginning of the audio.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getWordsBuilderList() { + public java.util.List + getWordsBuilderList() { return getWordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.WordInfo, + com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder> getWordsFieldBuilder() { if (wordsBuilder_ == null) { - wordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.WordInfo, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder>( - words_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + wordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.WordInfo, + com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder, + com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder>( + words_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; } + @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); } @@ -1143,30 +1321,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechRecognitionAlternative parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechRecognitionAlternative(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechRecognitionAlternative parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechRecognitionAlternative(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,9 +1359,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java index 89070190f..e9f89d22a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java @@ -1,33 +1,56 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechRecognitionAlternativeOrBuilder extends +public interface SpeechRecognitionAlternativeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The transcript. */ java.lang.String getTranscript(); /** + * + * *
    * Transcript text representing the words that the user spoke.
    * 
* * string transcript = 1; + * * @return The bytes for transcript. */ - com.google.protobuf.ByteString - getTranscriptBytes(); + com.google.protobuf.ByteString getTranscriptBytes(); /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -38,61 +61,80 @@ public interface SpeechRecognitionAlternativeOrBuilder extends
    * 
* * float confidence = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getWordsList(); + java.util.List getWordsList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.videointelligence.v1p3beta1.WordInfo getWords(int index); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getWordsCount(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getWordsOrBuilderList(); /** + * + * *
    * Output only. A list of word-specific information for each recognized word.
    * Note: When `enable_speaker_diarization` is set to true, you will see all
    * the words from the beginning of the audio.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.WordInfo words = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder getWordsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java similarity index 66% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java index 63c0e6269..4601bbc50 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscription.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * A speech recognition result corresponding to a portion of the audio.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscription} */ -public final class SpeechTranscription extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscription extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) SpeechTranscriptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscription.newBuilder() to construct. private SpeechTranscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscription() { alternatives_ = java.util.Collections.emptyList(); languageCode_ = ""; @@ -26,16 +44,15 @@ private SpeechTranscription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechTranscription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,36 @@ private SpeechTranscription( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1 + .SpeechRecognitionAlternative>(); + mutable_bitField0_ |= 0x00000001; + } + alternatives_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + .parser(), + extensionRegistry)); + break; } - alternatives_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + languageCode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +109,7 @@ private SpeechTranscription( } 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)) { alternatives_ = java.util.Collections.unmodifiableList(alternatives_); @@ -94,22 +118,28 @@ private SpeechTranscription( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); } public static final int ALTERNATIVES_FIELD_NUMBER = 1; - private java.util.List alternatives_; + private java.util.List + alternatives_; /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -117,13 +147,18 @@ private SpeechTranscription(
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { return alternatives_; } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -131,14 +166,20 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends
+              com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder>
       getAlternativesOrBuilderList() {
     return alternatives_;
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -146,13 +187,17 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1;
+   * 
    */
   @java.lang.Override
   public int getAlternativesCount() {
     return alternatives_.size();
   }
   /**
+   *
+   *
    * 
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -160,13 +205,18 @@ public int getAlternativesCount() {
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives( + int index) { return alternatives_.get(index); } /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -174,17 +224,21 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { return alternatives_.get(index); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object languageCode_; /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -192,6 +246,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ @java.lang.Override @@ -200,14 +255,15 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -215,16 +271,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -233,6 +288,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +300,7 @@ 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 < alternatives_.size(); i++) { output.writeMessage(1, alternatives_.get(i)); } @@ -262,8 +317,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < alternatives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, alternatives_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, alternatives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); @@ -276,17 +330,16 @@ 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.videointelligence.v1p3beta1.SpeechTranscription)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) obj; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other = + (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) obj; - if (!getAlternativesList() - .equals(other.getAlternativesList())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getAlternativesList().equals(other.getAlternativesList())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -310,117 +363,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription 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.videointelligence.v1p3beta1.SpeechTranscription prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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; } /** + * + * *
    * A speech recognition result corresponding to a portion of the audio.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscription} */ - 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.videointelligence.v1p3beta1.SpeechTranscription) com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.newBuilder() @@ -428,17 +491,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) { getAlternativesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,13 +517,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance(); } @@ -475,7 +539,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription result = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(this); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription result = + new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(this); int from_bitField0_ = bitField0_; if (alternativesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -495,46 +560,50 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription 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) { + 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.videointelligence.v1p3beta1.SpeechTranscription) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()) + return this; if (alternativesBuilder_ == null) { if (!other.alternatives_.isEmpty()) { if (alternatives_.isEmpty()) { @@ -553,9 +622,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTran alternativesBuilder_ = null; alternatives_ = other.alternatives_; bitField0_ = (bitField0_ & ~0x00000001); - alternativesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAlternativesFieldBuilder() : null; + alternativesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAlternativesFieldBuilder() + : null; } else { alternativesBuilder_.addAllMessages(other.alternatives_); } @@ -584,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,21 +665,32 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List alternatives_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative> + alternatives_ = java.util.Collections.emptyList(); + private void ensureAlternativesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alternatives_ = new java.util.ArrayList(alternatives_); + alternatives_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative>( + alternatives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> alternativesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + alternativesBuilder_; /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -615,9 +698,12 @@ private void ensureAlternativesIsMutable() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List getAlternativesList() { + public java.util.List + getAlternativesList() { if (alternativesBuilder_ == null) { return java.util.Collections.unmodifiableList(alternatives_); } else { @@ -625,6 +711,8 @@ public java.util.List * May contain one or more recognition hypotheses (up to the maximum specified * in `max_alternatives`). These alternatives are ordered in terms of @@ -632,7 +720,9 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public int getAlternativesCount() { if (alternativesBuilder_ == null) { @@ -642,6 +732,8 @@ public int getAlternativesCount() { } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -649,9 +741,12 @@ public int getAlternativesCount() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + getAlternatives(int index) { if (alternativesBuilder_ == null) { return alternatives_.get(index); } else { @@ -659,6 +754,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -666,10 +763,13 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -683,6 +783,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -690,10 +792,14 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder setAlternatives( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.set(index, builderForValue.build()); @@ -704,6 +810,8 @@ public Builder setAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -711,9 +819,12 @@ public Builder setAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public Builder addAlternatives(com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + public Builder addAlternatives( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -727,6 +838,8 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1p3beta1.Spee return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -734,10 +847,13 @@ public Builder addAlternatives(com.google.cloud.videointelligence.v1p3beta1.Spee
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative value) { if (alternativesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,6 +867,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -758,10 +876,13 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(builderForValue.build()); @@ -772,6 +893,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -779,10 +902,14 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAlternatives( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + builderForValue) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); alternatives_.add(index, builderForValue.build()); @@ -793,6 +920,8 @@ public Builder addAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -800,14 +929,17 @@ public Builder addAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder addAllAlternatives( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative> + values) { if (alternativesBuilder_ == null) { ensureAlternativesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, alternatives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternatives_); onChanged(); } else { alternativesBuilder_.addAllMessages(values); @@ -815,6 +947,8 @@ public Builder addAllAlternatives( return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -822,7 +956,9 @@ public Builder addAllAlternatives(
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder clearAlternatives() { if (alternativesBuilder_ == null) { @@ -835,6 +971,8 @@ public Builder clearAlternatives() { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -842,7 +980,9 @@ public Builder clearAlternatives() {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ public Builder removeAlternatives(int index) { if (alternativesBuilder_ == null) { @@ -855,6 +995,8 @@ public Builder removeAlternatives(int index) { return this; } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -862,13 +1004,17 @@ public Builder removeAlternatives(int index) {
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder getAlternativesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + getAlternativesBuilder(int index) { return getAlternativesFieldBuilder().getBuilder(index); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -876,16 +1022,21 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index) { if (alternativesBuilder_ == null) { - return alternatives_.get(index); } else { + return alternatives_.get(index); + } else { return alternativesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -893,10 +1044,14 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + getAlternativesOrBuilderList() { if (alternativesBuilder_ != null) { return alternativesBuilder_.getMessageOrBuilderList(); } else { @@ -904,6 +1059,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative } } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -911,13 +1068,20 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder() { - return getAlternativesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder() { + return getAlternativesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -925,14 +1089,21 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder addAlternativesBuilder( - int index) { - return getAlternativesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder + addAlternativesBuilder(int index) { + return getAlternativesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative + .getDefaultInstance()); } /** + * + * *
      * May contain one or more recognition hypotheses (up to the maximum specified
      * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -940,22 +1111,28 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * ranked by the recognizer.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - public java.util.List - getAlternativesBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder> + getAlternativesBuilderList() { return getAlternativesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesFieldBuilder() { if (alternativesBuilder_ == null) { - alternativesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder>( - alternatives_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + alternativesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder>( + alternatives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); alternatives_ = null; } return alternativesBuilder_; @@ -963,6 +1140,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative private java.lang.Object languageCode_ = ""; /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -970,13 +1149,13 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -985,6 +1164,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -992,15 +1173,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -1008,6 +1188,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1015,20 +1197,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1036,15 +1220,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
      * language tag of the language in this result. This language code was
@@ -1052,23 +1239,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1078,30 +1265,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1113,9 +1302,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java similarity index 72% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java index 7e22648f3..dad85f7cb 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for SPEECH_TRANSCRIPTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig} */ -public final class SpeechTranscriptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpeechTranscriptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) SpeechTranscriptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpeechTranscriptionConfig.newBuilder() to construct. private SpeechTranscriptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpeechTranscriptionConfig() { languageCode_ = ""; speechContexts_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private SpeechTranscriptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpeechTranscriptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SpeechTranscriptionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,79 +73,87 @@ private SpeechTranscriptionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; - } - case 16: { - - maxAlternatives_ = input.readInt32(); - break; - } - case 24: { - - filterProfanity_ = input.readBool(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + languageCode_ = s; + break; } - speechContexts_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechContext.parser(), extensionRegistry)); - break; - } - case 40: { - - enableAutomaticPunctuation_ = input.readBool(); - break; - } - case 48: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + maxAlternatives_ = input.readInt32(); + break; } - audioTracks_.addInt(input.readInt32()); - break; - } - case 50: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { - audioTracks_ = newIntList(); - mutable_bitField0_ |= 0x00000002; + case 24: + { + filterProfanity_ = input.readBool(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + speechContexts_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.SpeechContext>(); + mutable_bitField0_ |= 0x00000001; + } + speechContexts_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.parser(), + extensionRegistry)); + break; } - while (input.getBytesUntilLimit() > 0) { + case 40: + { + enableAutomaticPunctuation_ = input.readBool(); + break; + } + case 48: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } audioTracks_.addInt(input.readInt32()); + break; } - input.popLimit(limit); - break; - } - case 56: { - - enableSpeakerDiarization_ = input.readBool(); - break; - } - case 64: { - - diarizationSpeakerCount_ = input.readInt32(); - break; - } - case 72: { - - enableWordConfidence_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { + audioTracks_ = newIntList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + audioTracks_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 56: + { + enableSpeakerDiarization_ = input.readBool(); + break; + } + case 64: + { + diarizationSpeakerCount_ = input.readInt32(); + break; + } + case 72: + { + enableWordConfidence_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,8 +161,7 @@ private SpeechTranscriptionConfig( } 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)) { speechContexts_ = java.util.Collections.unmodifiableList(speechContexts_); @@ -149,22 +173,27 @@ private SpeechTranscriptionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); } public static final int LANGUAGE_CODE_FIELD_NUMBER = 1; private volatile java.lang.Object languageCode_; /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -174,6 +203,7 @@ private SpeechTranscriptionConfig(
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ @java.lang.Override @@ -182,14 +212,15 @@ public java.lang.String getLanguageCode() { 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(); languageCode_ = s; return s; } } /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -199,16 +230,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -219,6 +249,8 @@ public java.lang.String getLanguageCode() { public static final int MAX_ALTERNATIVES_FIELD_NUMBER = 2; private int maxAlternatives_; /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -228,6 +260,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -238,6 +271,8 @@ public int getMaxAlternatives() { public static final int FILTER_PROFANITY_FIELD_NUMBER = 3; private boolean filterProfanity_; /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -246,6 +281,7 @@ public int getMaxAlternatives() {
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -254,68 +290,93 @@ public boolean getFilterProfanity() { } public static final int SPEECH_CONTEXTS_FIELD_NUMBER = 4; - private java.util.List speechContexts_; + private java.util.List + speechContexts_; /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> getSpeechContextsOrBuilderList() { return speechContexts_; } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getSpeechContextsCount() { return speechContexts_.size(); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index) { return speechContexts_.get(index); } /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder + getSpeechContextsOrBuilder(int index) { return speechContexts_.get(index); } public static final int ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER = 5; private boolean enableAutomaticPunctuation_; /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -326,6 +387,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSp
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -336,49 +398,60 @@ public boolean getEnableAutomaticPunctuation() { public static final int AUDIO_TRACKS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList audioTracks_; /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ @java.lang.Override - public java.util.List - getAudioTracksList() { + public java.util.List getAudioTracksList() { return audioTracks_; } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } + private int audioTracksMemoizedSerializedSize = -1; public static final int ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER = 7; private boolean enableSpeakerDiarization_; /** + * + * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -390,6 +463,7 @@ public int getAudioTracks(int index) {
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -400,6 +474,8 @@ public boolean getEnableSpeakerDiarization() { public static final int DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER = 8; private int diarizationSpeakerCount_; /** + * + * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -407,6 +483,7 @@ public boolean getEnableSpeakerDiarization() {
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -417,6 +494,8 @@ public int getDiarizationSpeakerCount() { public static final int ENABLE_WORD_CONFIDENCE_FIELD_NUMBER = 9; private boolean enableWordConfidence_; /** + * + * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -424,6 +503,7 @@ public int getDiarizationSpeakerCount() {
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ @java.lang.Override @@ -432,6 +512,7 @@ public boolean getEnableWordConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,8 +524,7 @@ 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); @@ -490,46 +570,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_); } if (maxAlternatives_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxAlternatives_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_); } if (filterProfanity_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterProfanity_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_); } for (int i = 0; i < speechContexts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, speechContexts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i)); } if (enableAutomaticPunctuation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableAutomaticPunctuation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_); } { int dataSize = 0; for (int i = 0; i < audioTracks_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(audioTracks_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i)); } size += dataSize; if (!getAudioTracksList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } audioTracksMemoizedSerializedSize = dataSize; } if (enableSpeakerDiarization_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, enableSpeakerDiarization_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSpeakerDiarization_); } if (diarizationSpeakerCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, diarizationSpeakerCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diarizationSpeakerCount_); } if (enableWordConfidence_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, enableWordConfidence_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enableWordConfidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,31 +611,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.videointelligence.v1p3beta1.SpeechTranscriptionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) obj; - - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (getMaxAlternatives() - != other.getMaxAlternatives()) return false; - if (getFilterProfanity() - != other.getFilterProfanity()) return false; - if (!getSpeechContextsList() - .equals(other.getSpeechContextsList())) return false; - if (getEnableAutomaticPunctuation() - != other.getEnableAutomaticPunctuation()) return false; - if (!getAudioTracksList() - .equals(other.getAudioTracksList())) return false; - if (getEnableSpeakerDiarization() - != other.getEnableSpeakerDiarization()) return false; - if (getDiarizationSpeakerCount() - != other.getDiarizationSpeakerCount()) return false; - if (getEnableWordConfidence() - != other.getEnableWordConfidence()) return false; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) obj; + + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (getMaxAlternatives() != other.getMaxAlternatives()) return false; + if (getFilterProfanity() != other.getFilterProfanity()) return false; + if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false; + if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false; + if (!getAudioTracksList().equals(other.getAudioTracksList())) return false; + if (getEnableSpeakerDiarization() != other.getEnableSpeakerDiarization()) return false; + if (getDiarizationSpeakerCount() != other.getDiarizationSpeakerCount()) return false; + if (getEnableWordConfidence() != other.getEnableWordConfidence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -580,162 +644,170 @@ public int hashCode() { hash = (37 * hash) + MAX_ALTERNATIVES_FIELD_NUMBER; hash = (53 * hash) + getMaxAlternatives(); hash = (37 * hash) + FILTER_PROFANITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterProfanity()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterProfanity()); if (getSpeechContextsCount() > 0) { hash = (37 * hash) + SPEECH_CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getSpeechContextsList().hashCode(); } hash = (37 * hash) + ENABLE_AUTOMATIC_PUNCTUATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableAutomaticPunctuation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableAutomaticPunctuation()); if (getAudioTracksCount() > 0) { hash = (37 * hash) + AUDIO_TRACKS_FIELD_NUMBER; hash = (53 * hash) + getAudioTracksList().hashCode(); } hash = (37 * hash) + ENABLE_SPEAKER_DIARIZATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSpeakerDiarization()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSpeakerDiarization()); hash = (37 * hash) + DIARIZATION_SPEAKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDiarizationSpeakerCount(); hash = (37 * hash) + ENABLE_WORD_CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableWordConfidence()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableWordConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig + 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig 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; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig} */ - 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig) com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.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) { getSpeechContextsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -765,19 +837,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -786,7 +861,8 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig bu @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(this); int from_bitField0_ = bitField0_; result.languageCode_ = languageCode_; result.maxAlternatives_ = maxAlternatives_; @@ -817,46 +893,51 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig bu 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.videointelligence.v1p3beta1.SpeechTranscriptionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .getDefaultInstance()) return this; if (!other.getLanguageCode().isEmpty()) { languageCode_ = other.languageCode_; onChanged(); @@ -885,9 +966,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.SpeechTran speechContextsBuilder_ = null; speechContexts_ = other.speechContexts_; bitField0_ = (bitField0_ & ~0x00000001); - speechContextsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechContextsFieldBuilder() : null; + speechContextsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechContextsFieldBuilder() + : null; } else { speechContextsBuilder_.addAllMessages(other.speechContexts_); } @@ -934,7 +1016,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -943,10 +1027,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object languageCode_ = ""; /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -956,13 +1043,13 @@ public Builder mergeFrom(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; 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(); languageCode_ = s; return s; @@ -971,6 +1058,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -980,15 +1069,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; 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); languageCode_ = b; return b; } else { @@ -996,6 +1084,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1005,20 +1095,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1028,15 +1120,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Required. *Required* The language of the supplied audio as a
      * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -1046,23 +1141,25 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; } - private int maxAlternatives_ ; + private int maxAlternatives_; /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1072,6 +1169,7 @@ public Builder setLanguageCodeBytes(
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ @java.lang.Override @@ -1079,6 +1177,8 @@ public int getMaxAlternatives() { return maxAlternatives_; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1088,16 +1188,19 @@ public int getMaxAlternatives() {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxAlternatives to set. * @return This builder for chaining. */ public Builder setMaxAlternatives(int value) { - + maxAlternatives_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of recognition hypotheses to be returned.
      * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -1107,17 +1210,20 @@ public Builder setMaxAlternatives(int value) {
      * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxAlternatives() { - + maxAlternatives_ = 0; onChanged(); return this; } - private boolean filterProfanity_ ; + private boolean filterProfanity_; /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1126,6 +1232,7 @@ public Builder clearMaxAlternatives() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ @java.lang.Override @@ -1133,6 +1240,8 @@ public boolean getFilterProfanity() { return filterProfanity_; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1141,16 +1250,19 @@ public boolean getFilterProfanity() {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filterProfanity to set. * @return This builder for chaining. */ public Builder setFilterProfanity(boolean value) { - + filterProfanity_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to `true`, the server will attempt to filter out
      * profanities, replacing all but the initial character in each filtered word
@@ -1159,35 +1271,47 @@ public Builder setFilterProfanity(boolean value) {
      * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilterProfanity() { - + filterProfanity_ = false; onChanged(); return this; } - private java.util.List speechContexts_ = - java.util.Collections.emptyList(); + private java.util.List + speechContexts_ = java.util.Collections.emptyList(); + private void ensureSpeechContextsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - speechContexts_ = new java.util.ArrayList(speechContexts_); + speechContexts_ = + new java.util.ArrayList( + speechContexts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> speechContextsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> + speechContextsBuilder_; /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getSpeechContextsList() { + public java.util.List + getSpeechContextsList() { if (speechContextsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechContexts_); } else { @@ -1195,11 +1319,15 @@ public java.util.List * Optional. A means to provide context to assist the speech recognition. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getSpeechContextsCount() { if (speechContextsBuilder_ == null) { @@ -1209,11 +1337,15 @@ public int getSpeechContextsCount() { } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1223,11 +1355,15 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechConte } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { @@ -1244,14 +1380,19 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpeechContexts( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.set(index, builderForValue.build()); @@ -1262,13 +1403,18 @@ public Builder setSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { + public Builder addSpeechContexts( + com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { if (speechContextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1282,11 +1428,15 @@ public Builder addSpeechContexts(com.google.cloud.videointelligence.v1p3beta1.Sp return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext value) { @@ -1303,11 +1453,15 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { @@ -1321,14 +1475,19 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addSpeechContexts( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder builderForValue) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); speechContexts_.add(index, builderForValue.build()); @@ -1339,18 +1498,22 @@ public Builder addSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllSpeechContexts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (speechContextsBuilder_ == null) { ensureSpeechContextsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechContexts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechContexts_); onChanged(); } else { speechContextsBuilder_.addAllMessages(values); @@ -1358,11 +1521,15 @@ public Builder addAllSpeechContexts( return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSpeechContexts() { if (speechContextsBuilder_ == null) { @@ -1375,11 +1542,15 @@ public Builder clearSpeechContexts() { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeSpeechContexts(int index) { if (speechContextsBuilder_ == null) { @@ -1392,39 +1563,53 @@ public Builder removeSpeechContexts(int index) { return this; } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder getSpeechContextsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder + getSpeechContextsBuilder(int index) { return getSpeechContextsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder + getSpeechContextsOrBuilder(int index) { if (speechContextsBuilder_ == null) { - return speechContexts_.get(index); } else { + return speechContexts_.get(index); + } else { return speechContextsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> + getSpeechContextsOrBuilderList() { if (speechContextsBuilder_ != null) { return speechContextsBuilder_.getMessageOrBuilderList(); } else { @@ -1432,45 +1617,67 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSp } } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpeechContextsBuilder() { - return getSpeechContextsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder + addSpeechContextsBuilder() { + return getSpeechContextsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpeechContextsBuilder( - int index) { - return getSpeechContextsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder + addSpeechContextsBuilder(int index) { + return getSpeechContextsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.getDefaultInstance()); } /** + * + * *
      * Optional. A means to provide context to assist the speech recognition.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getSpeechContextsBuilderList() { + public java.util.List + getSpeechContextsBuilderList() { return getSpeechContextsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder> getSpeechContextsFieldBuilder() { if (speechContextsBuilder_ == null) { - speechContextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechContext, com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder>( + speechContextsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechContext, + com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder>( speechContexts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1480,8 +1687,10 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpe return speechContextsBuilder_; } - private boolean enableAutomaticPunctuation_ ; + private boolean enableAutomaticPunctuation_; /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1492,6 +1701,7 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechContext.Builder addSpe
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ @java.lang.Override @@ -1499,6 +1709,8 @@ public boolean getEnableAutomaticPunctuation() { return enableAutomaticPunctuation_; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1509,16 +1721,19 @@ public boolean getEnableAutomaticPunctuation() {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableAutomaticPunctuation to set. * @return This builder for chaining. */ public Builder setEnableAutomaticPunctuation(boolean value) { - + enableAutomaticPunctuation_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If 'true', adds punctuation to recognition result hypotheses.
      * This feature is only available in select languages. Setting this for
@@ -1529,55 +1744,66 @@ public Builder setEnableAutomaticPunctuation(boolean value) {
      * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableAutomaticPunctuation() { - + enableAutomaticPunctuation_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList audioTracks_ = emptyIntList(); + private void ensureAudioTracksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { audioTracks_ = mutableCopy(audioTracks_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ - public java.util.List - getAudioTracksList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(audioTracks_) : audioTracks_; + public java.util.List getAudioTracksList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(audioTracks_) + : audioTracks_; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ public int getAudioTracksCount() { return audioTracks_.size(); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ @@ -1585,30 +1811,35 @@ public int getAudioTracks(int index) { return audioTracks_.getInt(index); } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The audioTracks to set. * @return This builder for chaining. */ - public Builder setAudioTracks( - int index, int value) { + public Builder setAudioTracks(int index, int value) { ensureAudioTracksIsMutable(); audioTracks_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audioTracks to add. * @return This builder for chaining. */ @@ -1619,30 +1850,34 @@ public Builder addAudioTracks(int value) { return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The audioTracks to add. * @return This builder for chaining. */ - public Builder addAllAudioTracks( - java.lang.Iterable values) { + public Builder addAllAudioTracks(java.lang.Iterable values) { ensureAudioTracksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, audioTracks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audioTracks_); onChanged(); return this; } /** + * + * *
      * Optional. For file formats, such as MXF or MKV, supporting multiple audio
      * tracks, specify up to two tracks. Default: track 0.
      * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudioTracks() { @@ -1652,8 +1887,10 @@ public Builder clearAudioTracks() { return this; } - private boolean enableSpeakerDiarization_ ; + private boolean enableSpeakerDiarization_; /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1665,6 +1902,7 @@ public Builder clearAudioTracks() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ @java.lang.Override @@ -1672,6 +1910,8 @@ public boolean getEnableSpeakerDiarization() { return enableSpeakerDiarization_; } /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1683,16 +1923,19 @@ public boolean getEnableSpeakerDiarization() {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableSpeakerDiarization to set. * @return This builder for chaining. */ public Builder setEnableSpeakerDiarization(boolean value) { - + enableSpeakerDiarization_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If 'true', enables speaker detection for each recognized word in
      * the top alternative of the recognition result using a speaker_tag provided
@@ -1704,17 +1947,20 @@ public Builder setEnableSpeakerDiarization(boolean value) {
      * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableSpeakerDiarization() { - + enableSpeakerDiarization_ = false; onChanged(); return this; } - private int diarizationSpeakerCount_ ; + private int diarizationSpeakerCount_; /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1722,6 +1968,7 @@ public Builder clearEnableSpeakerDiarization() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ @java.lang.Override @@ -1729,6 +1976,8 @@ public int getDiarizationSpeakerCount() { return diarizationSpeakerCount_; } /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1736,16 +1985,19 @@ public int getDiarizationSpeakerCount() {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The diarizationSpeakerCount to set. * @return This builder for chaining. */ public Builder setDiarizationSpeakerCount(int value) { - + diarizationSpeakerCount_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set, specifies the estimated number of speakers in the
      * conversation. If not set, defaults to '2'. Ignored unless
@@ -1753,17 +2005,20 @@ public Builder setDiarizationSpeakerCount(int value) {
      * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDiarizationSpeakerCount() { - + diarizationSpeakerCount_ = 0; onChanged(); return this; } - private boolean enableWordConfidence_ ; + private boolean enableWordConfidence_; /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1771,6 +2026,7 @@ public Builder clearDiarizationSpeakerCount() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ @java.lang.Override @@ -1778,6 +2034,8 @@ public boolean getEnableWordConfidence() { return enableWordConfidence_; } /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1785,16 +2043,19 @@ public boolean getEnableWordConfidence() {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enableWordConfidence to set. * @return This builder for chaining. */ public Builder setEnableWordConfidence(boolean value) { - + enableWordConfidence_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If `true`, the top result includes a list of words and the
      * confidence for those words. If `false`, no word-level confidence
@@ -1802,17 +2063,18 @@ public Builder setEnableWordConfidence(boolean value) {
      * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnableWordConfidence() { - + enableWordConfidence_ = 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); } @@ -1822,30 +2084,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeechTranscriptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpeechTranscriptionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpeechTranscriptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpeechTranscriptionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1857,9 +2121,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java similarity index 78% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java index 9dcc97fe6..23bf8e4d3 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechTranscriptionConfigOrBuilder extends +public interface SpeechTranscriptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -17,10 +35,13 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Required. *Required* The language of the supplied audio as a
    * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -30,12 +51,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * string language_code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Optional. Maximum number of recognition hypotheses to be returned.
    * Specifically, the maximum number of `SpeechRecognitionAlternative` messages
@@ -45,11 +68,14 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * int32 max_alternatives = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxAlternatives. */ int getMaxAlternatives(); /** + * + * *
    * Optional. If set to `true`, the server will attempt to filter out
    * profanities, replacing all but the initial character in each filtered word
@@ -58,55 +84,78 @@ public interface SpeechTranscriptionConfigOrBuilder extends
    * 
* * bool filter_profanity = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filterProfanity. */ boolean getFilterProfanity(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSpeechContextsList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.SpeechContext getSpeechContexts(int index); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getSpeechContextsCount(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getSpeechContextsOrBuilderList(); /** + * + * *
    * Optional. A means to provide context to assist the speech recognition.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechContext speech_contexts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechContextsOrBuilder( int index); /** + * + * *
    * Optional. If 'true', adds punctuation to recognition result hypotheses.
    * This feature is only available in select languages. Setting this for
@@ -117,43 +166,55 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_automatic_punctuation = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableAutomaticPunctuation. */ boolean getEnableAutomaticPunctuation(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the audioTracks. */ java.util.List getAudioTracksList(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of audioTracks. */ int getAudioTracksCount(); /** + * + * *
    * Optional. For file formats, such as MXF or MKV, supporting multiple audio
    * tracks, specify up to two tracks. Default: track 0.
    * 
* * repeated int32 audio_tracks = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The audioTracks at the given index. */ int getAudioTracks(int index); /** + * + * *
    * Optional. If 'true', enables speaker detection for each recognized word in
    * the top alternative of the recognition result using a speaker_tag provided
@@ -165,11 +226,14 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_speaker_diarization = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableSpeakerDiarization. */ boolean getEnableSpeakerDiarization(); /** + * + * *
    * Optional. If set, specifies the estimated number of speakers in the
    * conversation. If not set, defaults to '2'. Ignored unless
@@ -177,11 +241,14 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * int32 diarization_speaker_count = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The diarizationSpeakerCount. */ int getDiarizationSpeakerCount(); /** + * + * *
    * Optional. If `true`, the top result includes a list of words and the
    * confidence for those words. If `false`, no word-level confidence
@@ -189,6 +256,7 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechContextOrBuilder getSpeechCon
    * 
* * bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enableWordConfidence. */ boolean getEnableWordConfidence(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java similarity index 63% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java index 0c3dfdf78..203f66b0a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface SpeechTranscriptionOrBuilder extends +public interface SpeechTranscriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.SpeechTranscription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -15,11 +33,15 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List getAlternativesList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -27,10 +49,15 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives(int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative getAlternatives( + int index); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -38,10 +65,14 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ int getAlternativesCount(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -49,11 +80,17 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList(); /** + * + * *
    * May contain one or more recognition hypotheses (up to the maximum specified
    * in `max_alternatives`).  These alternatives are ordered in terms of
@@ -61,12 +98,16 @@ public interface SpeechTranscriptionOrBuilder extends
    * ranked by the recognizer.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative alternatives = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuilder + getAlternativesOrBuilder(int index); /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -74,10 +115,13 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuild
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
    * language tag of the language in this result. This language code was
@@ -85,8 +129,8 @@ com.google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternativeOrBuild
    * 
* * string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java index 5f575506f..fdff05874 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * The top-level message sent by the client for the `StreamingAnnotateVideo`
  * method. Multiple `StreamingAnnotateVideoRequest` messages are sent.
@@ -13,30 +30,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest}
  */
-public final class StreamingAnnotateVideoRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamingAnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
     StreamingAnnotateVideoRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamingAnnotateVideoRequest.newBuilder() to construct.
   private StreamingAnnotateVideoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StreamingAnnotateVideoRequest() {
-  }
+
+  private StreamingAnnotateVideoRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamingAnnotateVideoRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StreamingAnnotateVideoRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +71,42 @@ private StreamingAnnotateVideoRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder subBuilder = null;
-            if (streamingRequestCase_ == 1) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_).toBuilder();
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder subBuilder =
+                  null;
+              if (streamingRequestCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+                            streamingRequest_)
+                        .toBuilder();
+              }
+              streamingRequest_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+                        streamingRequest_);
+                streamingRequest_ = subBuilder.buildPartial();
+              }
+              streamingRequestCase_ = 1;
+              break;
             }
-            streamingRequest_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_);
-              streamingRequest_ = subBuilder.buildPartial();
+          case 18:
+            {
+              streamingRequest_ = input.readBytes();
+              streamingRequestCase_ = 2;
+              break;
             }
-            streamingRequestCase_ = 1;
-            break;
-          }
-          case 18: {
-            streamingRequest_ = input.readBytes();
-            streamingRequestCase_ = 2;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,35 +114,41 @@ private StreamingAnnotateVideoRequest(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder
+                .class);
   }
 
   private int streamingRequestCase_ = 0;
   private java.lang.Object streamingRequest_;
+
   public enum StreamingRequestCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     VIDEO_CONFIG(1),
     INPUT_CONTENT(2),
     STREAMINGREQUEST_NOT_SET(0);
     private final int value;
+
     private StreamingRequestCase(int value) {
       this.value = value;
     }
@@ -132,25 +164,30 @@ public static StreamingRequestCase valueOf(int value) {
 
     public static StreamingRequestCase forNumber(int value) {
       switch (value) {
-        case 1: return VIDEO_CONFIG;
-        case 2: return INPUT_CONTENT;
-        case 0: return STREAMINGREQUEST_NOT_SET;
-        default: return null;
+        case 1:
+          return VIDEO_CONFIG;
+        case 2:
+          return INPUT_CONTENT;
+        case 0:
+          return STREAMINGREQUEST_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamingRequestCase
-  getStreamingRequestCase() {
-    return StreamingRequestCase.forNumber(
-        streamingRequestCase_);
+  public StreamingRequestCase getStreamingRequestCase() {
+    return StreamingRequestCase.forNumber(streamingRequestCase_);
   }
 
   public static final int VIDEO_CONFIG_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -158,6 +195,7 @@ public int getNumber() {
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return Whether the videoConfig field is set. */ @java.lang.Override @@ -165,6 +203,8 @@ public boolean hasVideoConfig() { return streamingRequestCase_ == 1; } /** + * + * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -172,16 +212,19 @@ public boolean hasVideoConfig() {
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return The videoConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig() { if (streamingRequestCase_ == 1) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; } return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); } /** + * + * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -191,15 +234,18 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
    * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
    */
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder() {
+  public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
+      getVideoConfigOrBuilder() {
     if (streamingRequestCase_ == 1) {
-       return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
+      return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
     }
     return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
   }
 
   public static final int INPUT_CONTENT_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -211,6 +257,7 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilde
    * 
* * bytes input_content = 2; + * * @return Whether the inputContent field is set. */ @java.lang.Override @@ -218,6 +265,8 @@ public boolean hasInputContent() { return streamingRequestCase_ == 2; } /** + * + * *
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -229,6 +278,7 @@ public boolean hasInputContent() {
    * 
* * bytes input_content = 2; + * * @return The inputContent. */ @java.lang.Override @@ -240,6 +290,7 @@ public com.google.protobuf.ByteString getInputContent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,14 +302,13 @@ 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 (streamingRequestCase_ == 1) { - output.writeMessage(1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); + output.writeMessage( + 1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); } if (streamingRequestCase_ == 2) { - output.writeBytes( - 2, (com.google.protobuf.ByteString) streamingRequest_); + output.writeBytes(2, (com.google.protobuf.ByteString) streamingRequest_); } unknownFields.writeTo(output); } @@ -270,13 +320,16 @@ public int getSerializedSize() { size = 0; if (streamingRequestCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) + streamingRequest_); } if (streamingRequestCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 2, (com.google.protobuf.ByteString) streamingRequest_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 2, (com.google.protobuf.ByteString) streamingRequest_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,22 +339,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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) obj; if (!getStreamingRequestCase().equals(other.getStreamingRequestCase())) return false; switch (streamingRequestCase_) { case 1: - if (!getVideoConfig() - .equals(other.getVideoConfig())) return false; + if (!getVideoConfig().equals(other.getVideoConfig())) return false; break; case 2: - if (!getInputContent() - .equals(other.getInputContent())) return false; + if (!getInputContent().equals(other.getInputContent())) return false; break; case 0: default: @@ -334,97 +387,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest 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; } /** + * + * *
    * The top-level message sent by the client for the `StreamingAnnotateVideo`
    * method. Multiple `StreamingAnnotateVideoRequest` messages are sent.
@@ -434,38 +501,41 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest}
    */
-  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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
       com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.class,
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.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();
@@ -475,19 +545,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result = buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -495,8 +568,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoReques
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
+        buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest result =
+          new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(this);
       if (streamingRequestCase_ == 1) {
         if (videoConfigBuilder_ == null) {
           result.streamingRequest_ = streamingRequest_;
@@ -516,58 +591,67 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoReques
     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.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)other);
+      if (other
+          instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) {
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
+              .getDefaultInstance()) return this;
       switch (other.getStreamingRequestCase()) {
-        case VIDEO_CONFIG: {
-          mergeVideoConfig(other.getVideoConfig());
-          break;
-        }
-        case INPUT_CONTENT: {
-          setInputContent(other.getInputContent());
-          break;
-        }
-        case STREAMINGREQUEST_NOT_SET: {
-          break;
-        }
+        case VIDEO_CONFIG:
+          {
+            mergeVideoConfig(other.getVideoConfig());
+            break;
+          }
+        case INPUT_CONTENT:
+          {
+            setInputContent(other.getInputContent());
+            break;
+          }
+        case STREAMINGREQUEST_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -584,11 +668,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parsedMessage = null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,12 +684,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int streamingRequestCase_ = 0;
     private java.lang.Object streamingRequest_;
-    public StreamingRequestCase
-        getStreamingRequestCase() {
-      return StreamingRequestCase.forNumber(
-          streamingRequestCase_);
+
+    public StreamingRequestCase getStreamingRequestCase() {
+      return StreamingRequestCase.forNumber(streamingRequestCase_);
     }
 
     public Builder clearStreamingRequest() {
@@ -612,10 +699,14 @@ public Builder clearStreamingRequest() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder> videoConfigBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>
+        videoConfigBuilder_;
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -623,6 +714,7 @@ public Builder clearStreamingRequest() {
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return Whether the videoConfig field is set. */ @java.lang.Override @@ -630,6 +722,8 @@ public boolean hasVideoConfig() { return streamingRequestCase_ == 1; } /** + * + * *
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -637,23 +731,29 @@ public boolean hasVideoConfig() {
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return The videoConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig() { if (videoConfigBuilder_ == null) { if (streamingRequestCase_ == 1) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) + streamingRequest_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + .getDefaultInstance(); } else { if (streamingRequestCase_ == 1) { return videoConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + .getDefaultInstance(); } } /** + * + * *
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -662,7 +762,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public Builder setVideoConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
+    public Builder setVideoConfig(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
       if (videoConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -676,6 +777,8 @@ public Builder setVideoConfig(com.google.cloud.videointelligence.v1p3beta1.Strea
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -696,6 +799,8 @@ public Builder setVideoConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -704,12 +809,19 @@ public Builder setVideoConfig(
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public Builder mergeVideoConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
+    public Builder mergeVideoConfig(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig value) {
       if (videoConfigBuilder_ == null) {
-        if (streamingRequestCase_ == 1 &&
-            streamingRequest_ != com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance()) {
-          streamingRequest_ = com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_)
-              .mergeFrom(value).buildPartial();
+        if (streamingRequestCase_ == 1
+            && streamingRequest_
+                != com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
+                    .getDefaultInstance()) {
+          streamingRequest_ =
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder(
+                      (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+                          streamingRequest_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           streamingRequest_ = value;
         }
@@ -725,6 +837,8 @@ public Builder mergeVideoConfig(com.google.cloud.videointelligence.v1p3beta1.Str
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -750,6 +864,8 @@ public Builder clearVideoConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -758,10 +874,13 @@ public Builder clearVideoConfig() {
      *
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder getVideoConfigBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder
+        getVideoConfigBuilder() {
       return getVideoConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -771,17 +890,22 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
+        getVideoConfigOrBuilder() {
       if ((streamingRequestCase_ == 1) && (videoConfigBuilder_ != null)) {
         return videoConfigBuilder_.getMessageOrBuilder();
       } else {
         if (streamingRequestCase_ == 1) {
-          return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_;
+          return (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+              streamingRequest_;
         }
-        return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
+        return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
+            .getDefaultInstance();
       }
     }
     /**
+     *
+     *
      * 
      * Provides information to the annotator, specifing how to process the
      * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -791,25 +915,36 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilde
      * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>
         getVideoConfigFieldBuilder() {
       if (videoConfigBuilder_ == null) {
         if (!(streamingRequestCase_ == 1)) {
-          streamingRequest_ = com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
+          streamingRequest_ =
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
+                  .getDefaultInstance();
         }
-        videoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>(
-                (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) streamingRequest_,
+        videoConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig,
+                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder>(
+                (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+                    streamingRequest_,
                 getParentForChildren(),
                 isClean());
         streamingRequest_ = null;
       }
       streamingRequestCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return videoConfigBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -821,12 +956,15 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilde
      * 
* * bytes input_content = 2; + * * @return Whether the inputContent field is set. */ public boolean hasInputContent() { return streamingRequestCase_ == 2; } /** + * + * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -838,6 +976,7 @@ public boolean hasInputContent() {
      * 
* * bytes input_content = 2; + * * @return The inputContent. */ public com.google.protobuf.ByteString getInputContent() { @@ -847,6 +986,8 @@ public com.google.protobuf.ByteString getInputContent() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -858,19 +999,22 @@ public com.google.protobuf.ByteString getInputContent() {
      * 
* * bytes input_content = 2; + * * @param value The inputContent to set. * @return This builder for chaining. */ public Builder setInputContent(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - streamingRequestCase_ = 2; + throw new NullPointerException(); + } + streamingRequestCase_ = 2; streamingRequest_ = value; onChanged(); return this; } /** + * + * *
      * The video data to be annotated. Chunks of video data are sequentially
      * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -882,6 +1026,7 @@ public Builder setInputContent(com.google.protobuf.ByteString value) {
      * 
* * bytes input_content = 2; + * * @return This builder for chaining. */ public Builder clearInputContent() { @@ -892,9 +1037,9 @@ public Builder clearInputContent() { } 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); } @@ -904,30 +1049,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAnnotateVideoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAnnotateVideoRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAnnotateVideoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAnnotateVideoRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -939,9 +1087,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java index 4f4782ce7..b1398edba 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAnnotateVideoRequestOrBuilder extends +public interface StreamingAnnotateVideoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -15,10 +33,13 @@ public interface StreamingAnnotateVideoRequestOrBuilder extends
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return Whether the videoConfig field is set. */ boolean hasVideoConfig(); /** + * + * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -26,10 +47,13 @@ public interface StreamingAnnotateVideoRequestOrBuilder extends
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1; + * * @return The videoConfig. */ com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVideoConfig(); /** + * + * *
    * Provides information to the annotator, specifing how to process the
    * request. The first `AnnotateStreamingVideoRequest` message must only
@@ -38,9 +62,12 @@ public interface StreamingAnnotateVideoRequestOrBuilder extends
    *
    * .google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;
    */
-  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder getVideoConfigOrBuilder();
+  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
+      getVideoConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -52,10 +79,13 @@ public interface StreamingAnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 2; + * * @return Whether the inputContent field is set. */ boolean hasInputContent(); /** + * + * *
    * The video data to be annotated. Chunks of video data are sequentially
    * sent in `StreamingAnnotateVideoRequest` messages. Except the initial
@@ -67,9 +97,12 @@ public interface StreamingAnnotateVideoRequestOrBuilder extends
    * 
* * bytes input_content = 2; + * * @return The inputContent. */ com.google.protobuf.ByteString getInputContent(); - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest + .StreamingRequestCase + getStreamingRequestCase(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java similarity index 62% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java index a1283c5c4..cbe9c5cb4 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * `StreamingAnnotateVideoResponse` is the only message returned to the client
  * by `StreamingAnnotateVideo`. A series of zero or more
@@ -12,31 +29,32 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse}
  */
-public final class StreamingAnnotateVideoResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamingAnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
     StreamingAnnotateVideoResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamingAnnotateVideoResponse.newBuilder() to construct.
-  private StreamingAnnotateVideoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private StreamingAnnotateVideoResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StreamingAnnotateVideoResponse() {
     annotationResultsUri_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamingAnnotateVideoResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StreamingAnnotateVideoResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,45 +73,53 @@ private StreamingAnnotateVideoResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            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();
-            }
+          case 10:
+            {
+              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;
-          }
-          case 18: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder subBuilder = null;
-            if (annotationResults_ != null) {
-              subBuilder = annotationResults_.toBuilder();
-            }
-            annotationResults_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(annotationResults_);
-              annotationResults_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
+                  subBuilder = null;
+              if (annotationResults_ != null) {
+                subBuilder = annotationResults_.toBuilder();
+              }
+              annotationResults_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(annotationResults_);
+                annotationResults_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            annotationResultsUri_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              annotationResultsUri_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,35 +127,41 @@ private StreamingAnnotateVideoResponse(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder
+                .class);
   }
 
   public static final int ERROR_FIELD_NUMBER = 1;
   private com.google.rpc.Status error_;
   /**
+   *
+   *
    * 
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; + * * @return Whether the error field is set. */ @java.lang.Override @@ -137,12 +169,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; + * * @return The error. */ @java.lang.Override @@ -150,6 +185,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
@@ -163,13 +200,19 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   public static final int ANNOTATION_RESULTS_FIELD_NUMBER = 2;
-  private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotationResults_;
+  private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+      annotationResults_;
   /**
+   *
+   *
    * 
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return Whether the annotationResults field is set. */ @java.lang.Override @@ -177,32 +220,48 @@ public boolean hasAnnotationResults() { return annotationResults_ != null; } /** + * + * *
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return The annotationResults. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults() { - return annotationResults_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + getAnnotationResults() { + return annotationResults_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + .getDefaultInstance() + : annotationResults_; } /** + * + * *
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder() { return getAnnotationResults(); } public static final int ANNOTATION_RESULTS_URI_FIELD_NUMBER = 3; private volatile java.lang.Object annotationResultsUri_; /** + * + * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -211,6 +270,7 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
    * 
* * string annotation_results_uri = 3; + * * @return The annotationResultsUri. */ @java.lang.Override @@ -219,14 +279,15 @@ public java.lang.String getAnnotationResultsUri() { 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(); annotationResultsUri_ = s; return s; } } /** + * + * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -235,16 +296,15 @@ public java.lang.String getAnnotationResultsUri() {
    * 
* * string annotation_results_uri = 3; + * * @return The bytes for annotationResultsUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAnnotationResultsUriBytes() { + public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { java.lang.Object ref = annotationResultsUri_; 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); annotationResultsUri_ = b; return b; } else { @@ -253,6 +313,7 @@ public java.lang.String getAnnotationResultsUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +325,7 @@ 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 (error_ != null) { output.writeMessage(1, getError()); } @@ -285,12 +345,10 @@ public int getSerializedSize() { size = 0; if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getError()); } if (annotationResults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnnotationResults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnnotationResults()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultsUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, annotationResultsUri_); @@ -303,25 +361,24 @@ 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } if (hasAnnotationResults() != other.hasAnnotationResults()) return false; if (hasAnnotationResults()) { - if (!getAnnotationResults() - .equals(other.getAnnotationResults())) return false; + if (!getAnnotationResults().equals(other.getAnnotationResults())) return false; } - if (!getAnnotationResultsUri() - .equals(other.getAnnotationResultsUri())) return false; + if (!getAnnotationResultsUri().equals(other.getAnnotationResultsUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -348,97 +405,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse 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; } /** + * + * *
    * `StreamingAnnotateVideoResponse` is the only message returned to the client
    * by `StreamingAnnotateVideo`. A series of zero or more
@@ -447,38 +518,41 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse}
    */
-  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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
       com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.class,
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.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();
@@ -500,19 +574,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result = buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -520,8 +597,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRespon
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
+        buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse result =
+          new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(this);
       if (errorBuilder_ == null) {
         result.error_ = error_;
       } else {
@@ -541,46 +620,52 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRespon
     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.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)other);
+      if (other
+          instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) {
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
+              .getDefaultInstance()) return this;
       if (other.hasError()) {
         mergeError(other.getError());
       }
@@ -606,11 +691,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parsedMessage = null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,26 +710,33 @@ public Builder mergeFrom(
 
     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_;
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
      * 
* * .google.rpc.Status error = 1; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
      * 
* * .google.rpc.Status error = 1; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -652,6 +747,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -673,6 +770,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -680,8 +779,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 1;
      */
-    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();
@@ -692,6 +790,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -702,8 +802,7 @@ public Builder setError(
     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;
         }
@@ -715,6 +814,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -734,6 +835,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -742,11 +845,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 1;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -758,11 +863,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, returns a [google.rpc.Status][google.rpc.Status] message that
      * specifies the error for the operation.
@@ -771,56 +877,79 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 1;
      */
     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_;
     }
 
-    private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotationResults_;
+    private com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+        annotationResults_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> annotationResultsBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder>
+        annotationResultsBuilder_;
     /**
+     *
+     *
      * 
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return Whether the annotationResults field is set. */ public boolean hasAnnotationResults() { return annotationResultsBuilder_ != null || annotationResults_ != null; } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return The annotationResults. */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + getAnnotationResults() { if (annotationResultsBuilder_ == null) { - return annotationResults_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; + return annotationResults_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + .getDefaultInstance() + : annotationResults_; } else { return annotationResultsBuilder_.getMessage(); } } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ - public Builder setAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { + public Builder setAnnotationResults( + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -834,14 +963,19 @@ public Builder setAnnotationResults(com.google.cloud.videointelligence.v1p3beta1 return this; } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ public Builder setAnnotationResults( - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder + builderForValue) { if (annotationResultsBuilder_ == null) { annotationResults_ = builderForValue.build(); onChanged(); @@ -852,17 +986,25 @@ public Builder setAnnotationResults( return this; } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ - public Builder mergeAnnotationResults(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { + public Builder mergeAnnotationResults( + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults value) { if (annotationResultsBuilder_ == null) { if (annotationResults_ != null) { annotationResults_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.newBuilder(annotationResults_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + .newBuilder(annotationResults_) + .mergeFrom(value) + .buildPartial(); } else { annotationResults_ = value; } @@ -874,11 +1016,15 @@ public Builder mergeAnnotationResults(com.google.cloud.videointelligence.v1p3bet return this; } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ public Builder clearAnnotationResults() { if (annotationResultsBuilder_ == null) { @@ -892,48 +1038,69 @@ public Builder clearAnnotationResults() { return this; } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder getAnnotationResultsBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder + getAnnotationResultsBuilder() { + onChanged(); return getAnnotationResultsFieldBuilder().getBuilder(); } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder() { if (annotationResultsBuilder_ != null) { return annotationResultsBuilder_.getMessageOrBuilder(); } else { - return annotationResults_ == null ? - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance() : annotationResults_; + return annotationResults_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + .getDefaultInstance() + : annotationResults_; } } /** + * + * *
      * Streaming annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder> getAnnotationResultsFieldBuilder() { if (annotationResultsBuilder_ == null) { - annotationResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder>( - getAnnotationResults(), - getParentForChildren(), - isClean()); + annotationResultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults, + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingVideoAnnotationResultsOrBuilder>( + getAnnotationResults(), getParentForChildren(), isClean()); annotationResults_ = null; } return annotationResultsBuilder_; @@ -941,6 +1108,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu private java.lang.Object annotationResultsUri_ = ""; /** + * + * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -949,13 +1118,13 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
      * 
* * string annotation_results_uri = 3; + * * @return The annotationResultsUri. */ public java.lang.String getAnnotationResultsUri() { java.lang.Object ref = annotationResultsUri_; 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(); annotationResultsUri_ = s; return s; @@ -964,6 +1133,8 @@ public java.lang.String getAnnotationResultsUri() { } } /** + * + * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -972,15 +1143,14 @@ public java.lang.String getAnnotationResultsUri() {
      * 
* * string annotation_results_uri = 3; + * * @return The bytes for annotationResultsUri. */ - public com.google.protobuf.ByteString - getAnnotationResultsUriBytes() { + public com.google.protobuf.ByteString getAnnotationResultsUriBytes() { java.lang.Object ref = annotationResultsUri_; 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); annotationResultsUri_ = b; return b; } else { @@ -988,6 +1158,8 @@ public java.lang.String getAnnotationResultsUri() { } } /** + * + * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -996,20 +1168,22 @@ public java.lang.String getAnnotationResultsUri() {
      * 
* * string annotation_results_uri = 3; + * * @param value The annotationResultsUri to set. * @return This builder for chaining. */ - public Builder setAnnotationResultsUri( - java.lang.String value) { + public Builder setAnnotationResultsUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationResultsUri_ = value; onChanged(); return this; } /** + * + * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1018,15 +1192,18 @@ public Builder setAnnotationResultsUri(
      * 
* * string annotation_results_uri = 3; + * * @return This builder for chaining. */ public Builder clearAnnotationResultsUri() { - + annotationResultsUri_ = getDefaultInstance().getAnnotationResultsUri(); onChanged(); return this; } /** + * + * *
      * Google Cloud Storage(GCS) URI that stores annotation results of one
      * streaming session in JSON format.
@@ -1035,23 +1212,23 @@ public Builder clearAnnotationResultsUri() {
      * 
* * string annotation_results_uri = 3; + * * @param value The bytes for annotationResultsUri to set. * @return This builder for chaining. */ - public Builder setAnnotationResultsUriBytes( - com.google.protobuf.ByteString value) { + public Builder setAnnotationResultsUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationResultsUri_ = 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); } @@ -1061,30 +1238,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAnnotateVideoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAnnotateVideoResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAnnotateVideoResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAnnotateVideoResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1096,9 +1276,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java index f65afb336..f1b2677bc 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAnnotateVideoResponseOrBuilder extends +public interface StreamingAnnotateVideoResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
    * 
* * .google.rpc.Status error = 1; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * If set, returns a [google.rpc.Status][google.rpc.Status] message that
    * specifies the error for the operation.
@@ -38,33 +62,51 @@ public interface StreamingAnnotateVideoResponseOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return Whether the annotationResults field is set. */ boolean hasAnnotationResults(); /** + * + * *
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * * @return The annotationResults. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getAnnotationResults(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + getAnnotationResults(); /** + * + * *
    * Streaming annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder + getAnnotationResultsOrBuilder(); /** + * + * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -73,10 +115,13 @@ public interface StreamingAnnotateVideoResponseOrBuilder extends
    * 
* * string annotation_results_uri = 3; + * * @return The annotationResultsUri. */ java.lang.String getAnnotationResultsUri(); /** + * + * *
    * Google Cloud Storage(GCS) URI that stores annotation results of one
    * streaming session in JSON format.
@@ -85,8 +130,8 @@ public interface StreamingAnnotateVideoResponseOrBuilder extends
    * 
* * string annotation_results_uri = 3; + * * @return The bytes for annotationResultsUri. */ - com.google.protobuf.ByteString - getAnnotationResultsUriBytes(); + com.google.protobuf.ByteString getAnnotationResultsUriBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java similarity index 56% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java index 497cfe0bb..6088d3d2a 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java @@ -1,40 +1,60 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
  * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} */ -public final class StreamingAutomlActionRecognitionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingAutomlActionRecognitionConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) StreamingAutomlActionRecognitionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingAutomlActionRecognitionConfig.newBuilder() to construct. - private StreamingAutomlActionRecognitionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlActionRecognitionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StreamingAutomlActionRecognitionConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingAutomlActionRecognitionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingAutomlActionRecognitionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +73,20 @@ private StreamingAutomlActionRecognitionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + modelName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +94,42 @@ private StreamingAutomlActionRecognitionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder.class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The modelName. */ @java.lang.Override @@ -110,30 +138,30 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getModelName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ 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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -178,15 +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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) obj; - if (!getModelName() - .equals(other.getModelName())) return false; + if (!getModelName().equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +235,155 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + 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; } /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.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(); @@ -343,19 +393,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +417,11 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecogni } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig( + this); result.modelName_ = modelName_; onBuilt(); return result; @@ -374,46 +431,54 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecogni 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.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -433,11 +498,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +517,21 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -470,21 +540,22 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -492,64 +563,71 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName( - java.lang.String value) { + public Builder setModelName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes( - com.google.protobuf.ByteString value) { + public Builder setModelNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -559,30 +637,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlActionRecognitionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlActionRecognitionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlActionRecognitionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlActionRecognitionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +676,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java index 68e16301e..56f53d3b3 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlActionRecognitionConfigOrBuilder extends +public interface StreamingAutomlActionRecognitionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The modelName. */ java.lang.String getModelName(); /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - com.google.protobuf.ByteString - getModelNameBytes(); + com.google.protobuf.ByteString getModelNameBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java similarity index 57% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java index 8c536c636..f394eec64 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java @@ -1,40 +1,60 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_AUTOML_CLASSIFICATION.
  * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} */ -public final class StreamingAutomlClassificationConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingAutomlClassificationConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) StreamingAutomlClassificationConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingAutomlClassificationConfig.newBuilder() to construct. - private StreamingAutomlClassificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlClassificationConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StreamingAutomlClassificationConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingAutomlClassificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingAutomlClassificationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +73,20 @@ private StreamingAutomlClassificationConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + modelName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +94,34 @@ private StreamingAutomlClassificationConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder + .class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** + * + * *
    * Resource name of AutoML model.
    * Format:
@@ -103,6 +129,7 @@ private StreamingAutomlClassificationConfig(
    * 
* * string model_name = 1; + * * @return The modelName. */ @java.lang.Override @@ -111,14 +138,15 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** + * + * *
    * Resource name of AutoML model.
    * Format:
@@ -126,16 +154,15 @@ public java.lang.String getModelName() {
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getModelName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ 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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -180,15 +207,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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) obj; - if (!getModelName() - .equals(other.getModelName())) return false; + if (!getModelName().equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,135 +236,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig 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; } /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.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(); @@ -345,19 +393,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -365,8 +417,11 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificatio } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig( + this); result.modelName_ = modelName_; onBuilt(); return result; @@ -376,46 +431,54 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificatio 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.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -435,11 +498,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +517,8 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** + * + * *
      * Resource name of AutoML model.
      * Format:
@@ -458,13 +526,13 @@ public Builder mergeFrom(
      * 
* * string model_name = 1; + * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -473,6 +541,8 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format:
@@ -480,15 +550,14 @@ public java.lang.String getModelName() {
      * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -496,6 +565,8 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format:
@@ -503,20 +574,22 @@ public java.lang.String getModelName() {
      * 
* * string model_name = 1; + * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName( - java.lang.String value) { + public Builder setModelName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format:
@@ -524,15 +597,18 @@ public Builder setModelName(
      * 
* * string model_name = 1; + * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format:
@@ -540,23 +616,23 @@ public Builder clearModelName() {
      * 
* * string model_name = 1; + * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes( - com.google.protobuf.ByteString value) { + public Builder setModelNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -566,30 +642,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlClassificationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlClassificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlClassificationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlClassificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlClassificationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -601,9 +681,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java index 4b4b596f4..017b12a71 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlClassificationConfigOrBuilder extends +public interface StreamingAutomlClassificationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of AutoML model.
    * Format:
@@ -15,10 +33,13 @@ public interface StreamingAutomlClassificationConfigOrBuilder extends
    * 
* * string model_name = 1; + * * @return The modelName. */ java.lang.String getModelName(); /** + * + * *
    * Resource name of AutoML model.
    * Format:
@@ -26,8 +47,8 @@ public interface StreamingAutomlClassificationConfigOrBuilder extends
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - com.google.protobuf.ByteString - getModelNameBytes(); + com.google.protobuf.ByteString getModelNameBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java similarity index 56% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java index 5f3fc2fec..26f2905d5 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfig.java @@ -1,40 +1,60 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_AUTOML_OBJECT_TRACKING.
  * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} */ -public final class StreamingAutomlObjectTrackingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingAutomlObjectTrackingConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) StreamingAutomlObjectTrackingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingAutomlObjectTrackingConfig.newBuilder() to construct. - private StreamingAutomlObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingAutomlObjectTrackingConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StreamingAutomlObjectTrackingConfig() { modelName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingAutomlObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingAutomlObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +73,20 @@ private StreamingAutomlObjectTrackingConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - modelName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + modelName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +94,41 @@ private StreamingAutomlObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder + .class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The modelName. */ @java.lang.Override @@ -110,30 +137,30 @@ public java.lang.String getModelName() { 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(); modelName_ = s; return s; } } /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getModelName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ 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(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -178,15 +205,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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) obj; - if (!getModelName() - .equals(other.getModelName())) return false; + if (!getModelName().equals(other.getModelName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,135 +234,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig 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; } /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.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(); @@ -343,19 +391,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -363,8 +415,11 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackin } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig( + this); result.modelName_ = modelName_; onBuilt(); return result; @@ -374,46 +429,54 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackin 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.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -433,11 +496,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +515,21 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; 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(); modelName_ = s; return s; @@ -470,21 +538,22 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString - getModelNameBytes() { + public com.google.protobuf.ByteString getModelNameBytes() { java.lang.Object ref = modelName_; 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); modelName_ = b; return b; } else { @@ -492,64 +561,71 @@ public java.lang.String getModelName() { } } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName( - java.lang.String value) { + public Builder setModelName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** + * + * *
      * Resource name of AutoML model.
      * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
      * 
* * string model_name = 1; + * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes( - com.google.protobuf.ByteString value) { + public Builder setModelNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = 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); } @@ -559,30 +635,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlObjectTrackingConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingAutomlObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingAutomlObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingAutomlObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingAutomlObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +674,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java index 09fe80836..2fa169512 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlObjectTrackingConfigOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingAutomlObjectTrackingConfigOrBuilder extends +public interface StreamingAutomlObjectTrackingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The modelName. */ java.lang.String getModelName(); /** + * + * *
    * Resource name of AutoML model.
    * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
    * 
* * string model_name = 1; + * * @return The bytes for modelName. */ - com.google.protobuf.ByteString - getModelNameBytes(); + com.google.protobuf.ByteString getModelNameBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java similarity index 50% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java index bec8c39c6..c6f326dc1 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfig.java @@ -1,39 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
  * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} */ -public final class StreamingExplicitContentDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingExplicitContentDetectionConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) StreamingExplicitContentDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingExplicitContentDetectionConfig.newBuilder() to construct. - private StreamingExplicitContentDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingExplicitContentDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingExplicitContentDetectionConfig() { - } + + private StreamingExplicitContentDetectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingExplicitContentDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingExplicitContentDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +71,13 @@ private StreamingExplicitContentDetectionConfig( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +85,32 @@ private StreamingExplicitContentDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +122,7 @@ 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 { unknownFields.writeTo(output); } @@ -117,12 +140,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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,135 +166,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + 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; } /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .class, + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.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(); @@ -276,19 +323,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = buildPartial(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + build() { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -296,8 +347,11 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDete } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig( + this); onBuilt(); return result; } @@ -306,46 +360,55 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDete 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.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -361,11 +424,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +440,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +452,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingExplicitContentDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingExplicitContentDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingExplicitContentDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingExplicitContentDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +491,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java new file mode 100644 index 000000000..11dd267fa --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingExplicitContentDetectionConfigOrBuilder.java @@ -0,0 +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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingExplicitContentDetectionConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java index 9059d1774..dd7bd8035 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java @@ -1,18 +1,36 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Streaming video annotation feature.
  * 
* * Protobuf enum {@code google.cloud.videointelligence.v1p3beta1.StreamingFeature} */ -public enum StreamingFeature - implements com.google.protobuf.ProtocolMessageEnum { +public enum StreamingFeature implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum StreamingFeature */ STREAMING_FEATURE_UNSPECIFIED(0), /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -29,6 +49,8 @@ public enum StreamingFeature */ STREAMING_LABEL_DETECTION(1), /** + * + * *
    * Shot change detection.
    * 
@@ -37,6 +59,8 @@ public enum StreamingFeature */ STREAMING_SHOT_CHANGE_DETECTION(2), /** + * + * *
    * Explicit content detection.
    * 
@@ -45,6 +69,8 @@ public enum StreamingFeature */ STREAMING_EXPLICIT_CONTENT_DETECTION(3), /** + * + * *
    * Object detection and tracking.
    * 
@@ -53,6 +79,8 @@ public enum StreamingFeature */ STREAMING_OBJECT_TRACKING(4), /** + * + * *
    * Action recognition based on AutoML model.
    * 
@@ -61,6 +89,8 @@ public enum StreamingFeature */ STREAMING_AUTOML_ACTION_RECOGNITION(23), /** + * + * *
    * Video classification based on AutoML model.
    * 
@@ -69,6 +99,8 @@ public enum StreamingFeature */ STREAMING_AUTOML_CLASSIFICATION(21), /** + * + * *
    * Object detection and tracking based on AutoML model.
    * 
@@ -80,6 +112,8 @@ public enum StreamingFeature ; /** + * + * *
    * Unspecified.
    * 
@@ -88,6 +122,8 @@ public enum StreamingFeature */ public static final int STREAMING_FEATURE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Label detection. Detect objects, such as dog or flower.
    * 
@@ -96,6 +132,8 @@ public enum StreamingFeature */ public static final int STREAMING_LABEL_DETECTION_VALUE = 1; /** + * + * *
    * Shot change detection.
    * 
@@ -104,6 +142,8 @@ public enum StreamingFeature */ public static final int STREAMING_SHOT_CHANGE_DETECTION_VALUE = 2; /** + * + * *
    * Explicit content detection.
    * 
@@ -112,6 +152,8 @@ public enum StreamingFeature */ public static final int STREAMING_EXPLICIT_CONTENT_DETECTION_VALUE = 3; /** + * + * *
    * Object detection and tracking.
    * 
@@ -120,6 +162,8 @@ public enum StreamingFeature */ public static final int STREAMING_OBJECT_TRACKING_VALUE = 4; /** + * + * *
    * Action recognition based on AutoML model.
    * 
@@ -128,6 +172,8 @@ public enum StreamingFeature */ public static final int STREAMING_AUTOML_ACTION_RECOGNITION_VALUE = 23; /** + * + * *
    * Video classification based on AutoML model.
    * 
@@ -136,6 +182,8 @@ public enum StreamingFeature */ public static final int STREAMING_AUTOML_CLASSIFICATION_VALUE = 21; /** + * + * *
    * Object detection and tracking based on AutoML model.
    * 
@@ -144,7 +192,6 @@ public enum StreamingFeature */ public static final int STREAMING_AUTOML_OBJECT_TRACKING_VALUE = 22; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,62 @@ public static StreamingFeature valueOf(int value) { */ public static StreamingFeature forNumber(int value) { switch (value) { - case 0: return STREAMING_FEATURE_UNSPECIFIED; - case 1: return STREAMING_LABEL_DETECTION; - case 2: return STREAMING_SHOT_CHANGE_DETECTION; - case 3: return STREAMING_EXPLICIT_CONTENT_DETECTION; - case 4: return STREAMING_OBJECT_TRACKING; - case 23: return STREAMING_AUTOML_ACTION_RECOGNITION; - case 21: return STREAMING_AUTOML_CLASSIFICATION; - case 22: return STREAMING_AUTOML_OBJECT_TRACKING; - default: return null; + case 0: + return STREAMING_FEATURE_UNSPECIFIED; + case 1: + return STREAMING_LABEL_DETECTION; + case 2: + return STREAMING_SHOT_CHANGE_DETECTION; + case 3: + return STREAMING_EXPLICIT_CONTENT_DETECTION; + case 4: + return STREAMING_OBJECT_TRACKING; + case 23: + return STREAMING_AUTOML_ACTION_RECOGNITION; + case 21: + return STREAMING_AUTOML_CLASSIFICATION; + case 22: + return STREAMING_AUTOML_OBJECT_TRACKING; + 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< - StreamingFeature> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StreamingFeature findValueByNumber(int number) { - return StreamingFeature.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StreamingFeature findValueByNumber(int number) { + return StreamingFeature.forNumber(number); + } + }; + + 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() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .getDescriptor() + .getEnumTypes() + .get(2); } private static final StreamingFeature[] VALUES = values(); - public static StreamingFeature valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StreamingFeature 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; @@ -232,4 +287,3 @@ private StreamingFeature(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.videointelligence.v1p3beta1.StreamingFeature) } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java similarity index 58% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java index f848276d2..cfbaeb567 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfig.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_LABEL_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig} */ -public final class StreamingLabelDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingLabelDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) StreamingLabelDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingLabelDetectionConfig.newBuilder() to construct. private StreamingLabelDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingLabelDetectionConfig() { - } + + private StreamingLabelDetectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingLabelDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingLabelDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,18 +68,18 @@ private StreamingLabelDetectionConfig( case 0: done = true; break; - case 8: { - - stationaryCamera_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + stationaryCamera_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,29 +87,34 @@ private StreamingLabelDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder + .class); } public static final int STATIONARY_CAMERA_FIELD_NUMBER = 1; private boolean stationaryCamera_; /** + * + * *
    * Whether the video has been captured from a stationary (i.e. non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -101,6 +122,7 @@ private StreamingLabelDetectionConfig(
    * 
* * bool stationary_camera = 1; + * * @return The stationaryCamera. */ @java.lang.Override @@ -109,6 +131,7 @@ public boolean getStationaryCamera() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +143,7 @@ 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 (stationaryCamera_ != false) { output.writeBool(1, stationaryCamera_); } @@ -135,8 +157,7 @@ public int getSerializedSize() { size = 0; if (stationaryCamera_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, stationaryCamera_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, stationaryCamera_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -146,15 +167,16 @@ 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) obj; - if (getStationaryCamera() - != other.getStationaryCamera()) return false; + if (getStationaryCamera() != other.getStationaryCamera()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -167,142 +189,158 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATIONARY_CAMERA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStationaryCamera()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStationaryCamera()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig 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; } /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.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(); @@ -312,19 +350,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -332,8 +373,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfi } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(this); result.stationaryCamera_ = stationaryCamera_; onBuilt(); return result; @@ -343,46 +386,52 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfi 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.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance()) return this; if (other.getStationaryCamera() != false) { setStationaryCamera(other.getStationaryCamera()); } @@ -401,11 +450,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -415,8 +467,10 @@ public Builder mergeFrom( return this; } - private boolean stationaryCamera_ ; + private boolean stationaryCamera_; /** + * + * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -424,6 +478,7 @@ public Builder mergeFrom(
      * 
* * bool stationary_camera = 1; + * * @return The stationaryCamera. */ @java.lang.Override @@ -431,6 +486,8 @@ public boolean getStationaryCamera() { return stationaryCamera_; } /** + * + * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -438,16 +495,19 @@ public boolean getStationaryCamera() {
      * 
* * bool stationary_camera = 1; + * * @param value The stationaryCamera to set. * @return This builder for chaining. */ public Builder setStationaryCamera(boolean value) { - + stationaryCamera_ = value; onChanged(); return this; } /** + * + * *
      * Whether the video has been captured from a stationary (i.e. non-moving)
      * camera. When set to true, might improve detection accuracy for moving
@@ -455,17 +515,18 @@ public Builder setStationaryCamera(boolean value) {
      * 
* * bool stationary_camera = 1; + * * @return This builder for chaining. */ public Builder clearStationaryCamera() { - + stationaryCamera_ = 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); } @@ -475,30 +536,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingLabelDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingLabelDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingLabelDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingLabelDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -510,9 +574,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java index b2f16d83d..b3dcd9e9c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingLabelDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingLabelDetectionConfigOrBuilder extends +public interface StreamingLabelDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether the video has been captured from a stationary (i.e. non-moving)
    * camera. When set to true, might improve detection accuracy for moving
@@ -15,6 +33,7 @@ public interface StreamingLabelDetectionConfigOrBuilder extends
    * 
* * bool stationary_camera = 1; + * * @return The stationaryCamera. */ boolean getStationaryCamera(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java similarity index 53% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java index c28994906..4772be86f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfig.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_OBJECT_TRACKING.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig} */ -public final class StreamingObjectTrackingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingObjectTrackingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) StreamingObjectTrackingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingObjectTrackingConfig.newBuilder() to construct. private StreamingObjectTrackingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingObjectTrackingConfig() { - } + + private StreamingObjectTrackingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingObjectTrackingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingObjectTrackingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private StreamingObjectTrackingConfig( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,31 @@ private StreamingObjectTrackingConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder + .class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +118,7 @@ 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 { unknownFields.writeTo(output); } @@ -117,12 +136,14 @@ 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,135 +161,152 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig 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; } /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig} */ - 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder + .class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.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(); @@ -276,19 +314,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -296,8 +337,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfi } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(this); onBuilt(); return result; } @@ -306,46 +349,52 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfi 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.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)other); + if (other + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -361,11 +410,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +426,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +438,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingObjectTrackingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingObjectTrackingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingObjectTrackingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingObjectTrackingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +476,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java new file mode 100644 index 000000000..851141eaf --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingObjectTrackingConfigOrBuilder.java @@ -0,0 +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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingObjectTrackingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java similarity index 52% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java index a00dac3f9..4d8bc8642 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfig.java @@ -1,39 +1,56 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for STREAMING_SHOT_CHANGE_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} */ -public final class StreamingShotChangeDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingShotChangeDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) StreamingShotChangeDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingShotChangeDetectionConfig.newBuilder() to construct. - private StreamingShotChangeDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private StreamingShotChangeDetectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamingShotChangeDetectionConfig() { - } + + private StreamingShotChangeDetectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingShotChangeDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingShotChangeDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +69,13 @@ private StreamingShotChangeDetectionConfig( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +83,31 @@ private StreamingShotChangeDetectionConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder + .class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +119,7 @@ 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 { unknownFields.writeTo(output); } @@ -117,12 +137,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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)) { + if (!(obj + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,135 +163,153 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig 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; } /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} + * Protobuf type {@code + * google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig} */ - 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.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(); @@ -276,19 +317,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig build() { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -296,8 +340,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetection } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(this); + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + buildPartial() { + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(this); onBuilt(); return result; } @@ -306,46 +352,54 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetection 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.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig)other); + if (other + instanceof + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) { + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -361,11 +415,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig parsedMessage = null; + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +431,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +443,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1 + .StreamingShotChangeDetectionConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingShotChangeDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingShotChangeDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingShotChangeDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingShotChangeDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +482,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java new file mode 100644 index 000000000..28c8e4fb8 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingShotChangeDetectionConfigOrBuilder.java @@ -0,0 +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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public interface StreamingShotChangeDetectionConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java index e5dab8fce..07013f761 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for streaming storage option.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig} */ -public final class StreamingStorageConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamingStorageConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) StreamingStorageConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamingStorageConfig.newBuilder() to construct. private StreamingStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StreamingStorageConfig() { annotationResultStorageDirectory_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamingStorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamingStorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private StreamingStorageConfig( case 0: done = true; break; - case 8: { - - enableStorageAnnotationResult_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 8: + { + enableStorageAnnotationResult_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - annotationResultStorageDirectory_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + annotationResultStorageDirectory_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private StreamingStorageConfig( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); } public static final int ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER = 1; private boolean enableStorageAnnotationResult_; /** + * + * *
    * Enable streaming storage. Default: false.
    * 
* * bool enable_storage_annotation_result = 1; + * * @return The enableStorageAnnotationResult. */ @java.lang.Override @@ -116,6 +139,8 @@ public boolean getEnableStorageAnnotationResult() { public static final int ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER = 3; private volatile java.lang.Object annotationResultStorageDirectory_; /** + * + * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -130,6 +155,7 @@ public boolean getEnableStorageAnnotationResult() {
    * 
* * string annotation_result_storage_directory = 3; + * * @return The annotationResultStorageDirectory. */ @java.lang.Override @@ -138,14 +164,15 @@ public java.lang.String getAnnotationResultStorageDirectory() { 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(); annotationResultStorageDirectory_ = s; return s; } } /** + * + * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -160,16 +187,15 @@ public java.lang.String getAnnotationResultStorageDirectory() {
    * 
* * string annotation_result_storage_directory = 3; + * * @return The bytes for annotationResultStorageDirectory. */ @java.lang.Override - public com.google.protobuf.ByteString - getAnnotationResultStorageDirectoryBytes() { + public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() { java.lang.Object ref = annotationResultStorageDirectory_; 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); annotationResultStorageDirectory_ = b; return b; } else { @@ -178,6 +204,7 @@ public java.lang.String getAnnotationResultStorageDirectory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,13 +216,13 @@ 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 (enableStorageAnnotationResult_ != false) { output.writeBool(1, enableStorageAnnotationResult_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultStorageDirectory_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, annotationResultStorageDirectory_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, annotationResultStorageDirectory_); } unknownFields.writeTo(output); } @@ -207,11 +234,13 @@ public int getSerializedSize() { size = 0; if (enableStorageAnnotationResult_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableStorageAnnotationResult_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableStorageAnnotationResult_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationResultStorageDirectory_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, annotationResultStorageDirectory_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 3, annotationResultStorageDirectory_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -221,17 +250,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.videointelligence.v1p3beta1.StreamingStorageConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) obj; - if (getEnableStorageAnnotationResult() - != other.getEnableStorageAnnotationResult()) return false; - if (!getAnnotationResultStorageDirectory() - .equals(other.getAnnotationResultStorageDirectory())) return false; + if (getEnableStorageAnnotationResult() != other.getEnableStorageAnnotationResult()) + return false; + if (!getAnnotationResultStorageDirectory().equals(other.getAnnotationResultStorageDirectory())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -244,8 +274,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableStorageAnnotationResult()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStorageAnnotationResult()); hash = (37 * hash) + ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER; hash = (53 * hash) + getAnnotationResultStorageDirectory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -254,134 +284,145 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig + 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig 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.videointelligence.v1p3beta1.StreamingStorageConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig 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; } /** + * + * *
    * Config for streaming storage option.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig} */ - 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.videointelligence.v1p3beta1.StreamingStorageConfig) com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.class, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.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(); @@ -393,14 +434,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + .getDefaultInstance(); } @java.lang.Override @@ -414,7 +457,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig build @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(this); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig result = + new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(this); result.enableStorageAnnotationResult_ = enableStorageAnnotationResult_; result.annotationResultStorageDirectory_ = annotationResultStorageDirectory_; onBuilt(); @@ -425,46 +469,51 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig build 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.videointelligence.v1p3beta1.StreamingStorageConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + .getDefaultInstance()) return this; if (other.getEnableStorageAnnotationResult() != false) { setEnableStorageAnnotationResult(other.getEnableStorageAnnotationResult()); } @@ -491,7 +540,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,13 +552,16 @@ public Builder mergeFrom( return this; } - private boolean enableStorageAnnotationResult_ ; + private boolean enableStorageAnnotationResult_; /** + * + * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; + * * @return The enableStorageAnnotationResult. */ @java.lang.Override @@ -515,30 +569,36 @@ public boolean getEnableStorageAnnotationResult() { return enableStorageAnnotationResult_; } /** + * + * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; + * * @param value The enableStorageAnnotationResult to set. * @return This builder for chaining. */ public Builder setEnableStorageAnnotationResult(boolean value) { - + enableStorageAnnotationResult_ = value; onChanged(); return this; } /** + * + * *
      * Enable streaming storage. Default: false.
      * 
* * bool enable_storage_annotation_result = 1; + * * @return This builder for chaining. */ public Builder clearEnableStorageAnnotationResult() { - + enableStorageAnnotationResult_ = false; onChanged(); return this; @@ -546,6 +606,8 @@ public Builder clearEnableStorageAnnotationResult() { private java.lang.Object annotationResultStorageDirectory_ = ""; /** + * + * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -560,13 +622,13 @@ public Builder clearEnableStorageAnnotationResult() {
      * 
* * string annotation_result_storage_directory = 3; + * * @return The annotationResultStorageDirectory. */ public java.lang.String getAnnotationResultStorageDirectory() { java.lang.Object ref = annotationResultStorageDirectory_; 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(); annotationResultStorageDirectory_ = s; return s; @@ -575,6 +637,8 @@ public java.lang.String getAnnotationResultStorageDirectory() { } } /** + * + * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -589,15 +653,14 @@ public java.lang.String getAnnotationResultStorageDirectory() {
      * 
* * string annotation_result_storage_directory = 3; + * * @return The bytes for annotationResultStorageDirectory. */ - public com.google.protobuf.ByteString - getAnnotationResultStorageDirectoryBytes() { + public com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes() { java.lang.Object ref = annotationResultStorageDirectory_; 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); annotationResultStorageDirectory_ = b; return b; } else { @@ -605,6 +668,8 @@ public java.lang.String getAnnotationResultStorageDirectory() { } } /** + * + * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -619,20 +684,22 @@ public java.lang.String getAnnotationResultStorageDirectory() {
      * 
* * string annotation_result_storage_directory = 3; + * * @param value The annotationResultStorageDirectory to set. * @return This builder for chaining. */ - public Builder setAnnotationResultStorageDirectory( - java.lang.String value) { + public Builder setAnnotationResultStorageDirectory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationResultStorageDirectory_ = value; onChanged(); return this; } /** + * + * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -647,15 +714,19 @@ public Builder setAnnotationResultStorageDirectory(
      * 
* * string annotation_result_storage_directory = 3; + * * @return This builder for chaining. */ public Builder clearAnnotationResultStorageDirectory() { - - annotationResultStorageDirectory_ = getDefaultInstance().getAnnotationResultStorageDirectory(); + + annotationResultStorageDirectory_ = + getDefaultInstance().getAnnotationResultStorageDirectory(); onChanged(); return this; } /** + * + * *
      * Cloud Storage URI to store all annotation results for one client. Client
      * should specify this field as the top-level storage directory. Annotation
@@ -670,23 +741,23 @@ public Builder clearAnnotationResultStorageDirectory() {
      * 
* * string annotation_result_storage_directory = 3; + * * @param value The bytes for annotationResultStorageDirectory to set. * @return This builder for chaining. */ - public Builder setAnnotationResultStorageDirectoryBytes( - com.google.protobuf.ByteString value) { + public Builder setAnnotationResultStorageDirectoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationResultStorageDirectory_ = 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); } @@ -696,30 +767,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingStorageConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingStorageConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -731,9 +804,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java similarity index 76% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java index 5e4788d00..8d6e62d4f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java @@ -1,23 +1,44 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingStorageConfigOrBuilder extends +public interface StreamingStorageConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Enable streaming storage. Default: false.
    * 
* * bool enable_storage_annotation_result = 1; + * * @return The enableStorageAnnotationResult. */ boolean getEnableStorageAnnotationResult(); /** + * + * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -32,10 +53,13 @@ public interface StreamingStorageConfigOrBuilder extends
    * 
* * string annotation_result_storage_directory = 3; + * * @return The annotationResultStorageDirectory. */ java.lang.String getAnnotationResultStorageDirectory(); /** + * + * *
    * Cloud Storage URI to store all annotation results for one client. Client
    * should specify this field as the top-level storage directory. Annotation
@@ -50,8 +74,8 @@ public interface StreamingStorageConfigOrBuilder extends
    * 
* * string annotation_result_storage_directory = 3; + * * @return The bytes for annotationResultStorageDirectory. */ - com.google.protobuf.ByteString - getAnnotationResultStorageDirectoryBytes(); + com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java similarity index 60% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java index 8b3d37fee..d4e6a5302 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResults.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Streaming annotation results corresponding to a portion of the video
  * that is currently being processed.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults}
  */
-public final class StreamingVideoAnnotationResults extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamingVideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
     StreamingVideoAnnotationResultsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamingVideoAnnotationResults.newBuilder() to construct.
-  private StreamingVideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private StreamingVideoAnnotationResults(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StreamingVideoAnnotationResults() {
     shotAnnotations_ = java.util.Collections.emptyList();
     labelAnnotations_ = java.util.Collections.emptyList();
@@ -28,16 +47,15 @@ private StreamingVideoAnnotationResults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamingVideoAnnotationResults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StreamingVideoAnnotationResults(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,53 +75,75 @@ private StreamingVideoAnnotationResults(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              shotAnnotations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                shotAnnotations_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.VideoSegment>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              shotAnnotations_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(),
+                      extensionRegistry));
+              break;
             }
-            shotAnnotations_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              labelAnnotations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
-            }
-            labelAnnotations_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder subBuilder = null;
-            if (explicitAnnotation_ != null) {
-              subBuilder = explicitAnnotation_.toBuilder();
-            }
-            explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(explicitAnnotation_);
-              explicitAnnotation_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                labelAnnotations_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              labelAnnotations_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder
+                  subBuilder = null;
+              if (explicitAnnotation_ != null) {
+                subBuilder = explicitAnnotation_.toBuilder();
+              }
+              explicitAnnotation_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(explicitAnnotation_);
+                explicitAnnotation_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              objectAnnotations_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              break;
             }
-            objectAnnotations_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                objectAnnotations_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              objectAnnotations_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation
+                          .parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,8 +151,7 @@ private StreamingVideoAnnotationResults(
     } 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)) {
         shotAnnotations_ = java.util.Collections.unmodifiableList(shotAnnotations_);
@@ -127,147 +166,194 @@ private StreamingVideoAnnotationResults(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
+                .class);
   }
 
   public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 1;
-  private java.util.List shotAnnotations_;
+  private java.util.List
+      shotAnnotations_;
   /**
+   *
+   *
    * 
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { return shotAnnotations_.get(index); } public static final int LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List labelAnnotations_; + private java.util.List + labelAnnotations_; /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ @java.lang.Override - public java.util.List getLabelAnnotationsList() { + public java.util.List + getLabelAnnotationsList() { return labelAnnotations_; } /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getLabelAnnotationsOrBuilderList() { return labelAnnotations_; } /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ @java.lang.Override public int getLabelAnnotationsCount() { return labelAnnotations_.size(); } /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations( + int index) { return labelAnnotations_.get(index); } /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getLabelAnnotationsOrBuilder(int index) { return labelAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + explicitAnnotation_; /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -275,90 +361,129 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getExplicitAnnotation() { + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List objectAnnotations_; + private java.util.List + objectAnnotations_; /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ @java.lang.Override - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { return objectAnnotations_; } /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index) { return objectAnnotations_.get(index); } /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { return objectAnnotations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,8 +495,7 @@ 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 < shotAnnotations_.size(); i++) { output.writeMessage(1, shotAnnotations_.get(i)); } @@ -394,20 +518,17 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < shotAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, shotAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, shotAnnotations_.get(i)); } for (int i = 0; i < labelAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, labelAnnotations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labelAnnotations_.get(i)); } if (explicitAnnotation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExplicitAnnotation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExplicitAnnotation()); } for (int i = 0; i < objectAnnotations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, objectAnnotations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, objectAnnotations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -417,24 +538,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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)) { + if (!(obj + instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) obj; - if (!getShotAnnotationsList() - .equals(other.getShotAnnotationsList())) return false; - if (!getLabelAnnotationsList() - .equals(other.getLabelAnnotationsList())) return false; + if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false; + if (!getLabelAnnotationsList().equals(other.getLabelAnnotationsList())) return false; if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false; if (hasExplicitAnnotation()) { - if (!getExplicitAnnotation() - .equals(other.getExplicitAnnotation())) return false; + if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false; } - if (!getObjectAnnotationsList() - .equals(other.getObjectAnnotationsList())) return false; + if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,97 +586,111 @@ public int hashCode() { return hash; } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + 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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults 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; } /** + * + * *
    * Streaming annotation results corresponding to a portion of the video
    * that is currently being processed.
@@ -565,41 +698,45 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults}
    */
-  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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
       com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.class,
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
+                  .class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.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) {
         getShotAnnotationsFieldBuilder();
         getLabelAnnotationsFieldBuilder();
         getObjectAnnotationsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -631,19 +768,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstanceForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance();
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+        getDefaultInstanceForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults build() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result = buildPartial();
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -651,8 +791,10 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(this);
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+        buildPartial() {
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults result =
+          new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(this);
       int from_bitField0_ = bitField0_;
       if (shotAnnotationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -694,46 +836,52 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResu
     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.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)other);
+      if (other
+          instanceof com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) {
+        return mergeFrom(
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
+              .getDefaultInstance()) return this;
       if (shotAnnotationsBuilder_ == null) {
         if (!other.shotAnnotations_.isEmpty()) {
           if (shotAnnotations_.isEmpty()) {
@@ -752,9 +900,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingV
             shotAnnotationsBuilder_ = null;
             shotAnnotations_ = other.shotAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            shotAnnotationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getShotAnnotationsFieldBuilder() : null;
+            shotAnnotationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getShotAnnotationsFieldBuilder()
+                    : null;
           } else {
             shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_);
           }
@@ -778,9 +927,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingV
             labelAnnotationsBuilder_ = null;
             labelAnnotations_ = other.labelAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            labelAnnotationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelAnnotationsFieldBuilder() : null;
+            labelAnnotationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelAnnotationsFieldBuilder()
+                    : null;
           } else {
             labelAnnotationsBuilder_.addAllMessages(other.labelAnnotations_);
           }
@@ -807,9 +957,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingV
             objectAnnotationsBuilder_ = null;
             objectAnnotations_ = other.objectAnnotations_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            objectAnnotationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getObjectAnnotationsFieldBuilder() : null;
+            objectAnnotationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getObjectAnnotationsFieldBuilder()
+                    : null;
           } else {
             objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_);
           }
@@ -830,11 +981,14 @@ public Builder mergeFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parsedMessage = null;
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults parsedMessage =
+          null;
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -843,28 +997,39 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List shotAnnotations_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        shotAnnotations_ = java.util.Collections.emptyList();
+
     private void ensureShotAnnotationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        shotAnnotations_ = new java.util.ArrayList(shotAnnotations_);
+        shotAnnotations_ =
+            new java.util.ArrayList(
+                shotAnnotations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        shotAnnotationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -872,11 +1037,14 @@ public java.util.List } } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -886,11 +1054,14 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -900,11 +1071,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotati } } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -921,14 +1095,18 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder setShotAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -939,13 +1117,17 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { + public Builder addShotAnnotations( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -959,11 +1141,14 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.V return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -980,11 +1165,14 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { @@ -998,14 +1186,18 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder addShotAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -1016,18 +1208,21 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder addAllShotAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -1035,11 +1230,14 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -1052,11 +1250,14 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -1069,39 +1270,50 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getShotAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + getShotAnnotationsBuilder(int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1109,45 +1321,64 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSho } } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder( - int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + addShotAnnotationsBuilder(int index) { + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotation results. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1157,26 +1388,37 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShot return shotAnnotationsBuilder_; } - private java.util.List labelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + labelAnnotations_ = java.util.Collections.emptyList(); + private void ensureLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - labelAnnotations_ = new java.util.ArrayList(labelAnnotations_); + labelAnnotations_ = + new java.util.ArrayList( + labelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> labelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + labelAnnotationsBuilder_; /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public java.util.List getLabelAnnotationsList() { + public java.util.List + getLabelAnnotationsList() { if (labelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(labelAnnotations_); } else { @@ -1184,11 +1426,15 @@ public java.util.List * Label annotation results. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public int getLabelAnnotationsCount() { if (labelAnnotationsBuilder_ == null) { @@ -1198,13 +1444,18 @@ public int getLabelAnnotationsCount() { } } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations( + int index) { if (labelAnnotationsBuilder_ == null) { return labelAnnotations_.get(index); } else { @@ -1212,11 +1463,15 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnno } } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder setLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -1233,14 +1488,19 @@ public Builder setLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder setLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); labelAnnotations_.set(index, builderForValue.build()); @@ -1251,13 +1511,18 @@ public Builder setLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public Builder addLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (labelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1271,11 +1536,15 @@ public Builder addLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1. return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder addLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -1292,11 +1561,15 @@ public Builder addLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder addLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -1310,14 +1583,19 @@ public Builder addLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder addLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); labelAnnotations_.add(index, builderForValue.build()); @@ -1328,18 +1606,22 @@ public Builder addLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder addAllLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (labelAnnotationsBuilder_ == null) { ensureLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, labelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelAnnotations_); onChanged(); } else { labelAnnotationsBuilder_.addAllMessages(values); @@ -1347,11 +1629,15 @@ public Builder addAllLabelAnnotations( return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder clearLabelAnnotations() { if (labelAnnotationsBuilder_ == null) { @@ -1364,11 +1650,15 @@ public Builder clearLabelAnnotations() { return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ public Builder removeLabelAnnotations(int index) { if (labelAnnotationsBuilder_ == null) { @@ -1381,39 +1671,53 @@ public Builder removeLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getLabelAnnotationsBuilder(int index) { return getLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getLabelAnnotationsOrBuilder(int index) { if (labelAnnotationsBuilder_ == null) { - return labelAnnotations_.get(index); } else { + return labelAnnotations_.get(index); + } else { return labelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public java.util.List - getLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getLabelAnnotationsOrBuilderList() { if (labelAnnotationsBuilder_ != null) { return labelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1421,45 +1725,67 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addLabelAnnotationsBuilder() { - return getLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addLabelAnnotationsBuilder() { + return getLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addLabelAnnotationsBuilder( - int index) { - return getLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addLabelAnnotationsBuilder(int index) { + return getLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotation results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - public java.util.List - getLabelAnnotationsBuilderList() { + public java.util.List + getLabelAnnotationsBuilderList() { return getLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getLabelAnnotationsFieldBuilder() { if (labelAnnotationsBuilder_ == null) { - labelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + labelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( labelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1469,43 +1795,66 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addL return labelAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1519,14 +1868,19 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta return this; } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder + builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -1537,17 +1891,25 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -1559,11 +1921,15 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -1577,73 +1943,104 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation results.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List objectAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + objectAnnotations_ = java.util.Collections.emptyList(); + private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>( + objectAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + objectAnnotationsBuilder_; /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -1651,11 +2048,15 @@ public java.util.List * Object tracking results. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -1665,13 +2066,18 @@ public int getObjectAnnotationsCount() { } } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -1679,11 +2085,15 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation get } } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -1700,14 +2110,20 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder setObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -1718,13 +2134,18 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1738,11 +2159,15 @@ public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1 return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -1759,14 +2184,19 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -1777,14 +2207,20 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder addObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -1795,18 +2231,23 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder addAllObjectAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation> + values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -1814,11 +2255,15 @@ public Builder addAllObjectAnnotations( return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -1831,11 +2276,15 @@ public Builder clearObjectAnnotations() { return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -1848,39 +2297,54 @@ public Builder removeObjectAnnotations(int index) { return this; } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + getObjectAnnotationsBuilder(int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); } else { + return objectAnnotations_.get(index); + } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public java.util.List - getObjectAnnotationsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -1888,45 +2352,70 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBu } } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( - int index) { - return getObjectAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder(int index) { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Object tracking results.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - public java.util.List - getObjectAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder> + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -1935,9 +2424,9 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Bui } return objectAnnotationsBuilder_; } + @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); } @@ -1947,30 +2436,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(); + DEFAULT_INSTANCE = + new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingVideoAnnotationResults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingVideoAnnotationResults(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingVideoAnnotationResults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingVideoAnnotationResults(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1982,9 +2474,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java similarity index 58% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java index 0e2bf31ee..cb11513f9 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoAnnotationResultsOrBuilder.java @@ -1,168 +1,251 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingVideoAnnotationResultsOrBuilder extends +public interface StreamingVideoAnnotationResultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - java.util.List + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotation results. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; + * */ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - java.util.List + java.util.List getLabelAnnotationsList(); /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getLabelAnnotations(int index); /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ int getLabelAnnotationsCount(); /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - java.util.List + java.util.List getLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotation results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation results.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; + * */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - java.util.List + java.util.List getObjectAnnotationsList(); /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index); /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ int getObjectAnnotationsCount(); /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList(); /** + * + * *
    * Object tracking results.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; + * */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java similarity index 51% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java index 44c9d10c3..e5722d80f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Provides information to the annotator that specifies how to process the
  * request.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig}
  */
-public final class StreamingVideoConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamingVideoConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
     StreamingVideoConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamingVideoConfig.newBuilder() to construct.
   private StreamingVideoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StreamingVideoConfig() {
     feature_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamingVideoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StreamingVideoConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,130 +71,221 @@ private StreamingVideoConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            feature_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 2) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_).toBuilder();
+              feature_ = rawValue;
+              break;
             }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
-            }
-            streamingConfigCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 3) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_).toBuilder();
-            }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
-            }
-            streamingConfigCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 4) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_).toBuilder();
-            }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
-            }
-            streamingConfigCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 5) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_).toBuilder();
-            }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
-            }
-            streamingConfigCase_ = 5;
-            break;
-          }
-          case 170: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 21) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_).toBuilder();
+          case 18:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig
+                      .Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 2) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1
+                                .StreamingShotChangeDetectionConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1
+                          .StreamingShotChangeDetectionConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1
+                            .StreamingShotChangeDetectionConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 2;
+              break;
             }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 3;
+              break;
             }
-            streamingConfigCase_ = 21;
-            break;
-          }
-          case 178: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 22) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_).toBuilder();
+          case 34:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig
+                      .Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 4) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1
+                                .StreamingExplicitContentDetectionConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1
+                          .StreamingExplicitContentDetectionConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1
+                            .StreamingExplicitContentDetectionConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 4;
+              break;
             }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 5;
+              break;
             }
-            streamingConfigCase_ = 22;
-            break;
-          }
-          case 186: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder subBuilder = null;
-            if (streamingConfigCase_ == 23) {
-              subBuilder = ((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_).toBuilder();
+          case 170:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig
+                      .Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 21) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1
+                                .StreamingAutomlClassificationConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1
+                          .StreamingAutomlClassificationConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1
+                            .StreamingAutomlClassificationConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 21;
+              break;
             }
-            streamingConfig_ =
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_);
-              streamingConfig_ = subBuilder.buildPartial();
+          case 178:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig
+                      .Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 22) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1
+                                .StreamingAutomlObjectTrackingConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1
+                          .StreamingAutomlObjectTrackingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1
+                            .StreamingAutomlObjectTrackingConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 22;
+              break;
             }
-            streamingConfigCase_ = 23;
-            break;
-          }
-          case 242: {
-            com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder subBuilder = null;
-            if (storageConfig_ != null) {
-              subBuilder = storageConfig_.toBuilder();
+          case 186:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig
+                      .Builder
+                  subBuilder = null;
+              if (streamingConfigCase_ == 23) {
+                subBuilder =
+                    ((com.google.cloud.videointelligence.v1p3beta1
+                                .StreamingAutomlActionRecognitionConfig)
+                            streamingConfig_)
+                        .toBuilder();
+              }
+              streamingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1
+                          .StreamingAutomlActionRecognitionConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.videointelligence.v1p3beta1
+                            .StreamingAutomlActionRecognitionConfig)
+                        streamingConfig_);
+                streamingConfig_ = subBuilder.buildPartial();
+              }
+              streamingConfigCase_ = 23;
+              break;
             }
-            storageConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(storageConfig_);
-              storageConfig_ = subBuilder.buildPartial();
+          case 242:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder
+                  subBuilder = null;
+              if (storageConfig_ != null) {
+                subBuilder = storageConfig_.toBuilder();
+              }
+              storageConfig_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(storageConfig_);
+                storageConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -185,30 +293,34 @@ private StreamingVideoConfig(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
   }
 
   private int streamingConfigCase_ = 0;
   private java.lang.Object streamingConfig_;
+
   public enum StreamingConfigCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SHOT_CHANGE_DETECTION_CONFIG(2),
     LABEL_DETECTION_CONFIG(3),
@@ -219,6 +331,7 @@ public enum StreamingConfigCase
     AUTOML_OBJECT_TRACKING_CONFIG(22),
     STREAMINGCONFIG_NOT_SET(0);
     private final int value;
+
     private StreamingConfigCase(int value) {
       this.value = value;
     }
@@ -234,35 +347,48 @@ public static StreamingConfigCase valueOf(int value) {
 
     public static StreamingConfigCase forNumber(int value) {
       switch (value) {
-        case 2: return SHOT_CHANGE_DETECTION_CONFIG;
-        case 3: return LABEL_DETECTION_CONFIG;
-        case 4: return EXPLICIT_CONTENT_DETECTION_CONFIG;
-        case 5: return OBJECT_TRACKING_CONFIG;
-        case 23: return AUTOML_ACTION_RECOGNITION_CONFIG;
-        case 21: return AUTOML_CLASSIFICATION_CONFIG;
-        case 22: return AUTOML_OBJECT_TRACKING_CONFIG;
-        case 0: return STREAMINGCONFIG_NOT_SET;
-        default: return null;
+        case 2:
+          return SHOT_CHANGE_DETECTION_CONFIG;
+        case 3:
+          return LABEL_DETECTION_CONFIG;
+        case 4:
+          return EXPLICIT_CONTENT_DETECTION_CONFIG;
+        case 5:
+          return OBJECT_TRACKING_CONFIG;
+        case 23:
+          return AUTOML_ACTION_RECOGNITION_CONFIG;
+        case 21:
+          return AUTOML_CLASSIFICATION_CONFIG;
+        case 22:
+          return AUTOML_OBJECT_TRACKING_CONFIG;
+        case 0:
+          return STREAMINGCONFIG_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamingConfigCase
-  getStreamingConfigCase() {
-    return StreamingConfigCase.forNumber(
-        streamingConfigCase_);
+  public StreamingConfigCase getStreamingConfigCase() {
+    return StreamingConfigCase.forNumber(streamingConfigCase_);
   }
 
   public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -270,42 +396,62 @@ public boolean hasShotChangeDetectionConfig() { return streamingConfigCase_ == 2; } /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 3; /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -313,42 +459,62 @@ public boolean hasLabelDetectionConfig() { return streamingConfigCase_ == 3; } /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getLabelDetectionConfig() { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -356,42 +522,63 @@ public boolean hasExplicitContentDetectionConfig() { return streamingConfigCase_ == 4; } /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 5; /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -399,42 +586,62 @@ public boolean hasObjectTrackingConfig() { return streamingConfigCase_ == 5; } /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getObjectTrackingConfig() { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } public static final int AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER = 23; /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return Whether the automlActionRecognitionConfig field is set. */ @java.lang.Override @@ -442,42 +649,63 @@ public boolean hasAutomlActionRecognitionConfig() { return streamingConfigCase_ == 23; } /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return The automlActionRecognitionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getAutomlActionRecognitionConfig() { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfigOrBuilder + getAutomlActionRecognitionConfigOrBuilder() { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER = 21; /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return Whether the automlClassificationConfig field is set. */ @java.lang.Override @@ -485,42 +713,62 @@ public boolean hasAutomlClassificationConfig() { return streamingConfigCase_ == 21; } /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return The automlClassificationConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getAutomlClassificationConfig() { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder + getAutomlClassificationConfigOrBuilder() { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 22; /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return Whether the automlObjectTrackingConfig field is set. */ @java.lang.Override @@ -528,70 +776,100 @@ public boolean hasAutomlObjectTrackingConfig() { return streamingConfigCase_ == 22; } /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return The automlObjectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getAutomlObjectTrackingConfig() { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder + getAutomlObjectTrackingConfigOrBuilder() { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } public static final int FEATURE_FIELD_NUMBER = 1; private int feature_; /** + * + * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The feature. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED + : result; } public static final int STORAGE_CONFIG_FIELD_NUMBER = 30; private com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storageConfig_; /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return Whether the storageConfig field is set. */ @java.lang.Override @@ -599,30 +877,41 @@ public boolean hasStorageConfig() { return storageConfig_ != null; } /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return The storageConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig() { - return storageConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() + : storageConfig_; } /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder + getStorageConfigOrBuilder() { return getStorageConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -634,31 +923,54 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (feature_ != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.STREAMING_FEATURE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (feature_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature + .STREAMING_FEATURE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, feature_); } if (streamingConfigCase_ == 2) { - output.writeMessage(2, (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_); + output.writeMessage( + 2, + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 3) { - output.writeMessage(3, (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_); + output.writeMessage( + 3, + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 4) { - output.writeMessage(4, (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_); + output.writeMessage( + 4, + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 5) { - output.writeMessage(5, (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_); + output.writeMessage( + 5, + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_); } if (streamingConfigCase_ == 21) { - output.writeMessage(21, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_); + output.writeMessage( + 21, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_); } if (streamingConfigCase_ == 22) { - output.writeMessage(22, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_); + output.writeMessage( + 22, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_); } if (streamingConfigCase_ == 23) { - output.writeMessage(23, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_); + output.writeMessage( + 23, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + streamingConfig_); } if (storageConfig_ != null) { output.writeMessage(30, getStorageConfig()); @@ -672,41 +984,63 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (feature_ != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.STREAMING_FEATURE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, feature_); + if (feature_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingFeature + .STREAMING_FEATURE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, feature_); } if (streamingConfigCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) + streamingConfig_); } if (streamingConfigCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_); } if (streamingConfigCase_ == 21) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_); } if (streamingConfigCase_ == 22) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_); } if (streamingConfigCase_ == 23) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 23, + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) + streamingConfig_); } if (storageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getStorageConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getStorageConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -716,48 +1050,46 @@ 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.videointelligence.v1p3beta1.StreamingVideoConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other = + (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) obj; if (feature_ != other.feature_) return false; if (hasStorageConfig() != other.hasStorageConfig()) return false; if (hasStorageConfig()) { - if (!getStorageConfig() - .equals(other.getStorageConfig())) return false; + if (!getStorageConfig().equals(other.getStorageConfig())) return false; } if (!getStreamingConfigCase().equals(other.getStreamingConfigCase())) return false; switch (streamingConfigCase_) { case 2: - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; break; case 3: - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; break; case 4: - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; break; case 5: - if (!getObjectTrackingConfig() - .equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; break; case 23: - if (!getAutomlActionRecognitionConfig() - .equals(other.getAutomlActionRecognitionConfig())) return false; + if (!getAutomlActionRecognitionConfig().equals(other.getAutomlActionRecognitionConfig())) + return false; break; case 21: - if (!getAutomlClassificationConfig() - .equals(other.getAutomlClassificationConfig())) return false; + if (!getAutomlClassificationConfig().equals(other.getAutomlClassificationConfig())) + return false; break; case 22: - if (!getAutomlObjectTrackingConfig() - .equals(other.getAutomlObjectTrackingConfig())) return false; + if (!getAutomlObjectTrackingConfig().equals(other.getAutomlObjectTrackingConfig())) + return false; break; case 0: default: @@ -817,96 +1149,105 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig + 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig 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.videointelligence.v1p3beta1.StreamingVideoConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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; } /** + * + * *
    * Provides information to the annotator that specifies how to process the
    * request.
@@ -914,38 +1255,40 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig}
    */
-  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.videointelligence.v1p3beta1.StreamingVideoConfig)
       com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class, com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.class,
+              com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.Builder.class);
     }
 
-    // Construct using com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.newBuilder()
+    // Construct using
+    // com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.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();
@@ -963,13 +1306,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance();
     }
 
@@ -984,7 +1328,8 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig build()
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig result = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(this);
+      com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig result =
+          new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(this);
       if (streamingConfigCase_ == 2) {
         if (shotChangeDetectionConfigBuilder_ == null) {
           result.streamingConfig_ = streamingConfig_;
@@ -1049,46 +1394,50 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig 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) {
+        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.videointelligence.v1p3beta1.StreamingVideoConfig) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig other) {
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.getDefaultInstance())
+        return this;
       if (other.feature_ != 0) {
         setFeatureValue(other.getFeatureValue());
       }
@@ -1096,37 +1445,45 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.StreamingV
         mergeStorageConfig(other.getStorageConfig());
       }
       switch (other.getStreamingConfigCase()) {
-        case SHOT_CHANGE_DETECTION_CONFIG: {
-          mergeShotChangeDetectionConfig(other.getShotChangeDetectionConfig());
-          break;
-        }
-        case LABEL_DETECTION_CONFIG: {
-          mergeLabelDetectionConfig(other.getLabelDetectionConfig());
-          break;
-        }
-        case EXPLICIT_CONTENT_DETECTION_CONFIG: {
-          mergeExplicitContentDetectionConfig(other.getExplicitContentDetectionConfig());
-          break;
-        }
-        case OBJECT_TRACKING_CONFIG: {
-          mergeObjectTrackingConfig(other.getObjectTrackingConfig());
-          break;
-        }
-        case AUTOML_ACTION_RECOGNITION_CONFIG: {
-          mergeAutomlActionRecognitionConfig(other.getAutomlActionRecognitionConfig());
-          break;
-        }
-        case AUTOML_CLASSIFICATION_CONFIG: {
-          mergeAutomlClassificationConfig(other.getAutomlClassificationConfig());
-          break;
-        }
-        case AUTOML_OBJECT_TRACKING_CONFIG: {
-          mergeAutomlObjectTrackingConfig(other.getAutomlObjectTrackingConfig());
-          break;
-        }
-        case STREAMINGCONFIG_NOT_SET: {
-          break;
-        }
+        case SHOT_CHANGE_DETECTION_CONFIG:
+          {
+            mergeShotChangeDetectionConfig(other.getShotChangeDetectionConfig());
+            break;
+          }
+        case LABEL_DETECTION_CONFIG:
+          {
+            mergeLabelDetectionConfig(other.getLabelDetectionConfig());
+            break;
+          }
+        case EXPLICIT_CONTENT_DETECTION_CONFIG:
+          {
+            mergeExplicitContentDetectionConfig(other.getExplicitContentDetectionConfig());
+            break;
+          }
+        case OBJECT_TRACKING_CONFIG:
+          {
+            mergeObjectTrackingConfig(other.getObjectTrackingConfig());
+            break;
+          }
+        case AUTOML_ACTION_RECOGNITION_CONFIG:
+          {
+            mergeAutomlActionRecognitionConfig(other.getAutomlActionRecognitionConfig());
+            break;
+          }
+        case AUTOML_CLASSIFICATION_CONFIG:
+          {
+            mergeAutomlClassificationConfig(other.getAutomlClassificationConfig());
+            break;
+          }
+        case AUTOML_OBJECT_TRACKING_CONFIG:
+          {
+            mergeAutomlObjectTrackingConfig(other.getAutomlObjectTrackingConfig());
+            break;
+          }
+        case STREAMINGCONFIG_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1147,7 +1504,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1156,12 +1515,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int streamingConfigCase_ = 0;
     private java.lang.Object streamingConfig_;
-    public StreamingConfigCase
-        getStreamingConfigCase() {
-      return StreamingConfigCase.forNumber(
-          streamingConfigCase_);
+
+    public StreamingConfigCase getStreamingConfigCase() {
+      return StreamingConfigCase.forNumber(streamingConfigCase_);
     }
 
     public Builder clearStreamingConfig() {
@@ -1171,15 +1530,23 @@ public Builder clearStreamingConfig() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig,
+            com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1p3beta1
+                .StreamingShotChangeDetectionConfigOrBuilder>
+        shotChangeDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -1187,35 +1554,49 @@ public boolean hasShotChangeDetectionConfig() { return streamingConfigCase_ == 2; } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 2) { return shotChangeDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1229,14 +1610,19 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder + builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1247,18 +1633,31 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 2 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 2 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .newBuilder( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingShotChangeDetectionConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -1274,11 +1673,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1297,67 +1700,103 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 2) && (shotChangeDetectionConfigBuilder_ != null)) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 2) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 2)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.getDefaultInstance(); - } - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .getDefaultInstance(); + } + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingShotChangeDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 2; - onChanged();; + onChanged(); + ; return shotChangeDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> + labelDetectionConfigBuilder_; /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -1365,35 +1804,49 @@ public boolean hasLabelDetectionConfig() { return streamingConfigCase_ == 3; } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 3) { return labelDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1407,14 +1860,19 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ public Builder setLabelDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder + builderForValue) { if (labelDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1425,18 +1883,29 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 3 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 3 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.newBuilder( + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -1452,11 +1921,15 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3 return this; } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1475,67 +1948,103 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 3) && (labelDetectionConfigBuilder_ != null)) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 3) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 3)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.getDefaultInstance(); - } - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + .getDefaultInstance(); + } + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingLabelDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 3; - onChanged();; + onChanged(); + ; return labelDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -1543,35 +2052,51 @@ public boolean hasExplicitContentDetectionConfig() { return streamingConfigCase_ == 4; } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 4) { return explicitContentDetectionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1585,14 +2110,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1603,18 +2133,32 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + value) { if (explicitContentDetectionConfigBuilder_ == null) { - if (streamingConfigCase_ == 4 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 4 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig.getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .newBuilder( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -1630,11 +2174,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1653,67 +2201,109 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder + getExplicitContentDetectionConfigBuilder() { return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if ((streamingConfigCase_ == 4) && (explicitContentDetectionConfigBuilder_ != null)) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 4) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 4)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.getDefaultInstance(); - } - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .getDefaultInstance(); + } + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingExplicitContentDetectionConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 4; - onChanged();; + onChanged(); + ; return explicitContentDetectionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> + objectTrackingConfigBuilder_; /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -1721,35 +2311,49 @@ public boolean hasObjectTrackingConfig() { return streamingConfigCase_ == 5; } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 5) { return objectTrackingConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ - public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { + public Builder setObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1763,14 +2367,19 @@ public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ public Builder setObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder + builderForValue) { if (objectTrackingConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1781,18 +2390,29 @@ public Builder setObjectTrackingConfig( return this; } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ - public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { - if (streamingConfigCase_ == 5 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 5 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.newBuilder( + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -1808,11 +2428,15 @@ public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3 return this; } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -1831,67 +2455,103 @@ public Builder clearObjectTrackingConfig() { return this; } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder + getObjectTrackingConfigBuilder() { return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { if ((streamingConfigCase_ == 5) && (objectTrackingConfigBuilder_ != null)) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 5) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { if (!(streamingConfigCase_ == 5)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.getDefaultInstance(); - } - objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + .getDefaultInstance(); + } + objectTrackingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingObjectTrackingConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 5; - onChanged();; + onChanged(); + ; return objectTrackingConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder> automlActionRecognitionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfigOrBuilder> + automlActionRecognitionConfigBuilder_; /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return Whether the automlActionRecognitionConfig field is set. */ @java.lang.Override @@ -1899,35 +2559,50 @@ public boolean hasAutomlActionRecognitionConfig() { return streamingConfigCase_ == 23; } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return The automlActionRecognitionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getAutomlActionRecognitionConfig() { if (automlActionRecognitionConfigBuilder_ == null) { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 23) { return automlActionRecognitionConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ - public Builder setAutomlActionRecognitionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { + public Builder setAutomlActionRecognitionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { if (automlActionRecognitionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1941,14 +2616,19 @@ public Builder setAutomlActionRecognitionConfig(com.google.cloud.videointelligen return this; } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ public Builder setAutomlActionRecognitionConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder + builderForValue) { if (automlActionRecognitionConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -1959,18 +2639,31 @@ public Builder setAutomlActionRecognitionConfig( return this; } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ - public Builder mergeAutomlActionRecognitionConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { + public Builder mergeAutomlActionRecognitionConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig value) { if (automlActionRecognitionConfigBuilder_ == null) { - if (streamingConfigCase_ == 23 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 23 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig.getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .newBuilder( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -1986,11 +2679,15 @@ public Builder mergeAutomlActionRecognitionConfig(com.google.cloud.videointellig return this; } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ public Builder clearAutomlActionRecognitionConfig() { if (automlActionRecognitionConfigBuilder_ == null) { @@ -2009,67 +2706,110 @@ public Builder clearAutomlActionRecognitionConfig() { return this; } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder getAutomlActionRecognitionConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder + getAutomlActionRecognitionConfigBuilder() { return getAutomlActionRecognitionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfigOrBuilder + getAutomlActionRecognitionConfigOrBuilder() { if ((streamingConfigCase_ == 23) && (automlActionRecognitionConfigBuilder_ != null)) { return automlActionRecognitionConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 23) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfigOrBuilder> getAutomlActionRecognitionConfigFieldBuilder() { if (automlActionRecognitionConfigBuilder_ == null) { if (!(streamingConfigCase_ == 23)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.getDefaultInstance(); - } - automlActionRecognitionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .getDefaultInstance(); + } + automlActionRecognitionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlActionRecognitionConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 23; - onChanged();; + onChanged(); + ; return automlActionRecognitionConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder> automlClassificationConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlClassificationConfigOrBuilder> + automlClassificationConfigBuilder_; /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return Whether the automlClassificationConfig field is set. */ @java.lang.Override @@ -2077,35 +2817,49 @@ public boolean hasAutomlClassificationConfig() { return streamingConfigCase_ == 21; } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return The automlClassificationConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getAutomlClassificationConfig() { if (automlClassificationConfigBuilder_ == null) { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 21) { return automlClassificationConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ - public Builder setAutomlClassificationConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { + public Builder setAutomlClassificationConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { if (automlClassificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2119,14 +2873,19 @@ public Builder setAutomlClassificationConfig(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ public Builder setAutomlClassificationConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder + builderForValue) { if (automlClassificationConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2137,18 +2896,31 @@ public Builder setAutomlClassificationConfig( return this; } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ - public Builder mergeAutomlClassificationConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { + public Builder mergeAutomlClassificationConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig value) { if (automlClassificationConfigBuilder_ == null) { - if (streamingConfigCase_ == 21 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 21 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .newBuilder( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlClassificationConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -2164,11 +2936,15 @@ public Builder mergeAutomlClassificationConfig(com.google.cloud.videointelligenc return this; } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ public Builder clearAutomlClassificationConfig() { if (automlClassificationConfigBuilder_ == null) { @@ -2187,67 +2963,106 @@ public Builder clearAutomlClassificationConfig() { return this; } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder getAutomlClassificationConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder + getAutomlClassificationConfigBuilder() { return getAutomlClassificationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder + getAutomlClassificationConfigOrBuilder() { if ((streamingConfigCase_ == 21) && (automlClassificationConfigBuilder_ != null)) { return automlClassificationConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 21) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_CLASSIFICATION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlClassificationConfigOrBuilder> getAutomlClassificationConfigFieldBuilder() { if (automlClassificationConfigBuilder_ == null) { if (!(streamingConfigCase_ == 21)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.getDefaultInstance(); - } - automlClassificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .getDefaultInstance(); + } + automlClassificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlClassificationConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 21; - onChanged();; + onChanged(); + ; return automlClassificationConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder> automlObjectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlObjectTrackingConfigOrBuilder> + automlObjectTrackingConfigBuilder_; /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return Whether the automlObjectTrackingConfig field is set. */ @java.lang.Override @@ -2255,35 +3070,49 @@ public boolean hasAutomlObjectTrackingConfig() { return streamingConfigCase_ == 22; } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return The automlObjectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getAutomlObjectTrackingConfig() { if (automlObjectTrackingConfigBuilder_ == null) { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } else { if (streamingConfigCase_ == 22) { return automlObjectTrackingConfigBuilder_.getMessage(); } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ - public Builder setAutomlObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { + public Builder setAutomlObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { if (automlObjectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2297,14 +3126,19 @@ public Builder setAutomlObjectTrackingConfig(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ public Builder setAutomlObjectTrackingConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder + builderForValue) { if (automlObjectTrackingConfigBuilder_ == null) { streamingConfig_ = builderForValue.build(); onChanged(); @@ -2315,18 +3149,31 @@ public Builder setAutomlObjectTrackingConfig( return this; } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ - public Builder mergeAutomlObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { + public Builder mergeAutomlObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig value) { if (automlObjectTrackingConfigBuilder_ == null) { - if (streamingConfigCase_ == 22 && - streamingConfig_ != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance()) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.newBuilder((com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_) - .mergeFrom(value).buildPartial(); + if (streamingConfigCase_ == 22 + && streamingConfig_ + != com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance()) { + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .newBuilder( + (com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlObjectTrackingConfig) + streamingConfig_) + .mergeFrom(value) + .buildPartial(); } else { streamingConfig_ = value; } @@ -2342,11 +3189,15 @@ public Builder mergeAutomlObjectTrackingConfig(com.google.cloud.videointelligenc return this; } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ public Builder clearAutomlObjectTrackingConfig() { if (automlObjectTrackingConfigBuilder_ == null) { @@ -2365,106 +3216,151 @@ public Builder clearAutomlObjectTrackingConfig() { return this; } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder getAutomlObjectTrackingConfigBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder + getAutomlObjectTrackingConfigBuilder() { return getAutomlObjectTrackingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder + getAutomlObjectTrackingConfigOrBuilder() { if ((streamingConfigCase_ == 22) && (automlObjectTrackingConfigBuilder_ != null)) { return automlObjectTrackingConfigBuilder_.getMessageOrBuilder(); } else { if (streamingConfigCase_ == 22) { - return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_; + return (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_; } - return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); + return com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); } } /** + * + * *
      * Config for STREAMING_AUTOML_OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlObjectTrackingConfigOrBuilder> getAutomlObjectTrackingConfigFieldBuilder() { if (automlObjectTrackingConfigBuilder_ == null) { if (!(streamingConfigCase_ == 22)) { - streamingConfig_ = com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.getDefaultInstance(); - } - automlObjectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder>( - (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) streamingConfig_, + streamingConfig_ = + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .getDefaultInstance(); + } + automlObjectTrackingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + .Builder, + com.google.cloud.videointelligence.v1p3beta1 + .StreamingAutomlObjectTrackingConfigOrBuilder>( + (com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig) + streamingConfig_, getParentForChildren(), isClean()); streamingConfig_ = null; } streamingConfigCase_ = 22; - onChanged();; + onChanged(); + ; return automlObjectTrackingConfigBuilder_; } private int feature_ = 0; /** + * + * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** + * + * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature result = + com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.valueOf(feature_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingFeature.UNRECOGNIZED + : result; } /** + * + * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @param value The feature to set. * @return This builder for chaining. */ @@ -2472,21 +3368,24 @@ public Builder setFeature(com.google.cloud.videointelligence.v1p3beta1.Streaming if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Requested annotation feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -2494,41 +3393,59 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> storageConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> + storageConfigBuilder_; /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return Whether the storageConfig field is set. */ public boolean hasStorageConfig() { return storageConfigBuilder_ != null || storageConfig_ != null; } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return The storageConfig. */ public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig() { if (storageConfigBuilder_ == null) { - return storageConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + .getDefaultInstance() + : storageConfig_; } else { return storageConfigBuilder_.getMessage(); } } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ - public Builder setStorageConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { + public Builder setStorageConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { if (storageConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2542,14 +3459,18 @@ public Builder setStorageConfig(com.google.cloud.videointelligence.v1p3beta1.Str return this; } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ public Builder setStorageConfig( - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder + builderForValue) { if (storageConfigBuilder_ == null) { storageConfig_ = builderForValue.build(); onChanged(); @@ -2560,17 +3481,24 @@ public Builder setStorageConfig( return this; } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ - public Builder mergeStorageConfig(com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { + public Builder mergeStorageConfig( + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig value) { if (storageConfigBuilder_ == null) { if (storageConfig_ != null) { storageConfig_ = - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder(storageConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.newBuilder( + storageConfig_) + .mergeFrom(value) + .buildPartial(); } else { storageConfig_ = value; } @@ -2582,11 +3510,14 @@ public Builder mergeStorageConfig(com.google.cloud.videointelligence.v1p3beta1.S return this; } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ public Builder clearStorageConfig() { if (storageConfigBuilder_ == null) { @@ -2600,55 +3531,71 @@ public Builder clearStorageConfig() { return this; } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder getStorageConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder + getStorageConfigBuilder() { + onChanged(); return getStorageConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ - public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder + getStorageConfigOrBuilder() { if (storageConfigBuilder_ != null) { return storageConfigBuilder_.getMessageOrBuilder(); } else { - return storageConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.getDefaultInstance() : storageConfig_; + return storageConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig + .getDefaultInstance() + : storageConfig_; } } /** + * + * *
      * Streaming storage option. By default: storage is disabled.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder> getStorageConfigFieldBuilder() { if (storageConfigBuilder_ == null) { - storageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder>( - getStorageConfig(), - getParentForChildren(), - isClean()); + storageConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder>( + getStorageConfig(), getParentForChildren(), isClean()); storageConfig_ = null; } return storageConfigBuilder_; } + @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); } @@ -2658,30 +3605,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamingVideoConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StreamingVideoConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamingVideoConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StreamingVideoConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2693,9 +3642,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java index f54fb27cd..dba06a0c2 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java @@ -1,246 +1,393 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface StreamingVideoConfigOrBuilder extends +public interface StreamingVideoConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig + getShotChangeDetectionConfig(); /** + * + * *
    * Config for STREAMING_SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * * @return The labelDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig getLabelDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig + getLabelDetectionConfig(); /** + * + * *
    * Config for STREAMING_LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * * @return The objectTrackingConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig getObjectTrackingConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig + getObjectTrackingConfig(); /** + * + * *
    * Config for STREAMING_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return Whether the automlActionRecognitionConfig field is set. */ boolean hasAutomlActionRecognitionConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * * @return The automlActionRecognitionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig + getAutomlActionRecognitionConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_ACTION_RECOGNITION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfigOrBuilder + getAutomlActionRecognitionConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return Whether the automlClassificationConfig field is set. */ boolean hasAutomlClassificationConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * * @return The automlClassificationConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig getAutomlClassificationConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig + getAutomlClassificationConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_CLASSIFICATION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfigOrBuilder + getAutomlClassificationConfigOrBuilder(); /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return Whether the automlObjectTrackingConfig field is set. */ boolean hasAutomlObjectTrackingConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * * @return The automlObjectTrackingConfig. */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig + getAutomlObjectTrackingConfig(); /** + * + * *
    * Config for STREAMING_AUTOML_OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * + * .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfigOrBuilder + getAutomlObjectTrackingConfigOrBuilder(); /** + * + * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** + * + * *
    * Requested annotation feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1; + * * @return The feature. */ com.google.cloud.videointelligence.v1p3beta1.StreamingFeature getFeature(); /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return Whether the storageConfig field is set. */ boolean hasStorageConfig(); /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * + * * @return The storageConfig. */ com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig getStorageConfig(); /** + * + * *
    * Streaming storage option. By default: storage is disabled.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30; + * */ - com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder getStorageConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfigOrBuilder + getStorageConfigOrBuilder(); - public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.StreamingConfigCase getStreamingConfigCase(); + public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig.StreamingConfigCase + getStreamingConfigCase(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java similarity index 73% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java index fb6023234..2d1293dbe 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotation.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Annotations related to one detected OCR text snippet. This will contain the
  * corresponding text, confidence value, and frame level information for each
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextAnnotation}
  */
-public final class TextAnnotation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextAnnotation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextAnnotation)
     TextAnnotationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextAnnotation.newBuilder() to construct.
   private TextAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TextAnnotation() {
     text_ = "";
     segments_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private TextAnnotation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextAnnotation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextAnnotation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private TextAnnotation(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            text_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              segments_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              text_ = s;
+              break;
             }
-            segments_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextSegment.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                segments_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.TextSegment>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              segments_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.TextSegment.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private TextAnnotation(
     } 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)) {
         segments_ = java.util.Collections.unmodifiableList(segments_);
@@ -96,27 +118,33 @@ private TextAnnotation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class,
+            com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
+   *
+   *
    * 
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -125,29 +153,29 @@ public java.lang.String getText() { 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(); text_ = s; return s; } } /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -158,6 +186,8 @@ public java.lang.String getText() { public static final int SEGMENTS_FIELD_NUMBER = 2; private java.util.List segments_; /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -165,10 +195,13 @@ public java.lang.String getText() { * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -176,11 +209,13 @@ public java.util.List * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ @java.lang.Override - public java.util.List + public java.util.List getSegmentsOrBuilderList() { return segments_; } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -192,6 +227,8 @@ public int getSegmentsCount() { return segments_.size(); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -203,6 +240,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int return segments_.get(index); } /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -216,6 +255,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,7 @@ 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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -248,8 +287,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); } for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, segments_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,17 +297,16 @@ 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.videointelligence.v1p3beta1.TextAnnotation)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other = (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) obj; + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other = + (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) obj; - if (!getText() - .equals(other.getText())) return false; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getText().equals(other.getText())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,96 +330,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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; } /** + * + * *
    * Annotations related to one detected OCR text snippet. This will contain the
    * corresponding text, confidence value, and frame level information for each
@@ -391,21 +436,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextAnnotation}
    */
-  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.videointelligence.v1p3beta1.TextAnnotation)
       com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.class,
+              com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.newBuilder()
@@ -413,17 +460,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) {
         getSegmentsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,9 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor;
     }
 
     @java.lang.Override
@@ -460,7 +507,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TextAnnotation result = new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(this);
+      com.google.cloud.videointelligence.v1p3beta1.TextAnnotation result =
+          new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(this);
       int from_bitField0_ = bitField0_;
       result.text_ = text_;
       if (segmentsBuilder_ == null) {
@@ -480,38 +528,39 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation 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.videointelligence.v1p3beta1.TextAnnotation) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextAnnotation)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance())
+        return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
@@ -542,9 +592,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextAnnota
             segmentsBuilder_ = null;
             segments_ = other.segments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            segmentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSegmentsFieldBuilder() : null;
+            segmentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSegmentsFieldBuilder()
+                    : null;
           } else {
             segmentsBuilder_.addAllMessages(other.segments_);
           }
@@ -569,7 +620,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.TextAnnotation) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -578,22 +630,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object text_ = "";
     /**
+     *
+     *
      * 
      * The detected text.
      * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; 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(); text_ = s; return s; @@ -602,20 +657,21 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; 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); text_ = b; return b; } else { @@ -623,79 +679,95 @@ public java.lang.String getText() { } } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** + * + * *
      * The detected text.
      * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextSegment, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List getSegmentsList() { + public java.util.List + getSegmentsList() { if (segmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(segments_); } else { @@ -703,6 +775,8 @@ public java.util.List } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -717,6 +791,8 @@ public int getSegmentsCount() { } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -731,6 +807,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -752,6 +830,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -759,7 +839,8 @@ public Builder setSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder setSegments( - int index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.set(index, builderForValue.build()); @@ -770,6 +851,8 @@ public Builder setSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -790,6 +873,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.TextSegm return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -811,6 +896,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -829,6 +916,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -836,7 +925,8 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder addSegments( - int index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder builderForValue) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); segments_.add(index, builderForValue.build()); @@ -847,6 +937,8 @@ public Builder addSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -854,11 +946,11 @@ public Builder addSegments( * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public Builder addAllSegments( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentsBuilder_ == null) { ensureSegmentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_); onChanged(); } else { segmentsBuilder_.addAllMessages(values); @@ -866,6 +958,8 @@ public Builder addAllSegments( return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -883,6 +977,8 @@ public Builder clearSegments() { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -900,6 +996,8 @@ public Builder removeSegments(int index) { return this; } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -911,6 +1009,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder getSegme return getSegmentsFieldBuilder().getBuilder(index); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -920,19 +1020,23 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder getSegme public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder( int index) { if (segmentsBuilder_ == null) { - return segments_.get(index); } else { + return segments_.get(index); + } else { return segmentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> + getSegmentsOrBuilderList() { if (segmentsBuilder_ != null) { return segmentsBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1044,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm } } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -947,10 +1053,13 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegm * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegmentsBuilder() { - return getSegmentsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
@@ -959,37 +1068,43 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegme */ public com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder addSegmentsBuilder( int index) { - return getSegmentsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); + return getSegmentsFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()); } /** + * + * *
      * All video segments where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - public java.util.List - getSegmentsBuilderList() { + public java.util.List + getSegmentsBuilderList() { return getSegmentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextSegment, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder> getSegmentsFieldBuilder() { if (segmentsBuilder_ == null) { - segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextSegment, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder>( - segments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + segmentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextSegment, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder>( + segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); segments_ = null; } return segmentsBuilder_; } + @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); } @@ -999,12 +1114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextAnnotation) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextAnnotation) private static final com.google.cloud.videointelligence.v1p3beta1.TextAnnotation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextAnnotation(); } @@ -1013,16 +1128,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextAnnotation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextAnnotation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java index 29a8d5274..47b1eea00 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextAnnotationOrBuilder.java @@ -1,42 +1,66 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextAnnotationOrBuilder extends +public interface TextAnnotationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextAnnotation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
    * The detected text.
    * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - java.util.List - getSegmentsList(); + java.util.List getSegmentsList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -45,6 +69,8 @@ public interface TextAnnotationOrBuilder extends */ com.google.cloud.videointelligence.v1p3beta1.TextSegment getSegments(int index); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
@@ -53,21 +79,24 @@ public interface TextAnnotationOrBuilder extends */ int getSegmentsCount(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - java.util.List + java.util.List getSegmentsOrBuilderList(); /** + * + * *
    * All video segments where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextSegment segments = 2; */ - com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder getSegmentsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java similarity index 72% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java index 58e43caa6..c7502700e 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfig.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Config for TEXT_DETECTION.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextDetectionConfig} */ -public final class TextDetectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextDetectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) TextDetectionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextDetectionConfig.newBuilder() to construct. private TextDetectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextDetectionConfig() { languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; model_ = ""; @@ -26,16 +44,15 @@ private TextDetectionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TextDetectionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextDetectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private TextDetectionConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - languageHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + languageHints_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + languageHints_.add(s); + break; } - languageHints_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - model_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + model_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private TextDetectionConfig( } 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)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -94,22 +112,27 @@ private TextDetectionConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); } public static final int LANGUAGE_HINTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList languageHints_; /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -118,13 +141,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_; } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -133,12 +158,15 @@ private TextDetectionConfig(
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -147,6 +175,7 @@ public int getLanguageHintsCount() {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -154,6 +183,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -162,17 +193,19 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } public static final int MODEL_FIELD_NUMBER = 2; private volatile java.lang.Object model_; /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -180,6 +213,7 @@ public java.lang.String getLanguageHints(int index) {
    * 
* * string model = 2; + * * @return The model. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getModel() { 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(); model_ = s; return s; } } /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -203,16 +238,15 @@ public java.lang.String getModel() {
    * 
* * string model = 2; + * * @return The bytes for model. */ @java.lang.Override - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -221,6 +255,7 @@ public java.lang.String getModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +267,7 @@ 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 < languageHints_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageHints_.getRaw(i)); } @@ -268,17 +302,16 @@ 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.videointelligence.v1p3beta1.TextDetectionConfig)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other = (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) obj; + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other = + (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) obj; - if (!getLanguageHintsList() - .equals(other.getLanguageHintsList())) return false; - if (!getModel() - .equals(other.getModel())) return false; + if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false; + if (!getModel().equals(other.getModel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,117 +335,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig 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.videointelligence.v1p3beta1.TextDetectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextDetectionConfig} */ - 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.videointelligence.v1p3beta1.TextDetectionConfig) com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.class, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder() @@ -420,16 +463,15 @@ 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(); @@ -441,13 +483,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig + getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance(); } @@ -462,7 +505,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig build() @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig result = new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(this); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig result = + new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { languageHints_ = languageHints_.getUnmodifiableView(); @@ -478,46 +522,50 @@ public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig 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) { + 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.videointelligence.v1p3beta1.TextDetectionConfig) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance()) + return this; if (!other.languageHints_.isEmpty()) { if (languageHints_.isEmpty()) { languageHints_ = other.languageHints_; @@ -551,7 +599,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,16 +610,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList languageHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageHints_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageHintsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageHints_ = new com.google.protobuf.LazyStringArrayList(languageHints_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -578,13 +633,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - public com.google.protobuf.ProtocolStringList - getLanguageHintsList() { + public com.google.protobuf.ProtocolStringList getLanguageHintsList() { return languageHints_.getUnmodifiableView(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -593,12 +650,15 @@ private void ensureLanguageHintsIsMutable() {
      * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ public int getLanguageHintsCount() { return languageHints_.size(); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -607,6 +667,7 @@ public int getLanguageHintsCount() {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ @@ -614,6 +675,8 @@ public java.lang.String getLanguageHints(int index) { return languageHints_.get(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -622,14 +685,16 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - public com.google.protobuf.ByteString - getLanguageHintsBytes(int index) { + public com.google.protobuf.ByteString getLanguageHintsBytes(int index) { return languageHints_.getByteString(index); } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -638,21 +703,23 @@ public java.lang.String getLanguageHints(int index) {
      * 
* * repeated string language_hints = 1; + * * @param index The index to set the value at. * @param value The languageHints to set. * @return This builder for chaining. */ - public Builder setLanguageHints( - int index, java.lang.String value) { + public Builder setLanguageHints(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.set(index, value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -661,20 +728,22 @@ public Builder setLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param value The languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHints( - java.lang.String value) { + public Builder addLanguageHints(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageHintsIsMutable(); + throw new NullPointerException(); + } + ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -683,18 +752,19 @@ public Builder addLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @param values The languageHints to add. * @return This builder for chaining. */ - public Builder addAllLanguageHints( - java.lang.Iterable values) { + public Builder addAllLanguageHints(java.lang.Iterable values) { ensureLanguageHintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageHints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageHints_); onChanged(); return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -703,6 +773,7 @@ public Builder addAllLanguageHints(
      * 
* * repeated string language_hints = 1; + * * @return This builder for chaining. */ public Builder clearLanguageHints() { @@ -712,6 +783,8 @@ public Builder clearLanguageHints() { return this; } /** + * + * *
      * Language hint can be specified if the language to be detected is known a
      * priori. It can increase the accuracy of the detection. Language hint must
@@ -720,15 +793,15 @@ public Builder clearLanguageHints() {
      * 
* * repeated string language_hints = 1; + * * @param value The bytes of the languageHints to add. * @return This builder for chaining. */ - public Builder addLanguageHintsBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageHintsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageHintsIsMutable(); languageHints_.add(value); onChanged(); @@ -737,6 +810,8 @@ public Builder addLanguageHintsBytes( private java.lang.Object model_ = ""; /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -744,13 +819,13 @@ public Builder addLanguageHintsBytes(
      * 
* * string model = 2; + * * @return The model. */ public java.lang.String getModel() { java.lang.Object ref = model_; 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(); model_ = s; return s; @@ -759,6 +834,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -766,15 +843,14 @@ public java.lang.String getModel() {
      * 
* * string model = 2; + * * @return The bytes for model. */ - public com.google.protobuf.ByteString - getModelBytes() { + public com.google.protobuf.ByteString getModelBytes() { java.lang.Object ref = model_; 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); model_ = b; return b; } else { @@ -782,6 +858,8 @@ public java.lang.String getModel() { } } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -789,20 +867,22 @@ public java.lang.String getModel() {
      * 
* * string model = 2; + * * @param value The model to set. * @return This builder for chaining. */ - public Builder setModel( - java.lang.String value) { + public Builder setModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + model_ = value; onChanged(); return this; } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -810,15 +890,18 @@ public Builder setModel(
      * 
* * string model = 2; + * * @return This builder for chaining. */ public Builder clearModel() { - + model_ = getDefaultInstance().getModel(); onChanged(); return this; } /** + * + * *
      * Model to use for text detection.
      * Supported values: "builtin/stable" (the default if unset) and
@@ -826,23 +909,23 @@ public Builder clearModel() {
      * 
* * string model = 2; + * * @param value The bytes for model to set. * @return This builder for chaining. */ - public Builder setModelBytes( - com.google.protobuf.ByteString value) { + public Builder setModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = 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); } @@ -852,30 +935,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) - private static final com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig(); } - public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextDetectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextDetectionConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextDetectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextDetectionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -887,9 +972,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java index 86405e26d..3274f09b7 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextDetectionConfigOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextDetectionConfigOrBuilder extends +public interface TextDetectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextDetectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -16,11 +34,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return A list containing the languageHints. */ - java.util.List - getLanguageHintsList(); + java.util.List getLanguageHintsList(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -29,10 +49,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @return The count of languageHints. */ int getLanguageHintsCount(); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -41,11 +64,14 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the element to return. * @return The languageHints at the given index. */ java.lang.String getLanguageHints(int index); /** + * + * *
    * Language hint can be specified if the language to be detected is known a
    * priori. It can increase the accuracy of the detection. Language hint must
@@ -54,13 +80,15 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * repeated string language_hints = 1; + * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ - com.google.protobuf.ByteString - getLanguageHintsBytes(int index); + com.google.protobuf.ByteString getLanguageHintsBytes(int index); /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -68,10 +96,13 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * string model = 2; + * * @return The model. */ java.lang.String getModel(); /** + * + * *
    * Model to use for text detection.
    * Supported values: "builtin/stable" (the default if unset) and
@@ -79,8 +110,8 @@ public interface TextDetectionConfigOrBuilder extends
    * 
* * string model = 2; + * * @return The bytes for model. */ - com.google.protobuf.ByteString - getModelBytes(); + com.google.protobuf.ByteString getModelBytes(); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java similarity index 65% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java index 0e427153d..33bcc17c4 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrame.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video frame level annotation results for text annotation (OCR).
  * Contains information regarding timestamp and bounding box locations for the
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextFrame}
  */
-public final class TextFrame extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextFrame extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextFrame)
     TextFrameOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextFrame.newBuilder() to construct.
   private TextFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TextFrame() {
-  }
+
+  private TextFrame() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextFrame();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextFrame(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,39 +70,46 @@ private TextFrame(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder subBuilder = null;
-            if (rotatedBoundingBox_ != null) {
-              subBuilder = rotatedBoundingBox_.toBuilder();
-            }
-            rotatedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rotatedBoundingBox_);
-              rotatedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder
+                  subBuilder = null;
+              if (rotatedBoundingBox_ != null) {
+                subBuilder = rotatedBoundingBox_.toBuilder();
+              }
+              rotatedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rotatedBoundingBox_);
+                rotatedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,34 +117,41 @@ private TextFrame(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TextFrame.class, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TextFrame.class,
+            com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
   }
 
   public static final int ROTATED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotatedBoundingBox_;
   /**
+   *
+   *
    * 
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ @java.lang.Override @@ -129,37 +159,53 @@ public boolean hasRotatedBoundingBox() { return rotatedBoundingBox_ != null; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox() { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + getRotatedBoundingBox() { + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() + : rotatedBoundingBox_; } /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { return getRotatedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -167,11 +213,14 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -179,6 +228,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Timestamp of this frame.
    * 
@@ -191,6 +242,7 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +254,7 @@ 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 (rotatedBoundingBox_ != null) { output.writeMessage(1, getRotatedBoundingBox()); } @@ -220,12 +271,10 @@ public int getSerializedSize() { size = 0; if (rotatedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRotatedBoundingBox()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRotatedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,22 +284,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.videointelligence.v1p3beta1.TextFrame)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextFrame other = (com.google.cloud.videointelligence.v1p3beta1.TextFrame) obj; + com.google.cloud.videointelligence.v1p3beta1.TextFrame other = + (com.google.cloud.videointelligence.v1p3beta1.TextFrame) obj; if (hasRotatedBoundingBox() != other.hasRotatedBoundingBox()) return false; if (hasRotatedBoundingBox()) { - if (!getRotatedBoundingBox() - .equals(other.getRotatedBoundingBox())) return false; + if (!getRotatedBoundingBox().equals(other.getRotatedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +325,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextFrame 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; } /** + * + * *
    * Video frame level annotation results for text annotation (OCR).
    * Contains information regarding timestamp and bounding box locations for the
@@ -375,21 +431,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextFrame}
    */
-  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.videointelligence.v1p3beta1.TextFrame)
       com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TextFrame.class, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TextFrame.class,
+              com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TextFrame.newBuilder()
@@ -397,16 +455,15 @@ 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();
@@ -426,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +504,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TextFrame buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TextFrame result = new com.google.cloud.videointelligence.v1p3beta1.TextFrame(this);
+      com.google.cloud.videointelligence.v1p3beta1.TextFrame result =
+          new com.google.cloud.videointelligence.v1p3beta1.TextFrame(this);
       if (rotatedBoundingBoxBuilder_ == null) {
         result.rotatedBoundingBox_ = rotatedBoundingBox_;
       } else {
@@ -466,38 +524,39 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame 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.videointelligence.v1p3beta1.TextFrame) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextFrame)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextFrame) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextFrame other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance())
+        return this;
       if (other.hasRotatedBoundingBox()) {
         mergeRotatedBoundingBox(other.getRotatedBoundingBox());
       }
@@ -531,7 +591,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextFrame) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.TextFrame) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -543,41 +604,63 @@ public Builder mergeFrom(
 
     private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotatedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> rotatedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>
+        rotatedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ public boolean hasRotatedBoundingBox() { return rotatedBoundingBoxBuilder_ != null || rotatedBoundingBox_ != null; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + getRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { - return rotatedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + .getDefaultInstance() + : rotatedBoundingBox_; } else { return rotatedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { + public Builder setRotatedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -591,14 +674,19 @@ public Builder setRotatedBoundingBox(com.google.cloud.videointelligence.v1p3beta return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder setRotatedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder + builderForValue) { if (rotatedBoundingBoxBuilder_ == null) { rotatedBoundingBox_ = builderForValue.build(); onChanged(); @@ -609,17 +697,25 @@ public Builder setRotatedBoundingBox( return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { + public Builder mergeRotatedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly value) { if (rotatedBoundingBoxBuilder_ == null) { if (rotatedBoundingBox_ != null) { rotatedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder(rotatedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.newBuilder( + rotatedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { rotatedBoundingBox_ = value; } @@ -631,11 +727,15 @@ public Builder mergeRotatedBoundingBox(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ public Builder clearRotatedBoundingBox() { if (rotatedBoundingBoxBuilder_ == null) { @@ -649,48 +749,67 @@ public Builder clearRotatedBoundingBox() { return this; } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder getRotatedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder + getRotatedBoundingBoxBuilder() { + onChanged(); return getRotatedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder() { if (rotatedBoundingBoxBuilder_ != null) { return rotatedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return rotatedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.getDefaultInstance() : rotatedBoundingBox_; + return rotatedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly + .getDefaultInstance() + : rotatedBoundingBox_; } } /** + * + * *
      * Bounding polygon of the detected text for this frame.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder> getRotatedBoundingBoxFieldBuilder() { if (rotatedBoundingBoxBuilder_ == null) { - rotatedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>( - getRotatedBoundingBox(), - getParentForChildren(), - isClean()); + rotatedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder>( + getRotatedBoundingBox(), getParentForChildren(), isClean()); rotatedBoundingBox_ = null; } return rotatedBoundingBoxBuilder_; @@ -698,34 +817,47 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuil private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -746,14 +878,15 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
* * .google.protobuf.Duration time_offset = 2; */ - public Builder setTimeOffset( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) { if (timeOffsetBuilder_ == null) { timeOffset_ = builderForValue.build(); onChanged(); @@ -764,6 +897,8 @@ public Builder setTimeOffset( return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -774,7 +909,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { if (timeOffsetBuilder_ == null) { if (timeOffset_ != null) { timeOffset_ = - com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial(); } else { timeOffset_ = value; } @@ -786,6 +921,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -804,6 +941,8 @@ public Builder clearTimeOffset() { return this; } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -811,11 +950,13 @@ public Builder clearTimeOffset() { * .google.protobuf.Duration time_offset = 2; */ public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() { - + onChanged(); return getTimeOffsetFieldBuilder().getBuilder(); } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -826,11 +967,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { if (timeOffsetBuilder_ != null) { return timeOffsetBuilder_.getMessageOrBuilder(); } else { - return timeOffset_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } } /** + * + * *
      * Timestamp of this frame.
      * 
@@ -838,21 +982,24 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() { * .google.protobuf.Duration 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> getTimeOffsetFieldBuilder() { if (timeOffsetBuilder_ == null) { - timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeOffset(), - getParentForChildren(), - isClean()); + timeOffsetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTimeOffset(), getParentForChildren(), isClean()); timeOffset_ = null; } return timeOffsetBuilder_; } + @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); } @@ -862,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextFrame) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextFrame) private static final com.google.cloud.videointelligence.v1p3beta1.TextFrame DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextFrame(); } @@ -876,16 +1023,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextFrame getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextFrame parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextFrame(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextFrame parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextFrame(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,6 +1047,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java similarity index 57% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java index 09ca00733..083a5e796 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextFrameOrBuilder.java @@ -1,58 +1,97 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextFrameOrBuilder extends +public interface TextFrameOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextFrame) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return Whether the rotatedBoundingBox field is set. */ boolean hasRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * * @return The rotatedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly getRotatedBoundingBox(); /** + * + * *
    * Bounding polygon of the detected text for this frame.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly rotated_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder getRotatedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPolyOrBuilder + getRotatedBoundingBoxOrBuilder(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Timestamp of this frame.
    * 
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java similarity index 74% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java index 99afdc5e9..742d6abcc 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegment.java @@ -1,40 +1,57 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video segment level annotation results for text detection.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextSegment} */ -public final class TextSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TextSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TextSegment) TextSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TextSegment.newBuilder() to construct. private TextSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TextSegment() { frames_ = 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 TextSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TextSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,40 +71,49 @@ private TextSegment( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 21: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 21: { - - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + frames_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.TextFrame>(); + mutable_bitField0_ |= 0x00000001; + } + frames_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.TextFrame.parser(), + extensionRegistry)); + break; } - frames_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextFrame.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,8 +121,7 @@ private TextSegment( } 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)) { frames_ = java.util.Collections.unmodifiableList(frames_); @@ -105,27 +130,33 @@ private TextSegment( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -133,18 +164,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -159,12 +197,15 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg public static final int CONFIDENCE_FIELD_NUMBER = 2; private float confidence_; /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -175,6 +216,8 @@ public float getConfidence() { public static final int FRAMES_FIELD_NUMBER = 3; private java.util.List frames_; /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -186,6 +229,8 @@ public java.util.List ge return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -193,11 +238,13 @@ public java.util.List ge * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ @java.lang.Override - public java.util.List + public java.util.List getFramesOrBuilderList() { return frames_; } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -209,6 +256,8 @@ public int getFramesCount() { return frames_.size(); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -220,6 +269,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int inde return frames_.get(index); } /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -233,6 +284,7 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +296,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -265,16 +316,13 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_); } for (int i = 0; i < frames_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, frames_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, frames_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,23 +332,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.videointelligence.v1p3beta1.TextSegment)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TextSegment other = (com.google.cloud.videointelligence.v1p3beta1.TextSegment) obj; + com.google.cloud.videointelligence.v1p3beta1.TextSegment other = + (com.google.cloud.videointelligence.v1p3beta1.TextSegment) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (!getFramesList() - .equals(other.getFramesList())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (!getFramesList().equals(other.getFramesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,8 +363,7 @@ public int hashCode() { hash = (53 * hash) + getSegment().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); if (getFramesCount() > 0) { hash = (37 * hash) + FRAMES_FIELD_NUMBER; hash = (53 * hash) + getFramesList().hashCode(); @@ -329,117 +374,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextSegment 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; } /** + * + * *
    * Video segment level annotation results for text detection.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TextSegment} */ - 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.videointelligence.v1p3beta1.TextSegment) com.google.cloud.videointelligence.v1p3beta1.TextSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.TextSegment.class, + com.google.cloud.videointelligence.v1p3beta1.TextSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.TextSegment.newBuilder() @@ -447,17 +502,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) { getFramesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.TextSegment result = new com.google.cloud.videointelligence.v1p3beta1.TextSegment(this); + com.google.cloud.videointelligence.v1p3beta1.TextSegment result = + new com.google.cloud.videointelligence.v1p3beta1.TextSegment(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -525,38 +581,39 @@ public com.google.cloud.videointelligence.v1p3beta1.TextSegment 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.videointelligence.v1p3beta1.TextSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TextSegment) other); } else { super.mergeFrom(other); return this; @@ -564,7 +621,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.TextSegment.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -589,9 +647,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TextSegmen framesBuilder_ = null; frames_ = other.frames_; bitField0_ = (bitField0_ & ~0x00000001); - framesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFramesFieldBuilder() : null; + framesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFramesFieldBuilder() + : null; } else { framesBuilder_.addAllMessages(other.frames_); } @@ -616,7 +675,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TextSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.TextSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,38 +685,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -677,6 +751,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -695,6 +771,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -705,7 +783,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -717,6 +797,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -735,6 +817,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -742,26 +826,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment where a text snippet was detected.
      * 
@@ -769,27 +859,33 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return The confidence. */ @java.lang.Override @@ -797,50 +893,64 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Confidence for the track of detected text. It is calculated as the highest
      * over all frames where OCR detected text appears.
      * 
* * float confidence = 2; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } private java.util.List frames_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFramesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - frames_ = new java.util.ArrayList(frames_); + frames_ = + new java.util.ArrayList( + frames_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> framesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextFrame, + com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> + framesBuilder_; /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -855,6 +965,8 @@ public java.util.List ge } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -869,6 +981,8 @@ public int getFramesCount() { } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -883,6 +997,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int inde } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -904,6 +1020,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -922,6 +1040,8 @@ public Builder setFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -942,6 +1062,8 @@ public Builder addFrames(com.google.cloud.videointelligence.v1p3beta1.TextFrame return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -963,6 +1085,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -981,6 +1105,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -999,6 +1125,8 @@ public Builder addFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1006,11 +1134,11 @@ public Builder addFrames( * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ public Builder addAllFrames( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (framesBuilder_ == null) { ensureFramesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frames_); onChanged(); } else { framesBuilder_.addAllMessages(values); @@ -1018,6 +1146,8 @@ public Builder addAllFrames( return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1035,6 +1165,8 @@ public Builder clearFrames() { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1052,6 +1184,8 @@ public Builder removeFrames(int index) { return this; } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1063,6 +1197,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder getFramesB return getFramesFieldBuilder().getBuilder(index); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1072,19 +1208,22 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder getFramesB public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder( int index) { if (framesBuilder_ == null) { - return frames_.get(index); } else { + return frames_.get(index); + } else { return framesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - public java.util.List - getFramesOrBuilderList() { + public java.util.List + getFramesOrBuilderList() { if (framesBuilder_ != null) { return framesBuilder_.getMessageOrBuilderList(); } else { @@ -1092,6 +1231,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames } } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1099,10 +1240,12 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFrames * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesBuilder() { - return getFramesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder(com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
@@ -1111,37 +1254,43 @@ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesB */ public com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder addFramesBuilder( int index) { - return getFramesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); + return getFramesFieldBuilder() + .addBuilder( + index, com.google.cloud.videointelligence.v1p3beta1.TextFrame.getDefaultInstance()); } /** + * + * *
      * Information related to the frames where OCR detected text appears.
      * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - public java.util.List - getFramesBuilderList() { + public java.util.List + getFramesBuilderList() { return getFramesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextFrame, + com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder> getFramesFieldBuilder() { if (framesBuilder_ == null) { - framesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextFrame, com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder>( - frames_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + framesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextFrame, + com.google.cloud.videointelligence.v1p3beta1.TextFrame.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder>( + frames_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); frames_ = null; } return framesBuilder_; } + @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); } @@ -1151,12 +1300,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TextSegment) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TextSegment) private static final com.google.cloud.videointelligence.v1p3beta1.TextSegment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TextSegment(); } @@ -1165,16 +1314,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.TextSegment getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextSegment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextSegment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextSegment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,6 +1338,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.TextSegment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java similarity index 76% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java index 9c82ced45..b3782f1ba 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TextSegmentOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TextSegmentOrBuilder extends +public interface TextSegmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TextSegment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment where a text snippet was detected.
    * 
@@ -35,26 +59,32 @@ public interface TextSegmentOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Confidence for the track of detected text. It is calculated as the highest
    * over all frames where OCR detected text appears.
    * 
* * float confidence = 2; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - java.util.List - getFramesList(); + java.util.List getFramesList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -63,6 +93,8 @@ public interface TextSegmentOrBuilder extends */ com.google.cloud.videointelligence.v1p3beta1.TextFrame getFrames(int index); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
@@ -71,21 +103,24 @@ public interface TextSegmentOrBuilder extends */ int getFramesCount(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - java.util.List + java.util.List getFramesOrBuilderList(); /** + * + * *
    * Information related to the frames where OCR detected text appears.
    * 
* * repeated .google.cloud.videointelligence.v1p3beta1.TextFrame frames = 3; */ - com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder getFramesOrBuilder(int index); } diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java similarity index 61% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java index ec928206c..2eddf3e31 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObject.java @@ -1,9 +1,26 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * For tracking related features.
  * An object at time_offset with attributes, and located with
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TimestampedObject}
  */
-public final class TimestampedObject extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimestampedObject extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.TimestampedObject)
     TimestampedObjectOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimestampedObject.newBuilder() to construct.
   private TimestampedObject(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimestampedObject() {
     attributes_ = java.util.Collections.emptyList();
     landmarks_ = java.util.Collections.emptyList();
@@ -28,16 +46,15 @@ private TimestampedObject() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimestampedObject();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimestampedObject(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,57 +74,74 @@ private TimestampedObject(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder subBuilder = null;
-            if (normalizedBoundingBox_ != null) {
-              subBuilder = normalizedBoundingBox_.toBuilder();
-            }
-            normalizedBoundingBox_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(normalizedBoundingBox_);
-              normalizedBoundingBox_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder
+                  subBuilder = null;
+              if (normalizedBoundingBox_ != null) {
+                subBuilder = normalizedBoundingBox_.toBuilder();
+              }
+              normalizedBoundingBox_ =
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(normalizedBoundingBox_);
+                normalizedBoundingBox_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeOffset_ != null) {
-              subBuilder = timeOffset_.toBuilder();
-            }
-            timeOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeOffset_);
-              timeOffset_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeOffset_ != null) {
+                subBuilder = timeOffset_.toBuilder();
+              }
+              timeOffset_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeOffset_);
+                timeOffset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              attributes_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            attributes_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              landmarks_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                attributes_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              attributes_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(),
+                      extensionRegistry));
+              break;
             }
-            landmarks_.add(
-                input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                landmarks_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark>();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              landmarks_.add(
+                  input.readMessage(
+                      com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.parser(),
+                      extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,8 +149,7 @@ private TimestampedObject(
     } 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)) {
         attributes_ = java.util.Collections.unmodifiableList(attributes_);
@@ -128,27 +161,35 @@ private TimestampedObject(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class,
+            com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
   }
 
   public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER = 1;
   private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
   /**
+   *
+   *
    * 
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ @java.lang.Override @@ -156,38 +197,54 @@ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBox_ != null; } /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() + : normalizedBoundingBox_; } /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { return getNormalizedBoundingBox(); } public static final int TIME_OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Duration timeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ @java.lang.Override @@ -195,12 +252,15 @@ public boolean hasTimeOffset() { return timeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ @java.lang.Override @@ -208,6 +268,8 @@ public com.google.protobuf.Duration getTimeOffset() { return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -221,126 +283,172 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
   }
 
   public static final int ATTRIBUTES_FIELD_NUMBER = 3;
-  private java.util.List attributes_;
+  private java.util.List
+      attributes_;
   /**
+   *
+   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { return attributes_; } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesOrBuilderList() { return attributes_; } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder + getAttributesOrBuilder(int index) { return attributes_.get(index); } public static final int LANDMARKS_FIELD_NUMBER = 4; private java.util.List landmarks_; /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getLandmarksList() { + public java.util.List + getLandmarksList() { return landmarks_; } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> getLandmarksOrBuilderList() { return landmarks_; } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getLandmarksCount() { return landmarks_.size(); } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index) { return landmarks_.get(index); } /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder + getLandmarksOrBuilder(int index) { return landmarks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,8 +460,7 @@ 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 (normalizedBoundingBox_ != null) { output.writeMessage(1, getNormalizedBoundingBox()); } @@ -376,20 +483,17 @@ public int getSerializedSize() { size = 0; if (normalizedBoundingBox_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNormalizedBoundingBox()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNormalizedBoundingBox()); } if (timeOffset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeOffset()); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); } for (int i = 0; i < landmarks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, landmarks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, landmarks_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -399,27 +503,24 @@ 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.videointelligence.v1p3beta1.TimestampedObject)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other = (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) obj; + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other = + (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) obj; if (hasNormalizedBoundingBox() != other.hasNormalizedBoundingBox()) return false; if (hasNormalizedBoundingBox()) { - if (!getNormalizedBoundingBox() - .equals(other.getNormalizedBoundingBox())) return false; + if (!getNormalizedBoundingBox().equals(other.getNormalizedBoundingBox())) return false; } if (hasTimeOffset() != other.hasTimeOffset()) return false; if (hasTimeOffset()) { - if (!getTimeOffset() - .equals(other.getTimeOffset())) return false; + if (!getTimeOffset().equals(other.getTimeOffset())) return false; } - if (!getAttributesList() - .equals(other.getAttributesList())) return false; - if (!getLandmarksList() - .equals(other.getLandmarksList())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; + if (!getLandmarksList().equals(other.getLandmarksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -453,96 +554,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject 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.videointelligence.v1p3beta1.TimestampedObject prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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; } /** + * + * *
    * For tracking related features.
    * An object at time_offset with attributes, and located with
@@ -551,21 +660,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.TimestampedObject}
    */
-  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.videointelligence.v1p3beta1.TimestampedObject)
       com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.class,
+              com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.newBuilder()
@@ -573,18 +684,18 @@ 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) {
         getAttributesFieldBuilder();
         getLandmarksFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -616,13 +727,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstanceForType() {
+    public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject
+        getDefaultInstanceForType() {
       return com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance();
     }
 
@@ -637,7 +749,8 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.TimestampedObject result = new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(this);
+      com.google.cloud.videointelligence.v1p3beta1.TimestampedObject result =
+          new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(this);
       int from_bitField0_ = bitField0_;
       if (normalizedBoundingBoxBuilder_ == null) {
         result.normalizedBoundingBox_ = normalizedBoundingBox_;
@@ -675,38 +788,39 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject 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) {
+        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.videointelligence.v1p3beta1.TimestampedObject) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TimestampedObject)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -714,7 +828,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance())
+        return this;
       if (other.hasNormalizedBoundingBox()) {
         mergeNormalizedBoundingBox(other.getNormalizedBoundingBox());
       }
@@ -739,9 +855,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Timestampe
             attributesBuilder_ = null;
             attributes_ = other.attributes_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            attributesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAttributesFieldBuilder() : null;
+            attributesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAttributesFieldBuilder()
+                    : null;
           } else {
             attributesBuilder_.addAllMessages(other.attributes_);
           }
@@ -765,9 +882,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Timestampe
             landmarksBuilder_ = null;
             landmarks_ = other.landmarks_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            landmarksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLandmarksFieldBuilder() : null;
+            landmarksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLandmarksFieldBuilder()
+                    : null;
           } else {
             landmarksBuilder_.addAllMessages(other.landmarks_);
           }
@@ -792,7 +910,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.TimestampedObject)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -801,45 +921,69 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalizedBoundingBox_;
+    private com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox
+        normalizedBoundingBox_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> normalizedBoundingBoxBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>
+        normalizedBoundingBoxBuilder_;
     /**
+     *
+     *
      * 
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ public boolean hasNormalizedBoundingBox() { return normalizedBoundingBoxBuilder_ != null || normalizedBoundingBox_ != null; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + getNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { - return normalizedBoundingBox_ == null ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } else { return normalizedBoundingBoxBuilder_.getMessage(); } } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder setNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,14 +997,19 @@ public Builder setNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder setNormalizedBoundingBox( - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder + builderForValue) { if (normalizedBoundingBoxBuilder_ == null) { normalizedBoundingBox_ = builderForValue.build(); onChanged(); @@ -871,17 +1020,25 @@ public Builder setNormalizedBoundingBox( return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { + public Builder mergeNormalizedBoundingBox( + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox value) { if (normalizedBoundingBoxBuilder_ == null) { if (normalizedBoundingBox_ != null) { normalizedBoundingBox_ = - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder(normalizedBoundingBox_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.newBuilder( + normalizedBoundingBox_) + .mergeFrom(value) + .buildPartial(); } else { normalizedBoundingBox_ = value; } @@ -893,11 +1050,15 @@ public Builder mergeNormalizedBoundingBox(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ public Builder clearNormalizedBoundingBox() { if (normalizedBoundingBoxBuilder_ == null) { @@ -911,48 +1072,67 @@ public Builder clearNormalizedBoundingBox() { return this; } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder + getNormalizedBoundingBoxBuilder() { + onChanged(); return getNormalizedBoundingBoxFieldBuilder().getBuilder(); } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder() { if (normalizedBoundingBoxBuilder_ != null) { return normalizedBoundingBoxBuilder_.getMessageOrBuilder(); } else { - return normalizedBoundingBox_ == null ? - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.getDefaultInstance() : normalizedBoundingBox_; + return normalizedBoundingBox_ == null + ? com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox + .getDefaultInstance() + : normalizedBoundingBox_; } } /** + * + * *
      * Normalized Bounding box in a frame, where the object is located.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxFieldBuilder() { if (normalizedBoundingBoxBuilder_ == null) { - normalizedBoundingBoxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( - getNormalizedBoundingBox(), - getParentForChildren(), - isClean()); + normalizedBoundingBoxBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox.Builder, + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder>( + getNormalizedBoundingBox(), getParentForChildren(), isClean()); normalizedBoundingBox_ = null; } return normalizedBoundingBoxBuilder_; @@ -960,36 +1140,49 @@ public com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuild private com.google.protobuf.Duration timeOffset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeOffsetBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + timeOffsetBuilder_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ public boolean hasTimeOffset() { return timeOffsetBuilder_ != null || timeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
      * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ public com.google.protobuf.Duration getTimeOffset() { if (timeOffsetBuilder_ == null) { - return timeOffset_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeOffset_; + return timeOffset_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : timeOffset_; } else { return timeOffsetBuilder_.getMessage(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1011,6 +1204,8 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1018,8 +1213,7 @@ public Builder setTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration time_offset = 2;
      */
-    public Builder setTimeOffset(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeOffsetBuilder_ == null) {
         timeOffset_ = builderForValue.build();
         onChanged();
@@ -1030,6 +1224,8 @@ public Builder setTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1041,7 +1237,7 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       if (timeOffsetBuilder_ == null) {
         if (timeOffset_ != null) {
           timeOffset_ =
-            com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeOffset_).mergeFrom(value).buildPartial();
         } else {
           timeOffset_ = value;
         }
@@ -1053,6 +1249,8 @@ public Builder mergeTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1072,6 +1270,8 @@ public Builder clearTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1080,11 +1280,13 @@ public Builder clearTimeOffset() {
      * .google.protobuf.Duration time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getTimeOffsetBuilder() {
-      
+
       onChanged();
       return getTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1096,11 +1298,14 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
       if (timeOffsetBuilder_ != null) {
         return timeOffsetBuilder_.getMessageOrBuilder();
       } else {
-        return timeOffset_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeOffset_;
+        return timeOffset_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : timeOffset_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the video frame for this object.
@@ -1109,39 +1314,53 @@ public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder() {
      * .google.protobuf.Duration 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>
         getTimeOffsetFieldBuilder() {
       if (timeOffsetBuilder_ == null) {
-        timeOffsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeOffset(),
-                getParentForChildren(),
-                isClean());
+        timeOffsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeOffset(), getParentForChildren(), isClean());
         timeOffset_ = null;
       }
       return timeOffsetBuilder_;
     }
 
-    private java.util.List attributes_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        attributes_ = java.util.Collections.emptyList();
+
     private void ensureAttributesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        attributes_ = new java.util.ArrayList(attributes_);
+        attributes_ =
+            new java.util.ArrayList(
+                attributes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> attributesBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute,
+            com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>
+        attributesBuilder_;
 
     /**
+     *
+     *
      * 
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1149,11 +1368,15 @@ public java.util.List * Optional. The attributes of the object in the bounding box. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1163,11 +1386,15 @@ public int getAttributesCount() { } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1177,11 +1404,15 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttribu } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1198,14 +1429,19 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1216,13 +1452,18 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { + public Builder addAttributes( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1236,11 +1477,15 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.Detect return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1257,11 +1502,15 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { @@ -1275,14 +1524,19 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1293,18 +1547,22 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAttributes( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1312,11 +1570,15 @@ public Builder addAllAttributes( return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1329,11 +1591,15 @@ public Builder clearAttributes() { return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1346,39 +1612,53 @@ public Builder removeAttributes(int index) { return this; } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder getAttributesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + getAttributesBuilder(int index) { return getAttributesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder + getAttributesOrBuilder(int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); } else { + return attributes_.get(index); + } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1386,74 +1666,104 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder g } } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + addAttributesBuilder() { + return getAttributesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder( - int index) { - return getAttributesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + addAttributesBuilder(int index) { + return getAttributesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. The attributes of the object in the bounding box.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( - attributes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + attributesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( + attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } - private java.util.List landmarks_ = - java.util.Collections.emptyList(); + private java.util.List + landmarks_ = java.util.Collections.emptyList(); + private void ensureLandmarksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - landmarks_ = new java.util.ArrayList(landmarks_); + landmarks_ = + new java.util.ArrayList( + landmarks_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> landmarksBuilder_; + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> + landmarksBuilder_; /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getLandmarksList() { + public java.util.List + getLandmarksList() { if (landmarksBuilder_ == null) { return java.util.Collections.unmodifiableList(landmarks_); } else { @@ -1461,11 +1771,15 @@ public java.util.List * Optional. The detected landmarks. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getLandmarksCount() { if (landmarksBuilder_ == null) { @@ -1475,11 +1789,15 @@ public int getLandmarksCount() { } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1489,11 +1807,15 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmark } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLandmarks( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { @@ -1510,14 +1832,19 @@ public Builder setLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLandmarks( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); landmarks_.set(index, builderForValue.build()); @@ -1528,13 +1855,18 @@ public Builder setLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addLandmarks(com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { + public Builder addLandmarks( + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { if (landmarksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1548,11 +1880,15 @@ public Builder addLandmarks(com.google.cloud.videointelligence.v1p3beta1.Detecte return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark value) { @@ -1569,11 +1905,15 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { @@ -1587,14 +1927,19 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addLandmarks( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder builderForValue) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); landmarks_.add(index, builderForValue.build()); @@ -1605,18 +1950,22 @@ public Builder addLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllLandmarks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (landmarksBuilder_ == null) { ensureLandmarksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, landmarks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, landmarks_); onChanged(); } else { landmarksBuilder_.addAllMessages(values); @@ -1624,11 +1973,15 @@ public Builder addAllLandmarks( return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLandmarks() { if (landmarksBuilder_ == null) { @@ -1641,11 +1994,15 @@ public Builder clearLandmarks() { return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeLandmarks(int index) { if (landmarksBuilder_ == null) { @@ -1658,39 +2015,53 @@ public Builder removeLandmarks(int index) { return this; } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder getLandmarksBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder + getLandmarksBuilder(int index) { return getLandmarksFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder + getLandmarksOrBuilder(int index) { if (landmarksBuilder_ == null) { - return landmarks_.get(index); } else { + return landmarks_.get(index); + } else { return landmarksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getLandmarksOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> + getLandmarksOrBuilderList() { if (landmarksBuilder_ != null) { return landmarksBuilder_.getMessageOrBuilderList(); } else { @@ -1698,56 +2069,75 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder ge } } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder addLandmarksBuilder() { - return getLandmarksFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder + addLandmarksBuilder() { + return getLandmarksFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder addLandmarksBuilder( - int index) { - return getLandmarksFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder + addLandmarksBuilder(int index) { + return getLandmarksFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.getDefaultInstance()); } /** + * + * *
      * Optional. The detected landmarks.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getLandmarksBuilderList() { + public java.util.List + getLandmarksBuilderList() { return getLandmarksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder> getLandmarksFieldBuilder() { if (landmarksBuilder_ == null) { - landmarksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder>( - landmarks_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + landmarksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder>( + landmarks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); landmarks_ = null; } return landmarksBuilder_; } + @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); } @@ -1757,30 +2147,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.TimestampedObject) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.TimestampedObject) - private static final com.google.cloud.videointelligence.v1p3beta1.TimestampedObject DEFAULT_INSTANCE; + private static final com.google.cloud.videointelligence.v1p3beta1.TimestampedObject + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.TimestampedObject(); } - public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstance() { + public static com.google.cloud.videointelligence.v1p3beta1.TimestampedObject + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampedObject parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimestampedObject(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampedObject parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimestampedObject(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1792,9 +2184,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getDefaultInstanceForType() { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java index 8d3395279..13dc496a0 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TimestampedObjectOrBuilder.java @@ -1,60 +1,99 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TimestampedObjectOrBuilder extends +public interface TimestampedObjectOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.TimestampedObject) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return Whether the normalizedBoundingBox field is set. */ boolean hasNormalizedBoundingBox(); /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * * @return The normalizedBoundingBox. */ com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox getNormalizedBoundingBox(); /** + * + * *
    * Normalized Bounding box in a frame, where the object is located.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * + * .google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox normalized_bounding_box = 1; + * */ - com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBoxOrBuilder + getNormalizedBoundingBoxOrBuilder(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return Whether the timeOffset field is set. */ boolean hasTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
    * 
* * .google.protobuf.Duration time_offset = 2; + * * @return The timeOffset. */ com.google.protobuf.Duration getTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the video frame for this object.
@@ -65,89 +104,128 @@ public interface TimestampedObjectOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesList(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAttributesCount(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** + * + * *
    * Optional. The attributes of the object in the bounding box.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getLandmarksList(); + java.util.List getLandmarksList(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedLandmark getLandmarks(int index); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getLandmarksCount(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getLandmarksOrBuilderList(); /** + * + * *
    * Optional. The detected landmarks.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedLandmark landmarks = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedLandmarkOrBuilder getLandmarksOrBuilder( int index); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java similarity index 63% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java index c9a4fb3b0..59ef8819c 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Track.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * A track of an object instance.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Track} */ -public final class Track extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Track extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.Track) TrackOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Track.newBuilder() to construct. private Track(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Track() { timestampedObjects_ = java.util.Collections.emptyList(); attributes_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private Track() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Track(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Track( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,63 @@ private Track( case 0: done = true; break; - case 10: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + case 10: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timestampedObjects_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject>(); + mutable_bitField0_ |= 0x00000001; + } + timestampedObjects_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + attributes_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute>(); + mutable_bitField0_ |= 0x00000002; + } + attributes_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), + extensionRegistry)); + break; } - timestampedObjects_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - attributes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 37: + { + confidence_ = input.readFloat(); + break; } - attributes_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.parser(), extensionRegistry)); - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,8 +136,7 @@ private Track( } 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)) { timestampedObjects_ = java.util.Collections.unmodifiableList(timestampedObjects_); @@ -118,27 +148,33 @@ private Track( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Track.class, com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Track.class, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); } public static final int SEGMENT_FIELD_NUMBER = 1; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -146,18 +182,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment of a track.
    * 
@@ -170,133 +213,183 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg } public static final int TIMESTAMPED_OBJECTS_FIELD_NUMBER = 2; - private java.util.List timestampedObjects_; + private java.util.List + timestampedObjects_; /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public java.util.List getTimestampedObjectsList() { + public java.util.List + getTimestampedObjectsList() { return timestampedObjects_; } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> getTimestampedObjectsOrBuilderList() { return timestampedObjects_; } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override public int getTimestampedObjectsCount() { return timestampedObjects_.size(); } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects( + int index) { return timestampedObjects_.get(index); } /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder + getTimestampedObjectsOrBuilder(int index) { return timestampedObjects_.get(index); } public static final int ATTRIBUTES_FIELD_NUMBER = 3; - private java.util.List attributes_; + private java.util.List + attributes_; /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { return attributes_; } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesOrBuilderList() { return attributes_; } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { return attributes_.get(index); } /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder + getAttributesOrBuilder(int index) { return attributes_.get(index); } public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ @java.lang.Override @@ -305,6 +398,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +410,7 @@ 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 (segment_ != null) { output.writeMessage(1, getSegment()); } @@ -340,20 +433,17 @@ public int getSerializedSize() { size = 0; if (segment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSegment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSegment()); } for (int i = 0; i < timestampedObjects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, timestampedObjects_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, timestampedObjects_.get(i)); } for (int i = 0; i < attributes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, attributes_.get(i)); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -363,25 +453,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.videointelligence.v1p3beta1.Track)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.Track other = (com.google.cloud.videointelligence.v1p3beta1.Track) obj; + com.google.cloud.videointelligence.v1p3beta1.Track other = + (com.google.cloud.videointelligence.v1p3beta1.Track) obj; if (hasSegment() != other.hasSegment()) return false; if (hasSegment()) { - if (!getSegment() - .equals(other.getSegment())) return false; + if (!getSegment().equals(other.getSegment())) return false; } - if (!getTimestampedObjectsList() - .equals(other.getTimestampedObjectsList())) return false; - if (!getAttributesList() - .equals(other.getAttributesList())) return false; + if (!getTimestampedObjectsList().equals(other.getTimestampedObjectsList())) return false; + if (!getAttributesList().equals(other.getAttributesList())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -406,125 +493,133 @@ public int hashCode() { hash = (53 * hash) + getAttributesList().hashCode(); } hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Track parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.Track parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track 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; } /** + * + * *
    * A track of an object instance.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.Track} */ - 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.videointelligence.v1p3beta1.Track) com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.Track.class, com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.Track.class, + com.google.cloud.videointelligence.v1p3beta1.Track.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.Track.newBuilder() @@ -532,18 +627,18 @@ 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) { getTimestampedObjectsFieldBuilder(); getAttributesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; } @java.lang.Override @@ -592,7 +687,8 @@ public com.google.cloud.videointelligence.v1p3beta1.Track build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Track buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.Track result = new com.google.cloud.videointelligence.v1p3beta1.Track(this); + com.google.cloud.videointelligence.v1p3beta1.Track result = + new com.google.cloud.videointelligence.v1p3beta1.Track(this); int from_bitField0_ = bitField0_; if (segmentBuilder_ == null) { result.segment_ = segment_; @@ -626,38 +722,39 @@ public com.google.cloud.videointelligence.v1p3beta1.Track 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.videointelligence.v1p3beta1.Track) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Track)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.Track) other); } else { super.mergeFrom(other); return this; @@ -665,7 +762,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.Track.getDefaultInstance()) + return this; if (other.hasSegment()) { mergeSegment(other.getSegment()); } @@ -687,9 +785,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track othe timestampedObjectsBuilder_ = null; timestampedObjects_ = other.timestampedObjects_; bitField0_ = (bitField0_ & ~0x00000001); - timestampedObjectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTimestampedObjectsFieldBuilder() : null; + timestampedObjectsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTimestampedObjectsFieldBuilder() + : null; } else { timestampedObjectsBuilder_.addAllMessages(other.timestampedObjects_); } @@ -713,9 +812,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.Track othe attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); - attributesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttributesFieldBuilder() : null; + attributesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttributesFieldBuilder() + : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } @@ -743,7 +843,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.Track) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.Track) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,38 +853,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment of a track.
      * 
@@ -804,6 +919,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -822,6 +939,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -832,7 +951,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -844,6 +965,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -862,6 +985,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment of a track.
      * 
@@ -869,26 +994,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment of a track.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment of a track.
      * 
@@ -896,39 +1027,53 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List timestampedObjects_ = - java.util.Collections.emptyList(); + private java.util.List + timestampedObjects_ = java.util.Collections.emptyList(); + private void ensureTimestampedObjectsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timestampedObjects_ = new java.util.ArrayList(timestampedObjects_); + timestampedObjects_ = + new java.util.ArrayList( + timestampedObjects_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> timestampedObjectsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> + timestampedObjectsBuilder_; /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List getTimestampedObjectsList() { + public java.util.List + getTimestampedObjectsList() { if (timestampedObjectsBuilder_ == null) { return java.util.Collections.unmodifiableList(timestampedObjects_); } else { @@ -936,11 +1081,15 @@ public java.util.List * The object with timestamp and attributes per frame in the track. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public int getTimestampedObjectsCount() { if (timestampedObjectsBuilder_ == null) { @@ -950,13 +1099,18 @@ public int getTimestampedObjectsCount() { } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects( + int index) { if (timestampedObjectsBuilder_ == null) { return timestampedObjects_.get(index); } else { @@ -964,11 +1118,15 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimesta } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder setTimestampedObjects( int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { @@ -985,14 +1143,19 @@ public Builder setTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder setTimestampedObjects( - int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.set(index, builderForValue.build()); @@ -1003,13 +1166,18 @@ public Builder setTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { + public Builder addTimestampedObjects( + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { if (timestampedObjectsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1023,11 +1191,15 @@ public Builder addTimestampedObjects(com.google.cloud.videointelligence.v1p3beta return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject value) { @@ -1044,11 +1216,15 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { @@ -1062,14 +1238,19 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder addTimestampedObjects( - int index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder builderForValue) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); timestampedObjects_.add(index, builderForValue.build()); @@ -1080,18 +1261,22 @@ public Builder addTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder addAllTimestampedObjects( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (timestampedObjectsBuilder_ == null) { ensureTimestampedObjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timestampedObjects_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timestampedObjects_); onChanged(); } else { timestampedObjectsBuilder_.addAllMessages(values); @@ -1099,11 +1284,15 @@ public Builder addAllTimestampedObjects( return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder clearTimestampedObjects() { if (timestampedObjectsBuilder_ == null) { @@ -1116,11 +1305,15 @@ public Builder clearTimestampedObjects() { return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ public Builder removeTimestampedObjects(int index) { if (timestampedObjectsBuilder_ == null) { @@ -1133,39 +1326,53 @@ public Builder removeTimestampedObjects(int index) { return this; } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder getTimestampedObjectsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder + getTimestampedObjectsBuilder(int index) { return getTimestampedObjectsFieldBuilder().getBuilder(index); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder + getTimestampedObjectsOrBuilder(int index) { if (timestampedObjectsBuilder_ == null) { - return timestampedObjects_.get(index); } else { + return timestampedObjects_.get(index); + } else { return timestampedObjectsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List - getTimestampedObjectsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> + getTimestampedObjectsOrBuilderList() { if (timestampedObjectsBuilder_ != null) { return timestampedObjectsBuilder_.getMessageOrBuilderList(); } else { @@ -1173,45 +1380,67 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder g } } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder addTimestampedObjectsBuilder() { - return getTimestampedObjectsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder + addTimestampedObjectsBuilder() { + return getTimestampedObjectsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder addTimestampedObjectsBuilder( - int index) { - return getTimestampedObjectsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder + addTimestampedObjectsBuilder(int index) { + return getTimestampedObjectsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.getDefaultInstance()); } /** + * + * *
      * The object with timestamp and attributes per frame in the track.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - public java.util.List - getTimestampedObjectsBuilderList() { + public java.util.List + getTimestampedObjectsBuilderList() { return getTimestampedObjectsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder> getTimestampedObjectsFieldBuilder() { if (timestampedObjectsBuilder_ == null) { - timestampedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder>( + timestampedObjectsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder, + com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder>( timestampedObjects_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1221,26 +1450,37 @@ public com.google.cloud.videointelligence.v1p3beta1.TimestampedObject.Builder ad return timestampedObjectsBuilder_; } - private java.util.List attributes_ = - java.util.Collections.emptyList(); + private java.util.List + attributes_ = java.util.Collections.emptyList(); + private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - attributes_ = new java.util.ArrayList(attributes_); + attributes_ = + new java.util.ArrayList( + attributes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> attributesBuilder_; + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + attributesBuilder_; /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAttributesList() { + public java.util.List + getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { @@ -1248,11 +1488,15 @@ public java.util.List * Optional. Attributes in the track level. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAttributesCount() { if (attributesBuilder_ == null) { @@ -1262,11 +1506,15 @@ public int getAttributesCount() { } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index) { if (attributesBuilder_ == null) { @@ -1276,11 +1524,15 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttribu } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1297,14 +1549,19 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAttributes( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); @@ -1315,13 +1572,18 @@ public Builder setAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { + public Builder addAttributes( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1335,11 +1597,15 @@ public Builder addAttributes(com.google.cloud.videointelligence.v1p3beta1.Detect return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute value) { @@ -1356,11 +1622,15 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { @@ -1374,14 +1644,19 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAttributes( - int index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); @@ -1392,18 +1667,22 @@ public Builder addAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAttributes( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -1411,11 +1690,15 @@ public Builder addAllAttributes( return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAttributes() { if (attributesBuilder_ == null) { @@ -1428,11 +1711,15 @@ public Builder clearAttributes() { return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { @@ -1445,39 +1732,53 @@ public Builder removeAttributes(int index) { return this; } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder getAttributesBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + getAttributesBuilder(int index) { return getAttributesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder + getAttributesOrBuilder(int index) { if (attributesBuilder_ == null) { - return attributes_.get(index); } else { + return attributes_.get(index); + } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { @@ -1485,61 +1786,83 @@ public com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder g } } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder() { - return getAttributesFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + addAttributesBuilder() { + return getAttributesFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder addAttributesBuilder( - int index) { - return getAttributesFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder + addAttributesBuilder(int index) { + return getAttributesFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.getDefaultInstance()); } /** + * + * *
      * Optional. Attributes in the track level.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAttributesBuilderList() { + public java.util.List + getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( - attributes_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + attributesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute.Builder, + com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder>( + attributes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ @java.lang.Override @@ -1547,37 +1870,43 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The confidence score of the tracked object.
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; 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); } @@ -1587,12 +1916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.Track) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.Track) private static final com.google.cloud.videointelligence.v1p3beta1.Track DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.Track(); } @@ -1601,16 +1930,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.Track getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Track parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Track(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Track parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Track(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1625,6 +1954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.Track getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java similarity index 56% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java index 5ab0fb267..02af33f2f 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/TrackOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface TrackOrBuilder extends +public interface TrackOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.Track) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment of a track.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 1; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment of a track.
    * 
@@ -35,99 +59,142 @@ public interface TrackOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - java.util.List + java.util.List getTimestampedObjectsList(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ com.google.cloud.videointelligence.v1p3beta1.TimestampedObject getTimestampedObjects(int index); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ int getTimestampedObjectsCount(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - java.util.List + java.util.List getTimestampedObjectsOrBuilderList(); /** + * + * *
    * The object with timestamp and attributes per frame in the track.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TimestampedObject timestamped_objects = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder getTimestampedObjectsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.TimestampedObjectOrBuilder + getTimestampedObjectsOrBuilder(int index); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesList(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttribute getAttributes(int index); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAttributesCount(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAttributesOrBuilderList(); /** + * + * *
    * Optional. Attributes in the track level.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.videointelligence.v1p3beta1.DetectedAttribute attributes = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.videointelligence.v1p3beta1.DetectedAttributeOrBuilder getAttributesOrBuilder( int index); /** + * + * *
    * Optional. The confidence score of the tracked object.
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The confidence. */ float getConfidence(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java index c7671b0c0..e0a6e0a07 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java @@ -1,24 +1,42 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Annotation progress for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress} */ -public final class VideoAnnotationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) VideoAnnotationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationProgress.newBuilder() to construct. private VideoAnnotationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationProgress() { inputUri_ = ""; feature_ = 0; @@ -26,16 +44,15 @@ private VideoAnnotationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationProgress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,69 +71,79 @@ private VideoAnnotationProgress( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 16: { - - progressPercent_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + inputUri_ = s; + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + progressPercent_ = input.readInt32(); + break; } - - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 26: + { + 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; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - feature_ = rawValue; - break; - } - case 50: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); + feature_ = rawValue; + break; } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,35 +151,40 @@ private VideoAnnotationProgress( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -161,30 +193,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -195,12 +227,15 @@ public java.lang.String getInputUri() { public static final int PROGRESS_PERCENT_FIELD_NUMBER = 2; private int progressPercent_; /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -211,11 +246,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -223,11 +261,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ @java.lang.Override @@ -235,6 +276,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the request was received.
    * 
@@ -249,11 +292,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -261,11 +307,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -273,6 +322,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Time of the most recent update.
    * 
@@ -287,41 +338,55 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int FEATURE_FIELD_NUMBER = 5; private int feature_; /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The feature. */ - @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { + @java.lang.Override + public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = + com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED + : result; } public static final int SEGMENT_FIELD_NUMBER = 6; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -329,19 +394,26 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
@@ -355,6 +427,7 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -366,8 +439,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -380,7 +452,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (updateTime_ != null) {
       output.writeMessage(4, getUpdateTime());
     }
-    if (feature_ != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
+    if (feature_
+        != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, feature_);
     }
     if (segment_ != null) {
@@ -399,24 +472,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
     }
-    if (feature_ != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, feature_);
+    if (feature_
+        != com.google.cloud.videointelligence.v1p3beta1.Feature.FEATURE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, feature_);
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getSegment());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSegment());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -426,32 +495,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.videointelligence.v1p3beta1.VideoAnnotationProgress)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other =
+        (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) obj;
 
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
-    if (getProgressPercent()
-        != other.getProgressPercent()) return false;
+    if (!getInputUri().equals(other.getInputUri())) return false;
+    if (getProgressPercent() != other.getProgressPercent()) 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 (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (feature_ != other.feature_) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment()
-          .equals(other.getSegment())) return false;
+      if (!getSegment().equals(other.getSegment())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -488,134 +553,145 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress
+      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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress 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.videointelligence.v1p3beta1.VideoAnnotationProgress prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress 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;
   }
   /**
+   *
+   *
    * 
    * Annotation progress for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress} */ - 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.videointelligence.v1p3beta1.VideoAnnotationProgress) com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.class, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.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(); @@ -647,14 +723,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + .getDefaultInstance(); } @java.lang.Override @@ -668,7 +746,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buil @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress result = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress(this); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress result = + new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress(this); result.inputUri_ = inputUri_; result.progressPercent_ = progressPercent_; if (startTimeBuilder_ == null) { @@ -695,46 +774,51 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress buil 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.videointelligence.v1p3beta1.VideoAnnotationProgress) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -773,7 +857,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -785,19 +871,21 @@ public Builder mergeFrom( private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -806,21 +894,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -828,70 +917,80 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } - private int progressPercent_ ; + private int progressPercent_; /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ @java.lang.Override @@ -899,32 +998,38 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage processed thus far. Guaranteed to be
      * 100 when fully processed.
      * 
* * int32 progress_percent = 2; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { - + progressPercent_ = 0; onChanged(); return this; @@ -932,24 +1037,33 @@ public Builder clearProgressPercent() { 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_; /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -960,6 +1074,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the request was received.
      * 
@@ -980,14 +1096,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - 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(); @@ -998,6 +1115,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1008,7 +1127,7 @@ 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; } @@ -1020,6 +1139,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1038,6 +1159,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the request was received.
      * 
@@ -1045,11 +1168,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the request was received.
      * 
@@ -1060,11 +1185,12 @@ 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_; } } /** + * + * *
      * Time when the request was received.
      * 
@@ -1072,14 +1198,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ 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_; @@ -1087,34 +1216,47 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1135,14 +1277,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1153,6 +1296,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1163,7 +1308,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1175,6 +1320,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1193,6 +1340,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1200,11 +1349,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1215,11 +1366,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Time of the most recent update.
      * 
@@ -1227,14 +1381,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1242,55 +1399,71 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int feature_ = 0; /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ - @java.lang.Override public int getFeatureValue() { + @java.lang.Override + public int getFeatureValue() { return feature_; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @param value The enum numeric value on the wire for feature to set. * @return This builder for chaining. */ public Builder setFeatureValue(int value) { - + feature_ = value; onChanged(); return this; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The feature. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.Feature getFeature() { @SuppressWarnings("deprecation") - com.google.cloud.videointelligence.v1p3beta1.Feature result = com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); - return result == null ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED : result; + com.google.cloud.videointelligence.v1p3beta1.Feature result = + com.google.cloud.videointelligence.v1p3beta1.Feature.valueOf(feature_); + return result == null + ? com.google.cloud.videointelligence.v1p3beta1.Feature.UNRECOGNIZED + : result; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @param value The feature to set. * @return This builder for chaining. */ @@ -1298,22 +1471,25 @@ public Builder setFeature(com.google.cloud.videointelligence.v1p3beta1.Feature v if (value == null) { throw new NullPointerException(); } - + feature_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Specifies which feature is being tracked if the request contains more than
      * one feature.
      * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return This builder for chaining. */ public Builder clearFeature() { - + feature_ = 0; onChanged(); return this; @@ -1321,36 +1497,49 @@ public Builder clearFeature() { private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1372,6 +1561,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1391,6 +1582,8 @@ public Builder setSegment(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1402,7 +1595,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       if (segmentBuilder_ == null) {
         if (segment_ != null) {
           segment_ =
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial();
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           segment_ = value;
         }
@@ -1414,6 +1609,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1433,6 +1630,8 @@ public Builder clearSegment() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1441,11 +1640,13 @@ public Builder clearSegment() {
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() {
-      
+
       onChanged();
       return getSegmentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1453,15 +1654,19 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
      *
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
-    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() {
+    public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder
+        getSegmentOrBuilder() {
       if (segmentBuilder_ != null) {
         return segmentBuilder_.getMessageOrBuilder();
       } else {
-        return segment_ == null ?
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_;
+        return segment_ == null
+            ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()
+            : segment_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies which segment is being tracked if the request contains more than
      * one segment.
@@ -1470,21 +1675,24 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
         getSegmentFieldBuilder() {
       if (segmentBuilder_ == null) {
-        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                getSegment(),
-                getParentForChildren(),
-                isClean());
+        segmentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                getSegment(), getParentForChildren(), isClean());
         segment_ = null;
       }
       return segmentBuilder_;
     }
+
     @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);
     }
 
@@ -1494,30 +1702,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
-  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationProgress parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationProgress(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationProgress parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationProgress(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1529,9 +1739,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
index e6fe24780..a10f56620 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
@@ -1,64 +1,96 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoAnnotationProgressOrBuilder extends
+public interface VideoAnnotationProgressOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Approximate percentage processed thus far. Guaranteed to be
    * 100 when fully processed.
    * 
* * int32 progress_percent = 2; + * * @return The progressPercent. */ int getProgressPercent(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time when the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Time when the request was received.
    * 
@@ -68,24 +100,32 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Time of the most recent update.
    * 
@@ -95,47 +135,61 @@ public interface VideoAnnotationProgressOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The enum numeric value on the wire for feature. */ int getFeatureValue(); /** + * + * *
    * Specifies which feature is being tracked if the request contains more than
    * one feature.
    * 
* * .google.cloud.videointelligence.v1p3beta1.Feature feature = 5; + * * @return The feature. */ com.google.cloud.videointelligence.v1p3beta1.Feature getFeature(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Specifies which segment is being tracked if the request contains more than
    * one segment.
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
similarity index 64%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
index 507571139..4e43f98fd 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
@@ -1,24 +1,42 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Annotation results for a single video.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults} */ -public final class VideoAnnotationResults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) VideoAnnotationResultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoAnnotationResults.newBuilder() to construct. private VideoAnnotationResults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoAnnotationResults() { inputUri_ = ""; segmentLabelAnnotations_ = java.util.Collections.emptyList(); @@ -37,16 +55,15 @@ private VideoAnnotationResults() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoAnnotationResults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoAnnotationResults( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66,179 +83,260 @@ private VideoAnnotationResults( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - inputUri_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + inputUri_ = s; + break; } - segmentLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - shotLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segmentLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + segmentLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - frameLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - shotAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + shotLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000004; + } + shotLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder subBuilder = null; - if (explicitAnnotation_ != null) { - subBuilder = explicitAnnotation_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + frameLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000010; + } + frameLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - explicitAnnotation_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitAnnotation_); - explicitAnnotation_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + shotAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000040; + } + shotAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry)); + break; } + case 58: + { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder + subBuilder = null; + if (explicitAnnotation_ != null) { + subBuilder = explicitAnnotation_.toBuilder(); + } + explicitAnnotation_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitAnnotation_); + explicitAnnotation_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - 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; } + case 74: + { + 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; - } - case 82: { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; - if (segment_ != null) { - subBuilder = segment_.toBuilder(); - } - segment_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segment_); - segment_ = subBuilder.buildPartial(); + break; } + case 82: + { + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder subBuilder = null; + if (segment_ != null) { + subBuilder = segment_.toBuilder(); + } + segment_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segment_); + segment_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; + break; } - speechTranscriptions_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.parser(), extensionRegistry)); - break; - } - case 98: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - textAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + case 90: + { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + speechTranscriptions_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription>(); + mutable_bitField0_ |= 0x00000080; + } + speechTranscriptions_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.parser(), + extensionRegistry)); + break; } - textAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.parser(), extensionRegistry)); - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 98: + { + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + textAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation>(); + mutable_bitField0_ |= 0x00000100; + } + textAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.parser(), + extensionRegistry)); + break; } - faceDetectionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.parser(), extensionRegistry)); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { - objectAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; + case 106: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + faceDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation>(); + mutable_bitField0_ |= 0x00000020; + } + faceDetectionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.parser(), + extensionRegistry)); + break; } - objectAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.parser(), extensionRegistry)); - break; - } - case 154: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + case 114: + { + if (!((mutable_bitField0_ & 0x00000200) != 0)) { + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>(); + mutable_bitField0_ |= 0x00000200; + } + objectAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .parser(), + extensionRegistry)); + break; } - logoRecognitionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.parser(), extensionRegistry)); - break; - } - case 162: { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000800; + case 154: + { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { + logoRecognitionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation>(); + mutable_bitField0_ |= 0x00000400; + } + logoRecognitionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + .parser(), + extensionRegistry)); + break; } - personDetectionAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.parser(), extensionRegistry)); - break; - } - case 170: { - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder subBuilder = null; - if (celebrityRecognitionAnnotations_ != null) { - subBuilder = celebrityRecognitionAnnotations_.toBuilder(); - } - celebrityRecognitionAnnotations_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(celebrityRecognitionAnnotations_); - celebrityRecognitionAnnotations_ = subBuilder.buildPartial(); + case 162: + { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { + personDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation>(); + mutable_bitField0_ |= 0x00000800; + } + personDetectionAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + .parser(), + extensionRegistry)); + break; } + case 170: + { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder + subBuilder = null; + if (celebrityRecognitionAnnotations_ != null) { + subBuilder = celebrityRecognitionAnnotations_.toBuilder(); + } + celebrityRecognitionAnnotations_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(celebrityRecognitionAnnotations_); + celebrityRecognitionAnnotations_ = subBuilder.buildPartial(); + } - break; - } - case 186: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - segmentPresenceLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - case 194: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 186: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + segmentPresenceLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + segmentPresenceLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; } - shotPresenceLabelAnnotations_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 194: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + shotPresenceLabelAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>(); + mutable_bitField0_ |= 0x00000008; + } + shotPresenceLabelAnnotations_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -246,8 +344,7 @@ private VideoAnnotationResults( } 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)) { segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); @@ -268,49 +365,60 @@ private VideoAnnotationResults( textAnnotations_ = java.util.Collections.unmodifiableList(textAnnotations_); } if (((mutable_bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { objectAnnotations_ = java.util.Collections.unmodifiableList(objectAnnotations_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = + java.util.Collections.unmodifiableList(personDetectionAnnotations_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); } public static final int INPUT_URI_FIELD_NUMBER = 1; private volatile java.lang.Object inputUri_; /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ @java.lang.Override @@ -319,30 +427,30 @@ 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; } } /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @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 { @@ -353,11 +461,14 @@ public java.lang.String getInputUri() { public static final int SEGMENT_FIELD_NUMBER = 10; private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ @java.lang.Override @@ -365,18 +476,25 @@ public boolean hasSegment() { return segment_ != null; } /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return The segment. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } /** + * + * *
    * Video segment on which the annotation is run.
    * 
@@ -389,73 +507,100 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg } public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER = 2; - private java.util.List segmentLabelAnnotations_; + private java.util.List + segmentLabelAnnotations_; /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { return segmentLabelAnnotations_; } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList() { return segmentLabelAnnotations_; } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override public int getSegmentLabelAnnotationsCount() { return segmentLabelAnnotations_.size(); } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { return segmentLabelAnnotations_.get(index); } /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { return segmentLabelAnnotations_.get(index); } public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 23; - private java.util.List segmentPresenceLabelAnnotations_; + private java.util.List + segmentPresenceLabelAnnotations_; /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -465,13 +610,18 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public java.util.List getSegmentPresenceLabelAnnotationsList() { + public java.util.List + getSegmentPresenceLabelAnnotationsList() { return segmentPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -481,14 +631,19 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>
       getSegmentPresenceLabelAnnotationsOrBuilderList() {
     return segmentPresenceLabelAnnotations_;
   }
   /**
+   *
+   *
    * 
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -498,13 +653,17 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23;
+   * 
    */
   @java.lang.Override
   public int getSegmentPresenceLabelAnnotationsCount() {
     return segmentPresenceLabelAnnotations_.size();
   }
   /**
+   *
+   *
    * 
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -514,13 +673,18 @@ public int getSegmentPresenceLabelAnnotationsCount() {
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + getSegmentPresenceLabelAnnotations(int index) { return segmentPresenceLabelAnnotations_.get(index); } /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -530,82 +694,111 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPr
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index) { return segmentPresenceLabelAnnotations_.get(index); } public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER = 3; - private java.util.List shotLabelAnnotations_; + private java.util.List + shotLabelAnnotations_; /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { return shotLabelAnnotations_; } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList() { return shotLabelAnnotations_; } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override public int getShotLabelAnnotationsCount() { return shotLabelAnnotations_.size(); } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations( + int index) { return shotLabelAnnotations_.get(index); } /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { return shotLabelAnnotations_.get(index); } public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER = 24; - private java.util.List shotPresenceLabelAnnotations_; + private java.util.List + shotPresenceLabelAnnotations_; /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -614,13 +807,18 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public java.util.List getShotPresenceLabelAnnotationsList() { + public java.util.List + getShotPresenceLabelAnnotationsList() { return shotPresenceLabelAnnotations_; } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -629,14 +827,19 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>
       getShotPresenceLabelAnnotationsOrBuilderList() {
     return shotPresenceLabelAnnotations_;
   }
   /**
+   *
+   *
    * 
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -645,13 +848,17 @@ public java.util.List
    *
-   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
+   * 
+   * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24;
+   * 
    */
   @java.lang.Override
   public int getShotPresenceLabelAnnotationsCount() {
     return shotPresenceLabelAnnotations_.size();
   }
   /**
+   *
+   *
    * 
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -660,13 +867,18 @@ public int getShotPresenceLabelAnnotationsCount() {
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + getShotPresenceLabelAnnotations(int index) { return shotPresenceLabelAnnotations_.get(index); } /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -675,207 +887,281 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPrese
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index) { return shotPresenceLabelAnnotations_.get(index); } public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER = 4; - private java.util.List frameLabelAnnotations_; + private java.util.List + frameLabelAnnotations_; /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList() { return frameLabelAnnotations_; } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override public int getFrameLabelAnnotationsCount() { return frameLabelAnnotations_.size(); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { return frameLabelAnnotations_.get(index); } /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { return frameLabelAnnotations_.get(index); } public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER = 13; - private java.util.List faceDetectionAnnotations_; + private java.util.List + faceDetectionAnnotations_; /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public java.util.List getFaceDetectionAnnotationsList() { + public java.util.List + getFaceDetectionAnnotationsList() { return faceDetectionAnnotations_; } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList() { return faceDetectionAnnotations_; } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override public int getFaceDetectionAnnotationsCount() { return faceDetectionAnnotations_.size(); } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + getFaceDetectionAnnotations(int index) { return faceDetectionAnnotations_.get(index); } /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index) { return faceDetectionAnnotations_.get(index); } public static final int SHOT_ANNOTATIONS_FIELD_NUMBER = 6; - private java.util.List shotAnnotations_; + private java.util.List + shotAnnotations_; /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList() { return shotAnnotations_; } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public int getShotAnnotationsCount() { return shotAnnotations_.size(); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { return shotAnnotations_.get(index); } /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { return shotAnnotations_.get(index); } public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER = 7; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + explicitAnnotation_; /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ @java.lang.Override @@ -883,347 +1169,481 @@ public boolean hasExplicitAnnotation() { return explicitAnnotation_ != null; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getExplicitAnnotation() { + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { return getExplicitAnnotation(); } public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER = 11; - private java.util.List speechTranscriptions_; + private java.util.List + speechTranscriptions_; /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList() { return speechTranscriptions_; } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override public int getSpeechTranscriptionsCount() { return speechTranscriptions_.size(); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( + int index) { return speechTranscriptions_.get(index); } /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { return speechTranscriptions_.get(index); } public static final int TEXT_ANNOTATIONS_FIELD_NUMBER = 12; - private java.util.List textAnnotations_; + private java.util.List + textAnnotations_; /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public java.util.List getTextAnnotationsList() { + public java.util.List + getTextAnnotationsList() { return textAnnotations_; } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList() { return textAnnotations_; } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override public int getTextAnnotationsCount() { return textAnnotations_.size(); } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index) { return textAnnotations_.get(index); } /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder + getTextAnnotationsOrBuilder(int index) { return textAnnotations_.get(index); } public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER = 14; - private java.util.List objectAnnotations_; + private java.util.List + objectAnnotations_; /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList() { return objectAnnotations_; } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override public int getObjectAnnotationsCount() { return objectAnnotations_.size(); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index) { return objectAnnotations_.get(index); } /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { return objectAnnotations_.get(index); } public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 19; - private java.util.List logoRecognitionAnnotations_; + private java.util.List + logoRecognitionAnnotations_; /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public java.util.List getLogoRecognitionAnnotationsList() { + public java.util.List + getLogoRecognitionAnnotationsList() { return logoRecognitionAnnotations_; } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList() { return logoRecognitionAnnotations_; } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override public int getLogoRecognitionAnnotationsCount() { return logoRecognitionAnnotations_.size(); } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + getLogoRecognitionAnnotations(int index) { return logoRecognitionAnnotations_.get(index); } /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index) { return logoRecognitionAnnotations_.get(index); } public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER = 20; - private java.util.List personDetectionAnnotations_; + private java.util.List + personDetectionAnnotations_; /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public java.util.List getPersonDetectionAnnotationsList() { + public java.util.List + getPersonDetectionAnnotationsList() { return personDetectionAnnotations_; } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList() { return personDetectionAnnotations_; } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override public int getPersonDetectionAnnotationsCount() { return personDetectionAnnotations_.size(); } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getPersonDetectionAnnotations(int index) { return personDetectionAnnotations_.get(index); } /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index) { return personDetectionAnnotations_.get(index); } public static final int CELEBRITY_RECOGNITION_ANNOTATIONS_FIELD_NUMBER = 21; - private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrityRecognitionAnnotations_; + private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + celebrityRecognitionAnnotations_; /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return Whether the celebrityRecognitionAnnotations field is set. */ @java.lang.Override @@ -1231,38 +1651,55 @@ public boolean hasCelebrityRecognitionAnnotations() { return celebrityRecognitionAnnotations_ != null; } /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return The celebrityRecognitionAnnotations. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations() { - return celebrityRecognitionAnnotations_ == null ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getCelebrityRecognitionAnnotations() { + return celebrityRecognitionAnnotations_ == null + ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .getDefaultInstance() + : celebrityRecognitionAnnotations_; } /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder + getCelebrityRecognitionAnnotationsOrBuilder() { return getCelebrityRecognitionAnnotations(); } public static final int ERROR_FIELD_NUMBER = 9; private com.google.rpc.Status error_; /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1270,12 +1707,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ @java.lang.Override @@ -1283,6 +1723,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
@@ -1296,6 +1738,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1307,8 +1750,7 @@ 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(inputUri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
     }
@@ -1373,68 +1815,72 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputUri_);
     }
     for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, segmentLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, segmentLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, shotLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, shotLabelAnnotations_.get(i));
     }
     for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, frameLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, frameLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, shotAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, shotAnnotations_.get(i));
     }
     if (explicitAnnotation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExplicitAnnotation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExplicitAnnotation());
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getError());
     }
     if (segment_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, getSegment());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSegment());
     }
     for (int i = 0; i < speechTranscriptions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, speechTranscriptions_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              11, speechTranscriptions_.get(i));
     }
     for (int i = 0; i < textAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, textAnnotations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, textAnnotations_.get(i));
     }
     for (int i = 0; i < faceDetectionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(13, faceDetectionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              13, faceDetectionAnnotations_.get(i));
     }
     for (int i = 0; i < objectAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, objectAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(14, objectAnnotations_.get(i));
     }
     for (int i = 0; i < logoRecognitionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, logoRecognitionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              19, logoRecognitionAnnotations_.get(i));
     }
     for (int i = 0; i < personDetectionAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, personDetectionAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              20, personDetectionAnnotations_.get(i));
     }
     if (celebrityRecognitionAnnotations_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(21, getCelebrityRecognitionAnnotations());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              21, getCelebrityRecognitionAnnotations());
     }
     for (int i = 0; i < segmentPresenceLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, segmentPresenceLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              23, segmentPresenceLabelAnnotations_.get(i));
     }
     for (int i = 0; i < shotPresenceLabelAnnotations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(24, shotPresenceLabelAnnotations_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              24, shotPresenceLabelAnnotations_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1444,58 +1890,50 @@ 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.videointelligence.v1p3beta1.VideoAnnotationResults)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other =
+        (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) obj;
 
-    if (!getInputUri()
-        .equals(other.getInputUri())) return false;
+    if (!getInputUri().equals(other.getInputUri())) return false;
     if (hasSegment() != other.hasSegment()) return false;
     if (hasSegment()) {
-      if (!getSegment()
-          .equals(other.getSegment())) return false;
+      if (!getSegment().equals(other.getSegment())) return false;
     }
-    if (!getSegmentLabelAnnotationsList()
-        .equals(other.getSegmentLabelAnnotationsList())) return false;
+    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
+      return false;
     if (!getSegmentPresenceLabelAnnotationsList()
         .equals(other.getSegmentPresenceLabelAnnotationsList())) return false;
-    if (!getShotLabelAnnotationsList()
-        .equals(other.getShotLabelAnnotationsList())) return false;
-    if (!getShotPresenceLabelAnnotationsList()
-        .equals(other.getShotPresenceLabelAnnotationsList())) return false;
-    if (!getFrameLabelAnnotationsList()
-        .equals(other.getFrameLabelAnnotationsList())) return false;
-    if (!getFaceDetectionAnnotationsList()
-        .equals(other.getFaceDetectionAnnotationsList())) return false;
-    if (!getShotAnnotationsList()
-        .equals(other.getShotAnnotationsList())) return false;
+    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
+    if (!getShotPresenceLabelAnnotationsList().equals(other.getShotPresenceLabelAnnotationsList()))
+      return false;
+    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
+    if (!getFaceDetectionAnnotationsList().equals(other.getFaceDetectionAnnotationsList()))
+      return false;
+    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
     if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
     if (hasExplicitAnnotation()) {
-      if (!getExplicitAnnotation()
-          .equals(other.getExplicitAnnotation())) return false;
-    }
-    if (!getSpeechTranscriptionsList()
-        .equals(other.getSpeechTranscriptionsList())) return false;
-    if (!getTextAnnotationsList()
-        .equals(other.getTextAnnotationsList())) return false;
-    if (!getObjectAnnotationsList()
-        .equals(other.getObjectAnnotationsList())) return false;
-    if (!getLogoRecognitionAnnotationsList()
-        .equals(other.getLogoRecognitionAnnotationsList())) return false;
-    if (!getPersonDetectionAnnotationsList()
-        .equals(other.getPersonDetectionAnnotationsList())) return false;
-    if (hasCelebrityRecognitionAnnotations() != other.hasCelebrityRecognitionAnnotations()) return false;
+      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
+    }
+    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
+    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
+    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
+    if (!getLogoRecognitionAnnotationsList().equals(other.getLogoRecognitionAnnotationsList()))
+      return false;
+    if (!getPersonDetectionAnnotationsList().equals(other.getPersonDetectionAnnotationsList()))
+      return false;
+    if (hasCelebrityRecognitionAnnotations() != other.hasCelebrityRecognitionAnnotations())
+      return false;
     if (hasCelebrityRecognitionAnnotations()) {
-      if (!getCelebrityRecognitionAnnotations()
-          .equals(other.getCelebrityRecognitionAnnotations())) return false;
+      if (!getCelebrityRecognitionAnnotations().equals(other.getCelebrityRecognitionAnnotations()))
+        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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1580,132 +2018,143 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults
+      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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults 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.videointelligence.v1p3beta1.VideoAnnotationResults prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults 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;
   }
   /**
+   *
+   *
    * 
    * Annotation results for a single video.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults} */ - 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.videointelligence.v1p3beta1.VideoAnnotationResults) com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.class, + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.Builder.class); } - // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.newBuilder() + // Construct using + // com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.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) { getSegmentLabelAnnotationsFieldBuilder(); getSegmentPresenceLabelAnnotationsFieldBuilder(); getShotLabelAnnotationsFieldBuilder(); @@ -1720,6 +2169,7 @@ private void maybeForceBuilderInitialization() { getPersonDetectionAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1825,14 +2275,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; } @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstanceForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance(); + public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults + getDefaultInstanceForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults + .getDefaultInstance(); } @java.lang.Override @@ -1846,7 +2298,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults result = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults(this); + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults result = + new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults(this); int from_bitField0_ = bitField0_; result.inputUri_ = inputUri_; if (segmentBuilder_ == null) { @@ -1856,7 +2309,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (segmentLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000001); } result.segmentLabelAnnotations_ = segmentLabelAnnotations_; @@ -1865,7 +2319,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000002); } result.segmentPresenceLabelAnnotations_ = segmentPresenceLabelAnnotations_; @@ -1883,7 +2338,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (shotPresenceLabelAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); bitField0_ = (bitField0_ & ~0x00000008); } result.shotPresenceLabelAnnotations_ = shotPresenceLabelAnnotations_; @@ -1901,7 +2357,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (faceDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = java.util.Collections.unmodifiableList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + java.util.Collections.unmodifiableList(faceDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000020); } result.faceDetectionAnnotations_ = faceDetectionAnnotations_; @@ -1951,7 +2408,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (logoRecognitionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); bitField0_ = (bitField0_ & ~0x00000400); } result.logoRecognitionAnnotations_ = logoRecognitionAnnotations_; @@ -1960,7 +2418,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build } if (personDetectionAnnotationsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = java.util.Collections.unmodifiableList(personDetectionAnnotations_); + personDetectionAnnotations_ = + java.util.Collections.unmodifiableList(personDetectionAnnotations_); bitField0_ = (bitField0_ & ~0x00000800); } result.personDetectionAnnotations_ = personDetectionAnnotations_; @@ -1985,46 +2444,51 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults build 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.videointelligence.v1p3beta1.VideoAnnotationResults) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)other); + return mergeFrom( + (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults other) { + if (other + == com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults + .getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); @@ -2050,9 +2514,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot segmentLabelAnnotationsBuilder_ = null; segmentLabelAnnotations_ = other.segmentLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000001); - segmentLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentLabelAnnotationsFieldBuilder() : null; + segmentLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentLabelAnnotationsFieldBuilder() + : null; } else { segmentLabelAnnotationsBuilder_.addAllMessages(other.segmentLabelAnnotations_); } @@ -2076,11 +2541,13 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot segmentPresenceLabelAnnotationsBuilder_ = null; segmentPresenceLabelAnnotations_ = other.segmentPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - segmentPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentPresenceLabelAnnotationsFieldBuilder() : null; + segmentPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentPresenceLabelAnnotationsFieldBuilder() + : null; } else { - segmentPresenceLabelAnnotationsBuilder_.addAllMessages(other.segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotationsBuilder_.addAllMessages( + other.segmentPresenceLabelAnnotations_); } } } @@ -2102,9 +2569,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot shotLabelAnnotationsBuilder_ = null; shotLabelAnnotations_ = other.shotLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000004); - shotLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotLabelAnnotationsFieldBuilder() : null; + shotLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotLabelAnnotationsFieldBuilder() + : null; } else { shotLabelAnnotationsBuilder_.addAllMessages(other.shotLabelAnnotations_); } @@ -2128,11 +2596,13 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot shotPresenceLabelAnnotationsBuilder_ = null; shotPresenceLabelAnnotations_ = other.shotPresenceLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000008); - shotPresenceLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotPresenceLabelAnnotationsFieldBuilder() : null; + shotPresenceLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotPresenceLabelAnnotationsFieldBuilder() + : null; } else { - shotPresenceLabelAnnotationsBuilder_.addAllMessages(other.shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotationsBuilder_.addAllMessages( + other.shotPresenceLabelAnnotations_); } } } @@ -2154,9 +2624,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot frameLabelAnnotationsBuilder_ = null; frameLabelAnnotations_ = other.frameLabelAnnotations_; bitField0_ = (bitField0_ & ~0x00000010); - frameLabelAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFrameLabelAnnotationsFieldBuilder() : null; + frameLabelAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFrameLabelAnnotationsFieldBuilder() + : null; } else { frameLabelAnnotationsBuilder_.addAllMessages(other.frameLabelAnnotations_); } @@ -2180,9 +2651,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot faceDetectionAnnotationsBuilder_ = null; faceDetectionAnnotations_ = other.faceDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000020); - faceDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFaceDetectionAnnotationsFieldBuilder() : null; + faceDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFaceDetectionAnnotationsFieldBuilder() + : null; } else { faceDetectionAnnotationsBuilder_.addAllMessages(other.faceDetectionAnnotations_); } @@ -2206,9 +2678,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot shotAnnotationsBuilder_ = null; shotAnnotations_ = other.shotAnnotations_; bitField0_ = (bitField0_ & ~0x00000040); - shotAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getShotAnnotationsFieldBuilder() : null; + shotAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getShotAnnotationsFieldBuilder() + : null; } else { shotAnnotationsBuilder_.addAllMessages(other.shotAnnotations_); } @@ -2235,9 +2708,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot speechTranscriptionsBuilder_ = null; speechTranscriptions_ = other.speechTranscriptions_; bitField0_ = (bitField0_ & ~0x00000080); - speechTranscriptionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpeechTranscriptionsFieldBuilder() : null; + speechTranscriptionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSpeechTranscriptionsFieldBuilder() + : null; } else { speechTranscriptionsBuilder_.addAllMessages(other.speechTranscriptions_); } @@ -2261,9 +2735,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot textAnnotationsBuilder_ = null; textAnnotations_ = other.textAnnotations_; bitField0_ = (bitField0_ & ~0x00000100); - textAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTextAnnotationsFieldBuilder() : null; + textAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTextAnnotationsFieldBuilder() + : null; } else { textAnnotationsBuilder_.addAllMessages(other.textAnnotations_); } @@ -2287,9 +2762,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot objectAnnotationsBuilder_ = null; objectAnnotations_ = other.objectAnnotations_; bitField0_ = (bitField0_ & ~0x00000200); - objectAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectAnnotationsFieldBuilder() : null; + objectAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getObjectAnnotationsFieldBuilder() + : null; } else { objectAnnotationsBuilder_.addAllMessages(other.objectAnnotations_); } @@ -2313,9 +2789,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot logoRecognitionAnnotationsBuilder_ = null; logoRecognitionAnnotations_ = other.logoRecognitionAnnotations_; bitField0_ = (bitField0_ & ~0x00000400); - logoRecognitionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogoRecognitionAnnotationsFieldBuilder() : null; + logoRecognitionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLogoRecognitionAnnotationsFieldBuilder() + : null; } else { logoRecognitionAnnotationsBuilder_.addAllMessages(other.logoRecognitionAnnotations_); } @@ -2339,9 +2816,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoAnnot personDetectionAnnotationsBuilder_ = null; personDetectionAnnotations_ = other.personDetectionAnnotations_; bitField0_ = (bitField0_ & ~0x00000800); - personDetectionAnnotationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPersonDetectionAnnotationsFieldBuilder() : null; + personDetectionAnnotationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPersonDetectionAnnotationsFieldBuilder() + : null; } else { personDetectionAnnotationsBuilder_.addAllMessages(other.personDetectionAnnotations_); } @@ -2372,7 +2850,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2381,23 +2861,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object inputUri_ = ""; /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -2406,21 +2889,22 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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 { @@ -2428,57 +2912,64 @@ public java.lang.String getInputUri() { } } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @return This builder for chaining. */ public Builder clearInputUri() { - + inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** + * + * *
      * Video file location in
      * [Cloud Storage](https://cloud.google.com/storage/).
      * 
* * string input_uri = 1; + * * @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; @@ -2486,34 +2977,47 @@ public Builder setInputUriBytes( private com.google.cloud.videointelligence.v1p3beta1.VideoSegment segment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentBuilder_; /** + * + * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ public boolean hasSegment() { return segmentBuilder_ != null || segment_ != null; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return The segment. */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment() { if (segmentBuilder_ == null) { - return segment_ == null ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } else { return segmentBuilder_.getMessage(); } } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2534,6 +3038,8 @@ public Builder setSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSegm return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2552,6 +3058,8 @@ public Builder setSegment( return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2562,7 +3070,9 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe if (segmentBuilder_ == null) { if (segment_ != null) { segment_ = - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder(segment_) + .mergeFrom(value) + .buildPartial(); } else { segment_ = value; } @@ -2574,6 +3084,8 @@ public Builder mergeSegment(com.google.cloud.videointelligence.v1p3beta1.VideoSe return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2592,6 +3104,8 @@ public Builder clearSegment() { return this; } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2599,26 +3113,32 @@ public Builder clearSegment() { * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegmentBuilder() { - + onChanged(); return getSegmentFieldBuilder().getBuilder(); } /** + * + * *
      * Video segment on which the annotation is run.
      * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getSegmentOrBuilder() { if (segmentBuilder_ != null) { return segmentBuilder_.getMessageOrBuilder(); } else { - return segment_ == null ? - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() : segment_; + return segment_ == null + ? com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance() + : segment_; } } /** + * + * *
      * Video segment on which the annotation is run.
      * 
@@ -2626,40 +3146,54 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getSegmentFieldBuilder() { if (segmentBuilder_ == null) { - segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( - getSegment(), - getParentForChildren(), - isClean()); + segmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + getSegment(), getParentForChildren(), isClean()); segment_ = null; } return segmentBuilder_; } - private java.util.List segmentLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segmentLabelAnnotations_ = new java.util.ArrayList(segmentLabelAnnotations_); + segmentLabelAnnotations_ = + new java.util.ArrayList( + segmentLabelAnnotations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> segmentLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + segmentLabelAnnotationsBuilder_; /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List getSegmentLabelAnnotationsList() { + public java.util.List + getSegmentLabelAnnotationsList() { if (segmentLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentLabelAnnotations_); } else { @@ -2667,12 +3201,16 @@ public java.util.List * Topical label annotations on video level or user-specified segment level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public int getSegmentLabelAnnotationsCount() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2682,14 +3220,19 @@ public int getSegmentLabelAnnotationsCount() { } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( + int index) { if (segmentLabelAnnotationsBuilder_ == null) { return segmentLabelAnnotations_.get(index); } else { @@ -2697,12 +3240,16 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLa } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -2719,15 +3266,20 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder setSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.set(index, builderForValue.build()); @@ -2738,14 +3290,19 @@ public Builder setSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addSegmentLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (segmentLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2759,12 +3316,16 @@ public Builder addSegmentLabelAnnotations(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -2781,12 +3342,16 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -2800,15 +3365,20 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addSegmentLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); segmentLabelAnnotations_.add(index, builderForValue.build()); @@ -2819,19 +3389,23 @@ public Builder addSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder addAllSegmentLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentLabelAnnotationsBuilder_ == null) { ensureSegmentLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, segmentLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segmentLabelAnnotations_); onChanged(); } else { segmentLabelAnnotationsBuilder_.addAllMessages(values); @@ -2839,12 +3413,16 @@ public Builder addAllSegmentLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder clearSegmentLabelAnnotations() { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2857,12 +3435,16 @@ public Builder clearSegmentLabelAnnotations() { return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ public Builder removeSegmentLabelAnnotations(int index) { if (segmentLabelAnnotationsBuilder_ == null) { @@ -2875,42 +3457,56 @@ public Builder removeSegmentLabelAnnotations(int index) { return this; } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getSegmentLabelAnnotationsBuilder(int index) { return getSegmentLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index) { if (segmentLabelAnnotationsBuilder_ == null) { - return segmentLabelAnnotations_.get(index); } else { + return segmentLabelAnnotations_.get(index); + } else { return segmentLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getSegmentLabelAnnotationsOrBuilderList() { if (segmentLabelAnnotationsBuilder_ != null) { return segmentLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -2918,48 +3514,70 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder() { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder() { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder( - int index) { - return getSegmentLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addSegmentLabelAnnotationsBuilder(int index) { + return getSegmentLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - public java.util.List - getSegmentLabelAnnotationsBuilderList() { + public java.util.List + getSegmentLabelAnnotationsBuilderList() { return getSegmentLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getSegmentLabelAnnotationsFieldBuilder() { if (segmentLabelAnnotationsBuilder_ == null) { - segmentLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + segmentLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( segmentLabelAnnotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2969,19 +3587,27 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS return segmentLabelAnnotationsBuilder_; } - private java.util.List segmentPresenceLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + segmentPresenceLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureSegmentPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - segmentPresenceLabelAnnotations_ = new java.util.ArrayList(segmentPresenceLabelAnnotations_); + segmentPresenceLabelAnnotations_ = + new java.util.ArrayList( + segmentPresenceLabelAnnotations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> segmentPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + segmentPresenceLabelAnnotationsBuilder_; /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -2991,9 +3617,12 @@ private void ensureSegmentPresenceLabelAnnotationsIsMutable() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List getSegmentPresenceLabelAnnotationsList() { + public java.util.List + getSegmentPresenceLabelAnnotationsList() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentPresenceLabelAnnotations_); } else { @@ -3001,6 +3630,8 @@ public java.util.List * Presence label annotations on video level or user-specified segment level. * There is exactly one element for each unique label. Compared to the @@ -3010,7 +3641,9 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public int getSegmentPresenceLabelAnnotationsCount() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3020,6 +3653,8 @@ public int getSegmentPresenceLabelAnnotationsCount() { } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3029,9 +3664,12 @@ public int getSegmentPresenceLabelAnnotationsCount() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + getSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { return segmentPresenceLabelAnnotations_.get(index); } else { @@ -3039,6 +3677,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPr } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3048,7 +3688,9 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPr
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder setSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3065,6 +3707,8 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3074,10 +3718,13 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder setSegmentPresenceLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); segmentPresenceLabelAnnotations_.set(index, builderForValue.build()); @@ -3088,6 +3735,8 @@ public Builder setSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3097,9 +3746,12 @@ public Builder setSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addSegmentPresenceLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3113,6 +3765,8 @@ public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointellig return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3122,7 +3776,9 @@ public Builder addSegmentPresenceLabelAnnotations(com.google.cloud.videointellig
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3139,6 +3795,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3148,7 +3806,9 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -3162,6 +3822,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3171,10 +3833,13 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addSegmentPresenceLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); segmentPresenceLabelAnnotations_.add(index, builderForValue.build()); @@ -3185,6 +3850,8 @@ public Builder addSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3194,10 +3861,13 @@ public Builder addSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder addAllSegmentPresenceLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { ensureSegmentPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3209,6 +3879,8 @@ public Builder addAllSegmentPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3218,7 +3890,9 @@ public Builder addAllSegmentPresenceLabelAnnotations(
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder clearSegmentPresenceLabelAnnotations() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3231,6 +3905,8 @@ public Builder clearSegmentPresenceLabelAnnotations() { return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3240,7 +3916,9 @@ public Builder clearSegmentPresenceLabelAnnotations() {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ public Builder removeSegmentPresenceLabelAnnotations(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { @@ -3253,6 +3931,8 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) { return this; } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3262,13 +3942,17 @@ public Builder removeSegmentPresenceLabelAnnotations(int index) {
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getSegmentPresenceLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getSegmentPresenceLabelAnnotationsBuilder(int index) { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3278,16 +3962,21 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getS
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index) { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - return segmentPresenceLabelAnnotations_.get(index); } else { + return segmentPresenceLabelAnnotations_.get(index); + } else { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3297,10 +3986,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List - getSegmentPresenceLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getSegmentPresenceLabelAnnotationsOrBuilderList() { if (segmentPresenceLabelAnnotationsBuilder_ != null) { return segmentPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3308,6 +4000,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3317,13 +4011,19 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder() { - return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addSegmentPresenceLabelAnnotationsBuilder() { + return getSegmentPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3333,14 +4033,20 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addSegmentPresenceLabelAnnotationsBuilder( - int index) { - return getSegmentPresenceLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addSegmentPresenceLabelAnnotationsBuilder(int index) { + return getSegmentPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on video level or user-specified segment level.
      * There is exactly one element for each unique label. Compared to the
@@ -3350,18 +4056,26 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS
      * "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - public java.util.List - getSegmentPresenceLabelAnnotationsBuilderList() { + public java.util.List + getSegmentPresenceLabelAnnotationsBuilderList() { return getSegmentPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsFieldBuilder() { if (segmentPresenceLabelAnnotationsBuilder_ == null) { - segmentPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + segmentPresenceLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( segmentPresenceLabelAnnotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3371,27 +4085,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS return segmentPresenceLabelAnnotationsBuilder_; } - private java.util.List shotLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - shotLabelAnnotations_ = new java.util.ArrayList(shotLabelAnnotations_); + shotLabelAnnotations_ = + new java.util.ArrayList( + shotLabelAnnotations_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> shotLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + shotLabelAnnotationsBuilder_; /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List getShotLabelAnnotationsList() { + public java.util.List + getShotLabelAnnotationsList() { if (shotLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotLabelAnnotations_); } else { @@ -3399,12 +4124,16 @@ public java.util.List * Topical label annotations on shot level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public int getShotLabelAnnotationsCount() { if (shotLabelAnnotationsBuilder_ == null) { @@ -3414,14 +4143,19 @@ public int getShotLabelAnnotationsCount() { } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations( + int index) { if (shotLabelAnnotationsBuilder_ == null) { return shotLabelAnnotations_.get(index); } else { @@ -3429,12 +4163,16 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabel } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3451,15 +4189,20 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder setShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.set(index, builderForValue.build()); @@ -3470,14 +4213,19 @@ public Builder setShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addShotLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (shotLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3491,12 +4239,16 @@ public Builder addShotLabelAnnotations(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3513,12 +4265,16 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -3532,15 +4288,20 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addShotLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); shotLabelAnnotations_.add(index, builderForValue.build()); @@ -3551,19 +4312,23 @@ public Builder addShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder addAllShotLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotLabelAnnotationsBuilder_ == null) { ensureShotLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotLabelAnnotations_); onChanged(); } else { shotLabelAnnotationsBuilder_.addAllMessages(values); @@ -3571,12 +4336,16 @@ public Builder addAllShotLabelAnnotations( return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder clearShotLabelAnnotations() { if (shotLabelAnnotationsBuilder_ == null) { @@ -3589,12 +4358,16 @@ public Builder clearShotLabelAnnotations() { return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ public Builder removeShotLabelAnnotations(int index) { if (shotLabelAnnotationsBuilder_ == null) { @@ -3607,42 +4380,56 @@ public Builder removeShotLabelAnnotations(int index) { return this; } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getShotLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getShotLabelAnnotationsBuilder(int index) { return getShotLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index) { if (shotLabelAnnotationsBuilder_ == null) { - return shotLabelAnnotations_.get(index); } else { + return shotLabelAnnotations_.get(index); + } else { return shotLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getShotLabelAnnotationsOrBuilderList() { if (shotLabelAnnotationsBuilder_ != null) { return shotLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -3650,48 +4437,70 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder() { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder() { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotLabelAnnotationsBuilder( - int index) { - return getShotLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addShotLabelAnnotationsBuilder(int index) { + return getShotLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Topical label annotations on shot level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - public java.util.List - getShotLabelAnnotationsBuilderList() { + public java.util.List + getShotLabelAnnotationsBuilderList() { return getShotLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getShotLabelAnnotationsFieldBuilder() { if (shotLabelAnnotationsBuilder_ == null) { - shotLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + shotLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( shotLabelAnnotations_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -3701,19 +4510,27 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS return shotLabelAnnotationsBuilder_; } - private java.util.List shotPresenceLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotPresenceLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotPresenceLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - shotPresenceLabelAnnotations_ = new java.util.ArrayList(shotPresenceLabelAnnotations_); + shotPresenceLabelAnnotations_ = + new java.util.ArrayList( + shotPresenceLabelAnnotations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> shotPresenceLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + shotPresenceLabelAnnotationsBuilder_; /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3722,9 +4539,12 @@ private void ensureShotPresenceLabelAnnotationsIsMutable() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List getShotPresenceLabelAnnotationsList() { + public java.util.List + getShotPresenceLabelAnnotationsList() { if (shotPresenceLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotPresenceLabelAnnotations_); } else { @@ -3732,6 +4552,8 @@ public java.util.List * Presence label annotations on shot level. There is exactly one element for * each unique label. Compared to the existing topical @@ -3740,7 +4562,9 @@ public java.util.List * - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public int getShotPresenceLabelAnnotationsCount() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -3750,6 +4574,8 @@ public int getShotPresenceLabelAnnotationsCount() { } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3758,9 +4584,12 @@ public int getShotPresenceLabelAnnotationsCount() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation + getShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { return shotPresenceLabelAnnotations_.get(index); } else { @@ -3768,6 +4597,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPrese } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3776,7 +4607,9 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPrese
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder setShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3793,6 +4626,8 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3801,10 +4636,13 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder setShotPresenceLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); shotPresenceLabelAnnotations_.set(index, builderForValue.build()); @@ -3815,6 +4653,8 @@ public Builder setShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3823,9 +4663,12 @@ public Builder setShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addShotPresenceLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (shotPresenceLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3839,6 +4682,8 @@ public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligenc return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3847,7 +4692,9 @@ public Builder addShotPresenceLabelAnnotations(com.google.cloud.videointelligenc
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -3864,6 +4711,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3872,7 +4721,9 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -3886,6 +4737,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3894,10 +4747,13 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addShotPresenceLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); shotPresenceLabelAnnotations_.add(index, builderForValue.build()); @@ -3908,6 +4764,8 @@ public Builder addShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3916,10 +4774,13 @@ public Builder addShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder addAllShotPresenceLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotPresenceLabelAnnotationsBuilder_ == null) { ensureShotPresenceLabelAnnotationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3931,6 +4792,8 @@ public Builder addAllShotPresenceLabelAnnotations( return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3939,7 +4802,9 @@ public Builder addAllShotPresenceLabelAnnotations(
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder clearShotPresenceLabelAnnotations() { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -3952,6 +4817,8 @@ public Builder clearShotPresenceLabelAnnotations() { return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3960,7 +4827,9 @@ public Builder clearShotPresenceLabelAnnotations() {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ public Builder removeShotPresenceLabelAnnotations(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { @@ -3973,6 +4842,8 @@ public Builder removeShotPresenceLabelAnnotations(int index) { return this; } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3981,13 +4852,17 @@ public Builder removeShotPresenceLabelAnnotations(int index) {
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getShotPresenceLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getShotPresenceLabelAnnotationsBuilder(int index) { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -3996,16 +4871,21 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getS
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index) { if (shotPresenceLabelAnnotationsBuilder_ == null) { - return shotPresenceLabelAnnotations_.get(index); } else { + return shotPresenceLabelAnnotations_.get(index); + } else { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4014,10 +4894,13 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List - getShotPresenceLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getShotPresenceLabelAnnotationsOrBuilderList() { if (shotPresenceLabelAnnotationsBuilder_ != null) { return shotPresenceLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4025,6 +4908,8 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4033,13 +4918,19 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder() { - return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addShotPresenceLabelAnnotationsBuilder() { + return getShotPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4048,14 +4939,20 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addShotPresenceLabelAnnotationsBuilder( - int index) { - return getShotPresenceLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addShotPresenceLabelAnnotationsBuilder(int index) { + return getShotPresenceLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Presence label annotations on shot level. There is exactly one element for
      * each unique label. Compared to the existing topical
@@ -4064,18 +4961,26 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS
      * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - public java.util.List - getShotPresenceLabelAnnotationsBuilderList() { + public java.util.List + getShotPresenceLabelAnnotationsBuilderList() { return getShotPresenceLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsFieldBuilder() { if (shotPresenceLabelAnnotationsBuilder_ == null) { - shotPresenceLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + shotPresenceLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( shotPresenceLabelAnnotations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -4085,27 +4990,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addS return shotPresenceLabelAnnotationsBuilder_; } - private java.util.List frameLabelAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + frameLabelAnnotations_ = java.util.Collections.emptyList(); + private void ensureFrameLabelAnnotationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - frameLabelAnnotations_ = new java.util.ArrayList(frameLabelAnnotations_); + frameLabelAnnotations_ = + new java.util.ArrayList( + frameLabelAnnotations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> frameLabelAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + frameLabelAnnotationsBuilder_; /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List getFrameLabelAnnotationsList() { + public java.util.List + getFrameLabelAnnotationsList() { if (frameLabelAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(frameLabelAnnotations_); } else { @@ -4113,12 +5029,16 @@ public java.util.List * Label annotations on frame level. * There is exactly one element for each unique label. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public int getFrameLabelAnnotationsCount() { if (frameLabelAnnotationsBuilder_ == null) { @@ -4128,14 +5048,19 @@ public int getFrameLabelAnnotationsCount() { } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations( + int index) { if (frameLabelAnnotationsBuilder_ == null) { return frameLabelAnnotations_.get(index); } else { @@ -4143,12 +5068,16 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabe } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4165,15 +5094,20 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder setFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.set(index, builderForValue.build()); @@ -4184,14 +5118,19 @@ public Builder setFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { + public Builder addFrameLabelAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { if (frameLabelAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4205,12 +5144,16 @@ public Builder addFrameLabelAnnotations(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation value) { @@ -4227,12 +5170,16 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { @@ -4246,15 +5193,20 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addFrameLabelAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder builderForValue) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); frameLabelAnnotations_.add(index, builderForValue.build()); @@ -4265,19 +5217,23 @@ public Builder addFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder addAllFrameLabelAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (frameLabelAnnotationsBuilder_ == null) { ensureFrameLabelAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, frameLabelAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, frameLabelAnnotations_); onChanged(); } else { frameLabelAnnotationsBuilder_.addAllMessages(values); @@ -4285,12 +5241,16 @@ public Builder addAllFrameLabelAnnotations( return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder clearFrameLabelAnnotations() { if (frameLabelAnnotationsBuilder_ == null) { @@ -4303,12 +5263,16 @@ public Builder clearFrameLabelAnnotations() { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ public Builder removeFrameLabelAnnotations(int index) { if (frameLabelAnnotationsBuilder_ == null) { @@ -4321,42 +5285,56 @@ public Builder removeFrameLabelAnnotations(int index) { return this; } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder getFrameLabelAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + getFrameLabelAnnotationsBuilder(int index) { return getFrameLabelAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index) { if (frameLabelAnnotationsBuilder_ == null) { - return frameLabelAnnotations_.get(index); } else { + return frameLabelAnnotations_.get(index); + } else { return frameLabelAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + getFrameLabelAnnotationsOrBuilderList() { if (frameLabelAnnotationsBuilder_ != null) { return frameLabelAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4364,48 +5342,70 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder get } } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder() { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder() { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addFrameLabelAnnotationsBuilder( - int index) { - return getFrameLabelAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder + addFrameLabelAnnotationsBuilder(int index) { + return getFrameLabelAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.getDefaultInstance()); } /** + * + * *
      * Label annotations on frame level.
      * There is exactly one element for each unique label.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - public java.util.List - getFrameLabelAnnotationsBuilderList() { + public java.util.List + getFrameLabelAnnotationsBuilderList() { return getFrameLabelAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder> getFrameLabelAnnotationsFieldBuilder() { if (frameLabelAnnotationsBuilder_ == null) { - frameLabelAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( + frameLabelAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>( frameLabelAnnotations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -4415,26 +5415,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation.Builder addF return frameLabelAnnotationsBuilder_; } - private java.util.List faceDetectionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + faceDetectionAnnotations_ = java.util.Collections.emptyList(); + private void ensureFaceDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - faceDetectionAnnotations_ = new java.util.ArrayList(faceDetectionAnnotations_); + faceDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation>( + faceDetectionAnnotations_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> faceDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + faceDetectionAnnotationsBuilder_; /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List getFaceDetectionAnnotationsList() { + public java.util.List + getFaceDetectionAnnotationsList() { if (faceDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(faceDetectionAnnotations_); } else { @@ -4442,11 +5454,15 @@ public java.util.List * Face detection annotations. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public int getFaceDetectionAnnotationsCount() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4456,13 +5472,18 @@ public int getFaceDetectionAnnotationsCount() { } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + getFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { return faceDetectionAnnotations_.get(index); } else { @@ -4470,11 +5491,15 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getF } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder setFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { @@ -4491,14 +5516,20 @@ public Builder setFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder setFaceDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.set(index, builderForValue.build()); @@ -4509,13 +5540,18 @@ public Builder setFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { + public Builder addFaceDetectionAnnotations( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { if (faceDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4529,11 +5565,15 @@ public Builder addFaceDetectionAnnotations(com.google.cloud.videointelligence.v1 return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation value) { @@ -4550,14 +5590,19 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(builderForValue.build()); @@ -4568,14 +5613,20 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addFaceDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + builderForValue) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); faceDetectionAnnotations_.add(index, builderForValue.build()); @@ -4586,18 +5637,23 @@ public Builder addFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder addAllFaceDetectionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation> + values) { if (faceDetectionAnnotationsBuilder_ == null) { ensureFaceDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, faceDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, faceDetectionAnnotations_); onChanged(); } else { faceDetectionAnnotationsBuilder_.addAllMessages(values); @@ -4605,11 +5661,15 @@ public Builder addAllFaceDetectionAnnotations( return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder clearFaceDetectionAnnotations() { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4622,11 +5682,15 @@ public Builder clearFaceDetectionAnnotations() { return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ public Builder removeFaceDetectionAnnotations(int index) { if (faceDetectionAnnotationsBuilder_ == null) { @@ -4639,39 +5703,53 @@ public Builder removeFaceDetectionAnnotations(int index) { return this; } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder getFaceDetectionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + getFaceDetectionAnnotationsBuilder(int index) { return getFaceDetectionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index) { if (faceDetectionAnnotationsBuilder_ == null) { - return faceDetectionAnnotations_.get(index); } else { + return faceDetectionAnnotations_.get(index); + } else { return faceDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List - getFaceDetectionAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + getFaceDetectionAnnotationsOrBuilderList() { if (faceDetectionAnnotationsBuilder_ != null) { return faceDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4679,45 +5757,70 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBui } } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder() { - return getFaceDetectionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + addFaceDetectionAnnotationsBuilder() { + return getFaceDetectionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder addFaceDetectionAnnotationsBuilder( - int index) { - return getFaceDetectionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder + addFaceDetectionAnnotationsBuilder(int index) { + return getFaceDetectionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Face detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - public java.util.List - getFaceDetectionAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder> + getFaceDetectionAnnotationsBuilderList() { return getFaceDetectionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsFieldBuilder() { if (faceDetectionAnnotationsBuilder_ == null) { - faceDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder>( + faceDetectionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder>( faceDetectionAnnotations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -4727,26 +5830,36 @@ public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation.Buil return faceDetectionAnnotationsBuilder_; } - private java.util.List shotAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + shotAnnotations_ = java.util.Collections.emptyList(); + private void ensureShotAnnotationsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - shotAnnotations_ = new java.util.ArrayList(shotAnnotations_); + shotAnnotations_ = + new java.util.ArrayList( + shotAnnotations_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> shotAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + shotAnnotationsBuilder_; /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List getShotAnnotationsList() { + public java.util.List + getShotAnnotationsList() { if (shotAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(shotAnnotations_); } else { @@ -4754,11 +5867,14 @@ public java.util.List } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public int getShotAnnotationsCount() { if (shotAnnotationsBuilder_ == null) { @@ -4768,11 +5884,14 @@ public int getShotAnnotationsCount() { } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -4782,11 +5901,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotati } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -4803,14 +5925,18 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder setShotAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.set(index, builderForValue.build()); @@ -4821,13 +5947,17 @@ public Builder setShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { + public Builder addShotAnnotations( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { if (shotAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4841,11 +5971,14 @@ public Builder addShotAnnotations(com.google.cloud.videointelligence.v1p3beta1.V return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment value) { @@ -4862,11 +5995,14 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { @@ -4880,14 +6016,18 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder addShotAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); shotAnnotations_.add(index, builderForValue.build()); @@ -4898,18 +6038,21 @@ public Builder addShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder addAllShotAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (shotAnnotationsBuilder_ == null) { ensureShotAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, shotAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shotAnnotations_); onChanged(); } else { shotAnnotationsBuilder_.addAllMessages(values); @@ -4917,11 +6060,14 @@ public Builder addAllShotAnnotations( return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder clearShotAnnotations() { if (shotAnnotationsBuilder_ == null) { @@ -4934,11 +6080,14 @@ public Builder clearShotAnnotations() { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ public Builder removeShotAnnotations(int index) { if (shotAnnotationsBuilder_ == null) { @@ -4951,39 +6100,50 @@ public Builder removeShotAnnotations(int index) { return this; } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getShotAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + getShotAnnotationsBuilder(int index) { return getShotAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder + getShotAnnotationsOrBuilder(int index) { if (shotAnnotationsBuilder_ == null) { - return shotAnnotations_.get(index); } else { + return shotAnnotations_.get(index); + } else { return shotAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + getShotAnnotationsOrBuilderList() { if (shotAnnotationsBuilder_ != null) { return shotAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -4991,45 +6151,64 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSho } } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder() { - return getShotAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + addShotAnnotationsBuilder() { + return getShotAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShotAnnotationsBuilder( - int index) { - return getShotAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder + addShotAnnotationsBuilder(int index) { + return getShotAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()); } /** + * + * *
      * Shot annotations. Each shot is represented as a video segment.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - public java.util.List - getShotAnnotationsBuilderList() { + public java.util.List + getShotAnnotationsBuilderList() { return getShotAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> getShotAnnotationsFieldBuilder() { if (shotAnnotationsBuilder_ == null) { - shotAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( + shotAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>( shotAnnotations_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), @@ -5039,43 +6218,66 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addShot return shotAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicitAnnotation_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + explicitAnnotation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> explicitAnnotationBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + explicitAnnotationBuilder_; /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ public boolean hasExplicitAnnotation() { return explicitAnnotationBuilder_ != null || explicitAnnotation_ != null; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + getExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { - return explicitAnnotation_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } else { return explicitAnnotationBuilder_.getMessage(); } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder setExplicitAnnotation( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5089,14 +6291,19 @@ public Builder setExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder setExplicitAnnotation( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder + builderForValue) { if (explicitAnnotationBuilder_ == null) { explicitAnnotation_ = builderForValue.build(); onChanged(); @@ -5107,17 +6314,25 @@ public Builder setExplicitAnnotation( return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { + public Builder mergeExplicitAnnotation( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation value) { if (explicitAnnotationBuilder_ == null) { if (explicitAnnotation_ != null) { explicitAnnotation_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder(explicitAnnotation_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.newBuilder( + explicitAnnotation_) + .mergeFrom(value) + .buildPartial(); } else { explicitAnnotation_ = value; } @@ -5129,11 +6344,15 @@ public Builder mergeExplicitAnnotation(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ public Builder clearExplicitAnnotation() { if (explicitAnnotationBuilder_ == null) { @@ -5147,73 +6366,104 @@ public Builder clearExplicitAnnotation() { return this; } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder + getExplicitAnnotationBuilder() { + onChanged(); return getExplicitAnnotationFieldBuilder().getBuilder(); } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder() { if (explicitAnnotationBuilder_ != null) { return explicitAnnotationBuilder_.getMessageOrBuilder(); } else { - return explicitAnnotation_ == null ? - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.getDefaultInstance() : explicitAnnotation_; + return explicitAnnotation_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation + .getDefaultInstance() + : explicitAnnotation_; } } /** + * + * *
      * Explicit content annotation.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder> getExplicitAnnotationFieldBuilder() { if (explicitAnnotationBuilder_ == null) { - explicitAnnotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( - getExplicitAnnotation(), - getParentForChildren(), - isClean()); + explicitAnnotationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder>( + getExplicitAnnotation(), getParentForChildren(), isClean()); explicitAnnotation_ = null; } return explicitAnnotationBuilder_; } - private java.util.List speechTranscriptions_ = - java.util.Collections.emptyList(); + private java.util.List + speechTranscriptions_ = java.util.Collections.emptyList(); + private void ensureSpeechTranscriptionsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { - speechTranscriptions_ = new java.util.ArrayList(speechTranscriptions_); + speechTranscriptions_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription>( + speechTranscriptions_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> speechTranscriptionsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + speechTranscriptionsBuilder_; /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List getSpeechTranscriptionsList() { + public java.util.List + getSpeechTranscriptionsList() { if (speechTranscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(speechTranscriptions_); } else { @@ -5221,11 +6471,15 @@ public java.util.List * Speech transcription. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public int getSpeechTranscriptionsCount() { if (speechTranscriptionsBuilder_ == null) { @@ -5235,13 +6489,18 @@ public int getSpeechTranscriptionsCount() { } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( + int index) { if (speechTranscriptionsBuilder_ == null) { return speechTranscriptions_.get(index); } else { @@ -5249,11 +6508,15 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeec } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { @@ -5270,14 +6533,19 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder setSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.set(index, builderForValue.build()); @@ -5288,13 +6556,18 @@ public Builder setSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { + public Builder addSpeechTranscriptions( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { if (speechTranscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5308,11 +6581,15 @@ public Builder addSpeechTranscriptions(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription value) { @@ -5329,11 +6606,15 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { @@ -5347,14 +6628,19 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addSpeechTranscriptions( - int index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder builderForValue) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); speechTranscriptions_.add(index, builderForValue.build()); @@ -5365,18 +6651,23 @@ public Builder addSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder addAllSpeechTranscriptions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription> + values) { if (speechTranscriptionsBuilder_ == null) { ensureSpeechTranscriptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speechTranscriptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speechTranscriptions_); onChanged(); } else { speechTranscriptionsBuilder_.addAllMessages(values); @@ -5384,11 +6675,15 @@ public Builder addAllSpeechTranscriptions( return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder clearSpeechTranscriptions() { if (speechTranscriptionsBuilder_ == null) { @@ -5401,11 +6696,15 @@ public Builder clearSpeechTranscriptions() { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ public Builder removeSpeechTranscriptions(int index) { if (speechTranscriptionsBuilder_ == null) { @@ -5418,39 +6717,53 @@ public Builder removeSpeechTranscriptions(int index) { return this; } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder getSpeechTranscriptionsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder + getSpeechTranscriptionsBuilder(int index) { return getSpeechTranscriptionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index) { if (speechTranscriptionsBuilder_ == null) { - return speechTranscriptions_.get(index); } else { + return speechTranscriptions_.get(index); + } else { return speechTranscriptionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + getSpeechTranscriptionsOrBuilderList() { if (speechTranscriptionsBuilder_ != null) { return speechTranscriptionsBuilder_.getMessageOrBuilderList(); } else { @@ -5458,45 +6771,69 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder } } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder() { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder() { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + .getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder addSpeechTranscriptionsBuilder( - int index) { - return getSpeechTranscriptionsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder + addSpeechTranscriptionsBuilder(int index) { + return getSpeechTranscriptionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription + .getDefaultInstance()); } /** + * + * *
      * Speech transcription.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - public java.util.List - getSpeechTranscriptionsBuilderList() { + public java.util.List + getSpeechTranscriptionsBuilderList() { return getSpeechTranscriptionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsFieldBuilder() { if (speechTranscriptionsBuilder_ == null) { - speechTranscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder>( + speechTranscriptionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder>( speechTranscriptions_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), @@ -5506,28 +6843,39 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription.Builder return speechTranscriptionsBuilder_; } - private java.util.List textAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + textAnnotations_ = java.util.Collections.emptyList(); + private void ensureTextAnnotationsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - textAnnotations_ = new java.util.ArrayList(textAnnotations_); + textAnnotations_ = + new java.util.ArrayList( + textAnnotations_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> textAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> + textAnnotationsBuilder_; /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List getTextAnnotationsList() { + public java.util.List + getTextAnnotationsList() { if (textAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(textAnnotations_); } else { @@ -5535,13 +6883,17 @@ public java.util.List * OCR text detection and tracking. * Annotations for list of detected text snippets. Each will have list of * frame information associated with it. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public int getTextAnnotationsCount() { if (textAnnotationsBuilder_ == null) { @@ -5551,15 +6903,20 @@ public int getTextAnnotationsCount() { } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations( + int index) { if (textAnnotationsBuilder_ == null) { return textAnnotations_.get(index); } else { @@ -5567,13 +6924,17 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnota } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { @@ -5590,16 +6951,21 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder setTextAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.set(index, builderForValue.build()); @@ -5610,15 +6976,20 @@ public Builder setTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { + public Builder addTextAnnotations( + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { if (textAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5632,13 +7003,17 @@ public Builder addTextAnnotations(com.google.cloud.videointelligence.v1p3beta1.T return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation value) { @@ -5655,13 +7030,17 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { @@ -5675,16 +7054,21 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder addTextAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder builderForValue) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); textAnnotations_.add(index, builderForValue.build()); @@ -5695,20 +7079,24 @@ public Builder addTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder addAllTextAnnotations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (textAnnotationsBuilder_ == null) { ensureTextAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, textAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, textAnnotations_); onChanged(); } else { textAnnotationsBuilder_.addAllMessages(values); @@ -5716,13 +7104,17 @@ public Builder addAllTextAnnotations( return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder clearTextAnnotations() { if (textAnnotationsBuilder_ == null) { @@ -5735,13 +7127,17 @@ public Builder clearTextAnnotations() { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ public Builder removeTextAnnotations(int index) { if (textAnnotationsBuilder_ == null) { @@ -5754,45 +7150,59 @@ public Builder removeTextAnnotations(int index) { return this; } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder getTextAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder + getTextAnnotationsBuilder(int index) { return getTextAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder + getTextAnnotationsOrBuilder(int index) { if (textAnnotationsBuilder_ == null) { - return textAnnotations_.get(index); } else { + return textAnnotations_.get(index); + } else { return textAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> + getTextAnnotationsOrBuilderList() { if (textAnnotationsBuilder_ != null) { return textAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -5800,51 +7210,73 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getT } } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder addTextAnnotationsBuilder() { - return getTextAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder + addTextAnnotationsBuilder() { + return getTextAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder addTextAnnotationsBuilder( - int index) { - return getTextAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder + addTextAnnotationsBuilder(int index) { + return getTextAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.getDefaultInstance()); } /** + * + * *
      * OCR text detection and tracking.
      * Annotations for list of detected text snippets. Each will have list of
      * frame information associated with it.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - public java.util.List - getTextAnnotationsBuilderList() { + public java.util.List + getTextAnnotationsBuilderList() { return getTextAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder> getTextAnnotationsFieldBuilder() { if (textAnnotationsBuilder_ == null) { - textAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder>( + textAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder>( textAnnotations_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), @@ -5854,26 +7286,38 @@ public com.google.cloud.videointelligence.v1p3beta1.TextAnnotation.Builder addTe return textAnnotationsBuilder_; } - private java.util.List objectAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + objectAnnotations_ = java.util.Collections.emptyList(); + private void ensureObjectAnnotationsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - objectAnnotations_ = new java.util.ArrayList(objectAnnotations_); + objectAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>( + objectAnnotations_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> objectAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + objectAnnotationsBuilder_; /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List getObjectAnnotationsList() { + public java.util.List + getObjectAnnotationsList() { if (objectAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(objectAnnotations_); } else { @@ -5881,11 +7325,15 @@ public java.util.List * Annotations for list of objects detected and tracked in video. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public int getObjectAnnotationsCount() { if (objectAnnotationsBuilder_ == null) { @@ -5895,13 +7343,18 @@ public int getObjectAnnotationsCount() { } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + getObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { return objectAnnotations_.get(index); } else { @@ -5909,11 +7362,15 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation get } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -5930,14 +7387,20 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder setObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.set(index, builderForValue.build()); @@ -5948,13 +7411,18 @@ public Builder setObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { + public Builder addObjectAnnotations( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { if (objectAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5968,11 +7436,15 @@ public Builder addObjectAnnotations(com.google.cloud.videointelligence.v1p3beta1 return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation value) { @@ -5989,14 +7461,19 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(builderForValue.build()); @@ -6007,14 +7484,20 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addObjectAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + builderForValue) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); objectAnnotations_.add(index, builderForValue.build()); @@ -6025,18 +7508,23 @@ public Builder addObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder addAllObjectAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation> + values) { if (objectAnnotationsBuilder_ == null) { ensureObjectAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, objectAnnotations_); onChanged(); } else { objectAnnotationsBuilder_.addAllMessages(values); @@ -6044,11 +7532,15 @@ public Builder addAllObjectAnnotations( return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder clearObjectAnnotations() { if (objectAnnotationsBuilder_ == null) { @@ -6061,11 +7553,15 @@ public Builder clearObjectAnnotations() { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ public Builder removeObjectAnnotations(int index) { if (objectAnnotationsBuilder_ == null) { @@ -6078,39 +7574,54 @@ public Builder removeObjectAnnotations(int index) { return this; } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + getObjectAnnotationsBuilder(int index) { return getObjectAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index) { if (objectAnnotationsBuilder_ == null) { - return objectAnnotations_.get(index); } else { + return objectAnnotations_.get(index); + } else { return objectAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + getObjectAnnotationsOrBuilderList() { if (objectAnnotationsBuilder_ != null) { return objectAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6118,45 +7629,70 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBu } } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder() { - return getObjectAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder() { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder( - int index) { - return getObjectAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder + addObjectAnnotationsBuilder(int index) { + return getObjectAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of objects detected and tracked in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - public java.util.List - getObjectAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder> + getObjectAnnotationsBuilderList() { return getObjectAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsFieldBuilder() { if (objectAnnotationsBuilder_ == null) { - objectAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( + objectAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>( objectAnnotations_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), @@ -6166,26 +7702,38 @@ public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation.Bui return objectAnnotationsBuilder_; } - private java.util.List logoRecognitionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + logoRecognitionAnnotations_ = java.util.Collections.emptyList(); + private void ensureLogoRecognitionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { - logoRecognitionAnnotations_ = new java.util.ArrayList(logoRecognitionAnnotations_); + logoRecognitionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation>( + logoRecognitionAnnotations_); bitField0_ |= 0x00000400; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> logoRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + logoRecognitionAnnotationsBuilder_; /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List getLogoRecognitionAnnotationsList() { + public java.util.List + getLogoRecognitionAnnotationsList() { if (logoRecognitionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(logoRecognitionAnnotations_); } else { @@ -6193,11 +7741,15 @@ public java.util.List * Annotations for list of logos detected, tracked and recognized in video. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public int getLogoRecognitionAnnotationsCount() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6207,13 +7759,18 @@ public int getLogoRecognitionAnnotationsCount() { } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + getLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { return logoRecognitionAnnotations_.get(index); } else { @@ -6221,11 +7778,15 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation ge } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder setLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { @@ -6242,14 +7803,20 @@ public Builder setLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder setLogoRecognitionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.set(index, builderForValue.build()); @@ -6260,13 +7827,18 @@ public Builder setLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { + public Builder addLogoRecognitionAnnotations( + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { if (logoRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6280,11 +7852,15 @@ public Builder addLogoRecognitionAnnotations(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation value) { @@ -6301,14 +7877,19 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(builderForValue.build()); @@ -6319,14 +7900,20 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addLogoRecognitionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + builderForValue) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); logoRecognitionAnnotations_.add(index, builderForValue.build()); @@ -6337,18 +7924,23 @@ public Builder addLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder addAllLogoRecognitionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation> + values) { if (logoRecognitionAnnotationsBuilder_ == null) { ensureLogoRecognitionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logoRecognitionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logoRecognitionAnnotations_); onChanged(); } else { logoRecognitionAnnotationsBuilder_.addAllMessages(values); @@ -6356,11 +7948,15 @@ public Builder addAllLogoRecognitionAnnotations( return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder clearLogoRecognitionAnnotations() { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6373,11 +7969,15 @@ public Builder clearLogoRecognitionAnnotations() { return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ public Builder removeLogoRecognitionAnnotations(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { @@ -6390,39 +7990,54 @@ public Builder removeLogoRecognitionAnnotations(int index) { return this; } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder getLogoRecognitionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + getLogoRecognitionAnnotationsBuilder(int index) { return getLogoRecognitionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index) { if (logoRecognitionAnnotationsBuilder_ == null) { - return logoRecognitionAnnotations_.get(index); } else { + return logoRecognitionAnnotations_.get(index); + } else { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List - getLogoRecognitionAnnotationsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + getLogoRecognitionAnnotationsOrBuilderList() { if (logoRecognitionAnnotationsBuilder_ != null) { return logoRecognitionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6430,45 +8045,70 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrB } } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder() { - return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + addLogoRecognitionAnnotationsBuilder() { + return getLogoRecognitionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder addLogoRecognitionAnnotationsBuilder( - int index) { - return getLogoRecognitionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder + addLogoRecognitionAnnotationsBuilder(int index) { + return getLogoRecognitionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Annotations for list of logos detected, tracked and recognized in video.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - public java.util.List - getLogoRecognitionAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder> + getLogoRecognitionAnnotationsBuilderList() { return getLogoRecognitionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsFieldBuilder() { if (logoRecognitionAnnotationsBuilder_ == null) { - logoRecognitionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder>( + logoRecognitionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder>( logoRecognitionAnnotations_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -6478,26 +8118,38 @@ public com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation.Bu return logoRecognitionAnnotationsBuilder_; } - private java.util.List personDetectionAnnotations_ = - java.util.Collections.emptyList(); + private java.util.List + personDetectionAnnotations_ = java.util.Collections.emptyList(); + private void ensurePersonDetectionAnnotationsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { - personDetectionAnnotations_ = new java.util.ArrayList(personDetectionAnnotations_); + personDetectionAnnotations_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation>( + personDetectionAnnotations_); bitField0_ |= 0x00000800; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> personDetectionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + personDetectionAnnotationsBuilder_; /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List getPersonDetectionAnnotationsList() { + public java.util.List + getPersonDetectionAnnotationsList() { if (personDetectionAnnotationsBuilder_ == null) { return java.util.Collections.unmodifiableList(personDetectionAnnotations_); } else { @@ -6505,11 +8157,15 @@ public java.util.List * Person detection annotations. *
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public int getPersonDetectionAnnotationsCount() { if (personDetectionAnnotationsBuilder_ == null) { @@ -6519,13 +8175,18 @@ public int getPersonDetectionAnnotationsCount() { } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getPersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { return personDetectionAnnotations_.get(index); } else { @@ -6533,11 +8194,15 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation ge } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder setPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { @@ -6554,14 +8219,20 @@ public Builder setPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder setPersonDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.set(index, builderForValue.build()); @@ -6572,13 +8243,18 @@ public Builder setPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { + public Builder addPersonDetectionAnnotations( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { if (personDetectionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6592,11 +8268,15 @@ public Builder addPersonDetectionAnnotations(com.google.cloud.videointelligence. return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation value) { @@ -6613,14 +8293,19 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(builderForValue.build()); @@ -6631,14 +8316,20 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addPersonDetectionAnnotations( - int index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder builderForValue) { + int index, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + builderForValue) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); personDetectionAnnotations_.add(index, builderForValue.build()); @@ -6649,18 +8340,23 @@ public Builder addPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder addAllPersonDetectionAnnotations( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation> + values) { if (personDetectionAnnotationsBuilder_ == null) { ensurePersonDetectionAnnotationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, personDetectionAnnotations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, personDetectionAnnotations_); onChanged(); } else { personDetectionAnnotationsBuilder_.addAllMessages(values); @@ -6668,11 +8364,15 @@ public Builder addAllPersonDetectionAnnotations( return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder clearPersonDetectionAnnotations() { if (personDetectionAnnotationsBuilder_ == null) { @@ -6685,11 +8385,15 @@ public Builder clearPersonDetectionAnnotations() { return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ public Builder removePersonDetectionAnnotations(int index) { if (personDetectionAnnotationsBuilder_ == null) { @@ -6702,39 +8406,54 @@ public Builder removePersonDetectionAnnotations(int index) { return this; } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder getPersonDetectionAnnotationsBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + getPersonDetectionAnnotationsBuilder(int index) { return getPersonDetectionAnnotationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index) { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index) { if (personDetectionAnnotationsBuilder_ == null) { - return personDetectionAnnotations_.get(index); } else { + return personDetectionAnnotations_.get(index); + } else { return personDetectionAnnotationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List - getPersonDetectionAnnotationsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + getPersonDetectionAnnotationsOrBuilderList() { if (personDetectionAnnotationsBuilder_ != null) { return personDetectionAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -6742,45 +8461,70 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrB } } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder() { - return getPersonDetectionAnnotationsFieldBuilder().addBuilder( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + addPersonDetectionAnnotationsBuilder() { + return getPersonDetectionAnnotationsFieldBuilder() + .addBuilder( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder addPersonDetectionAnnotationsBuilder( - int index) { - return getPersonDetectionAnnotationsFieldBuilder().addBuilder( - index, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.getDefaultInstance()); + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder + addPersonDetectionAnnotationsBuilder(int index) { + return getPersonDetectionAnnotationsFieldBuilder() + .addBuilder( + index, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + .getDefaultInstance()); } /** + * + * *
      * Person detection annotations.
      * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - public java.util.List - getPersonDetectionAnnotationsBuilderList() { + public java.util.List< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder> + getPersonDetectionAnnotationsBuilderList() { return getPersonDetectionAnnotationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsFieldBuilder() { if (personDetectionAnnotationsBuilder_ == null) { - personDetectionAnnotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder>( + personDetectionAnnotationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder>( personDetectionAnnotations_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), @@ -6790,43 +8534,67 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation.Bu return personDetectionAnnotationsBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrityRecognitionAnnotations_; + private com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + celebrityRecognitionAnnotations_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> celebrityRecognitionAnnotationsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> + celebrityRecognitionAnnotationsBuilder_; /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return Whether the celebrityRecognitionAnnotations field is set. */ public boolean hasCelebrityRecognitionAnnotations() { - return celebrityRecognitionAnnotationsBuilder_ != null || celebrityRecognitionAnnotations_ != null; + return celebrityRecognitionAnnotationsBuilder_ != null + || celebrityRecognitionAnnotations_ != null; } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return The celebrityRecognitionAnnotations. */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getCelebrityRecognitionAnnotations() { if (celebrityRecognitionAnnotationsBuilder_ == null) { - return celebrityRecognitionAnnotations_ == null ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; + return celebrityRecognitionAnnotations_ == null + ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .getDefaultInstance() + : celebrityRecognitionAnnotations_; } else { return celebrityRecognitionAnnotationsBuilder_.getMessage(); } } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ - public Builder setCelebrityRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { + public Builder setCelebrityRecognitionAnnotations( + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { if (celebrityRecognitionAnnotationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6840,14 +8608,19 @@ public Builder setCelebrityRecognitionAnnotations(com.google.cloud.videointellig return this; } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ public Builder setCelebrityRecognitionAnnotations( - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder + builderForValue) { if (celebrityRecognitionAnnotationsBuilder_ == null) { celebrityRecognitionAnnotations_ = builderForValue.build(); onChanged(); @@ -6858,17 +8631,25 @@ public Builder setCelebrityRecognitionAnnotations( return this; } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ - public Builder mergeCelebrityRecognitionAnnotations(com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { + public Builder mergeCelebrityRecognitionAnnotations( + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation value) { if (celebrityRecognitionAnnotationsBuilder_ == null) { if (celebrityRecognitionAnnotations_ != null) { celebrityRecognitionAnnotations_ = - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.newBuilder(celebrityRecognitionAnnotations_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .newBuilder(celebrityRecognitionAnnotations_) + .mergeFrom(value) + .buildPartial(); } else { celebrityRecognitionAnnotations_ = value; } @@ -6880,11 +8661,15 @@ public Builder mergeCelebrityRecognitionAnnotations(com.google.cloud.videointell return this; } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ public Builder clearCelebrityRecognitionAnnotations() { if (celebrityRecognitionAnnotationsBuilder_ == null) { @@ -6898,48 +8683,68 @@ public Builder clearCelebrityRecognitionAnnotations() { return this; } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder getCelebrityRecognitionAnnotationsBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder + getCelebrityRecognitionAnnotationsBuilder() { + onChanged(); return getCelebrityRecognitionAnnotationsFieldBuilder().getBuilder(); } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ - public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder + getCelebrityRecognitionAnnotationsOrBuilder() { if (celebrityRecognitionAnnotationsBuilder_ != null) { return celebrityRecognitionAnnotationsBuilder_.getMessageOrBuilder(); } else { - return celebrityRecognitionAnnotations_ == null ? - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.getDefaultInstance() : celebrityRecognitionAnnotations_; + return celebrityRecognitionAnnotations_ == null + ? com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + .getDefaultInstance() + : celebrityRecognitionAnnotations_; } } /** + * + * *
      * Celebrity recognition annotations.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder> getCelebrityRecognitionAnnotationsFieldBuilder() { if (celebrityRecognitionAnnotationsBuilder_ == null) { - celebrityRecognitionAnnotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder>( - getCelebrityRecognitionAnnotations(), - getParentForChildren(), - isClean()); + celebrityRecognitionAnnotationsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation, + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation.Builder, + com.google.cloud.videointelligence.v1p3beta1 + .CelebrityRecognitionAnnotationOrBuilder>( + getCelebrityRecognitionAnnotations(), getParentForChildren(), isClean()); celebrityRecognitionAnnotations_ = null; } return celebrityRecognitionAnnotationsBuilder_; @@ -6947,26 +8752,33 @@ public com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotati 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_; /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
      * 
* * .google.rpc.Status error = 9; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -6977,6 +8789,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -6998,6 +8812,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7005,8 +8821,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 9;
      */
-    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();
@@ -7017,6 +8832,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7027,8 +8844,7 @@ public Builder setError(
     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;
         }
@@ -7040,6 +8856,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7059,6 +8877,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7067,11 +8887,13 @@ public Builder clearError() {
      * .google.rpc.Status error = 9;
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-      
+
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7083,11 +8905,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
      * some videos may succeed and some may fail.
@@ -7096,21 +8919,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 9;
      */
     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);
     }
 
@@ -7120,30 +8943,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
-  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults DEFAULT_INSTANCE;
+  private static final com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults();
   }
 
-  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstance() {
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoAnnotationResults parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoAnnotationResults(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoAnnotationResults parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoAnnotationResults(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -7155,9 +8980,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults getDefaultInstanceForType() {
+  public com.google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
similarity index 62%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
index e20202cc9..b9018e358 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
@@ -1,53 +1,82 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoAnnotationResultsOrBuilder extends
+public interface VideoAnnotationResultsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The inputUri. */ java.lang.String getInputUri(); /** + * + * *
    * Video file location in
    * [Cloud Storage](https://cloud.google.com/storage/).
    * 
* * string input_uri = 1; + * * @return The bytes for inputUri. */ - com.google.protobuf.ByteString - getInputUriBytes(); + com.google.protobuf.ByteString getInputUriBytes(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return Whether the segment field is set. */ boolean hasSegment(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
* * .google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 10; + * * @return The segment. */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegment(); /** + * + * *
    * Video segment on which the annotation is run.
    * 
@@ -57,55 +86,78 @@ public interface VideoAnnotationResultsOrBuilder extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsList(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentLabelAnnotations( + int index); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ int getSegmentLabelAnnotationsCount(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - java.util.List + java.util.List getSegmentLabelAnnotationsOrBuilderList(); /** + * + * *
    * Topical label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_label_annotations = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -115,11 +167,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsList(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -129,10 +185,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getSegmentPresenceLabelAnnotations( + int index); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -142,10 +203,14 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ int getSegmentPresenceLabelAnnotationsCount(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -155,11 +220,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - java.util.List + java.util.List getSegmentPresenceLabelAnnotationsOrBuilderList(); /** + * + * *
    * Presence label annotations on video level or user-specified segment level.
    * There is exactly one element for each unique label. Compared to the
@@ -169,61 +238,85 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegment
    * "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation segment_presence_label_annotations = 23; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getSegmentPresenceLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsList(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotLabelAnnotations(int index); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ int getShotLabelAnnotationsCount(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - java.util.List + java.util.List getShotLabelAnnotationsOrBuilderList(); /** + * + * *
    * Topical label annotations on shot level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_label_annotations = 3; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -232,11 +325,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsList(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -245,10 +342,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getShotPresenceLabelAnnotations( + int index); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -257,10 +359,14 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ int getShotPresenceLabelAnnotationsCount(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -269,11 +375,15 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - java.util.List + java.util.List getShotPresenceLabelAnnotationsOrBuilderList(); /** + * + * *
    * Presence label annotations on shot level. There is exactly one element for
    * each unique label. Compared to the existing topical
@@ -282,453 +392,654 @@ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotLab
    * sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation shot_presence_label_annotations = 24; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getShotPresenceLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation getFrameLabelAnnotations(int index); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ int getFrameLabelAnnotationsCount(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - java.util.List + java.util.List getFrameLabelAnnotationsOrBuilderList(); /** + * + * *
    * Label annotations on frame level.
    * There is exactly one element for each unique label.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation frame_label_annotations = 4; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder + getFrameLabelAnnotationsOrBuilder(int index); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - java.util.List + java.util.List getFaceDetectionAnnotationsList(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation getFaceDetectionAnnotations( + int index); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ int getFaceDetectionAnnotationsCount(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList(); /** + * + * *
    * Face detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * + * repeated .google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotation face_detection_annotations = 13; + * */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionAnnotationOrBuilder + getFaceDetectionAnnotationsOrBuilder(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p3beta1.VideoSegment getShotAnnotations(int index); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ int getShotAnnotationsCount(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ - java.util.List + java.util.List getShotAnnotationsOrBuilderList(); /** + * + * *
    * Shot annotations. Each shot is represented as a video segment.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 6; + * */ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getShotAnnotationsOrBuilder( int index); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return Whether the explicitAnnotation field is set. */ boolean hasExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * * @return The explicitAnnotation. */ com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation getExplicitAnnotation(); /** + * + * *
    * Explicit content annotation.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 7; + * */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotationOrBuilder + getExplicitAnnotationOrBuilder(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List getSpeechTranscriptionsList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions(int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscription getSpeechTranscriptions( + int index); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ int getSpeechTranscriptionsCount(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList(); /** + * + * *
    * Speech transcription.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * + * repeated .google.cloud.videointelligence.v1p3beta1.SpeechTranscription speech_transcriptions = 11; + * */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionOrBuilder + getSpeechTranscriptionsOrBuilder(int index); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - java.util.List + java.util.List getTextAnnotationsList(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ com.google.cloud.videointelligence.v1p3beta1.TextAnnotation getTextAnnotations(int index); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ int getTextAnnotationsCount(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ - java.util.List + java.util.List getTextAnnotationsOrBuilderList(); /** + * + * *
    * OCR text detection and tracking.
    * Annotations for list of detected text snippets. Each will have list of
    * frame information associated with it.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * repeated .google.cloud.videointelligence.v1p3beta1.TextAnnotation text_annotations = 12; + * */ com.google.cloud.videointelligence.v1p3beta1.TextAnnotationOrBuilder getTextAnnotationsOrBuilder( int index); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List getObjectAnnotationsList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation getObjectAnnotations( + int index); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ int getObjectAnnotationsCount(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList(); /** + * + * *
    * Annotations for list of objects detected and tracked in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * + * repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 14; + * */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder + getObjectAnnotationsOrBuilder(int index); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - java.util.List + java.util.List getLogoRecognitionAnnotationsList(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation + getLogoRecognitionAnnotations(int index); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ int getLogoRecognitionAnnotationsCount(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList(); /** + * + * *
    * Annotations for list of logos detected, tracked and recognized in video.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * + * repeated .google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation logo_recognition_annotations = 19; + * */ - com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotationOrBuilder + getLogoRecognitionAnnotationsOrBuilder(int index); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - java.util.List + java.util.List getPersonDetectionAnnotationsList(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation getPersonDetectionAnnotations(int index); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation + getPersonDetectionAnnotations(int index); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ int getPersonDetectionAnnotationsCount(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList(); /** + * + * *
    * Person detection annotations.
    * 
* - * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * + * repeated .google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotation person_detection_annotations = 20; + * */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder( - int index); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionAnnotationOrBuilder + getPersonDetectionAnnotationsOrBuilder(int index); /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return Whether the celebrityRecognitionAnnotations field is set. */ boolean hasCelebrityRecognitionAnnotations(); /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * * @return The celebrityRecognitionAnnotations. */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation getCelebrityRecognitionAnnotations(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation + getCelebrityRecognitionAnnotations(); /** + * + * *
    * Celebrity recognition annotations.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * + * .google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotation celebrity_recognition_annotations = 21; + * */ - com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder getCelebrityRecognitionAnnotationsOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.CelebrityRecognitionAnnotationOrBuilder + getCelebrityRecognitionAnnotationsOrBuilder(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
    * 
* * .google.rpc.Status error = 9; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * If set, indicates an error. Note that for a single `AnnotateVideoRequest`
    * some videos may succeed and some may fail.
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
similarity index 60%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
index 364a3b4d2..f4d657708 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContext.java
@@ -1,40 +1,57 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Video context and/or feature-specific parameters.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoContext} */ -public final class VideoContext extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoContext) VideoContextOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoContext.newBuilder() to construct. private VideoContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VideoContext() { segments_ = 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 VideoContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,126 +71,174 @@ private VideoContext( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + segments_ = + new java.util.ArrayList< + com.google.cloud.videointelligence.v1p3beta1.VideoSegment>(); + mutable_bitField0_ |= 0x00000001; + } + segments_.add( + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), + extensionRegistry)); + break; } - segments_.add( - input.readMessage(com.google.cloud.videointelligence.v1p3beta1.VideoSegment.parser(), extensionRegistry)); - break; - } - case 18: { - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder subBuilder = null; - if (labelDetectionConfig_ != null) { - subBuilder = labelDetectionConfig_.toBuilder(); + case 18: + { + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder subBuilder = + null; + if (labelDetectionConfig_ != null) { + subBuilder = labelDetectionConfig_.toBuilder(); + } + labelDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(labelDetectionConfig_); + labelDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - labelDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labelDetectionConfig_); - labelDetectionConfig_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder + subBuilder = null; + if (shotChangeDetectionConfig_ != null) { + subBuilder = shotChangeDetectionConfig_.toBuilder(); + } + shotChangeDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(shotChangeDetectionConfig_); + shotChangeDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder subBuilder = null; - if (shotChangeDetectionConfig_ != null) { - subBuilder = shotChangeDetectionConfig_.toBuilder(); + case 34: + { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder + subBuilder = null; + if (explicitContentDetectionConfig_ != null) { + subBuilder = explicitContentDetectionConfig_.toBuilder(); + } + explicitContentDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explicitContentDetectionConfig_); + explicitContentDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - shotChangeDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(shotChangeDetectionConfig_); - shotChangeDetectionConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder subBuilder = + null; + if (faceDetectionConfig_ != null) { + subBuilder = faceDetectionConfig_.toBuilder(); + } + faceDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(faceDetectionConfig_); + faceDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder subBuilder = null; - if (explicitContentDetectionConfig_ != null) { - subBuilder = explicitContentDetectionConfig_.toBuilder(); + case 50: + { + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder + subBuilder = null; + if (speechTranscriptionConfig_ != null) { + subBuilder = speechTranscriptionConfig_.toBuilder(); + } + speechTranscriptionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(speechTranscriptionConfig_); + speechTranscriptionConfig_ = subBuilder.buildPartial(); + } + + break; } - explicitContentDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explicitContentDetectionConfig_); - explicitContentDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder subBuilder = null; - if (faceDetectionConfig_ != null) { - subBuilder = faceDetectionConfig_.toBuilder(); + case 66: + { + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder subBuilder = + null; + if (textDetectionConfig_ != null) { + subBuilder = textDetectionConfig_.toBuilder(); + } + textDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(textDetectionConfig_); + textDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - faceDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(faceDetectionConfig_); - faceDetectionConfig_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder + subBuilder = null; + if (personDetectionConfig_ != null) { + subBuilder = personDetectionConfig_.toBuilder(); + } + personDetectionConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(personDetectionConfig_); + personDetectionConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder subBuilder = null; - if (speechTranscriptionConfig_ != null) { - subBuilder = speechTranscriptionConfig_.toBuilder(); + case 106: + { + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder subBuilder = + null; + if (objectTrackingConfig_ != null) { + subBuilder = objectTrackingConfig_.toBuilder(); + } + objectTrackingConfig_ = + input.readMessage( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(objectTrackingConfig_); + objectTrackingConfig_ = subBuilder.buildPartial(); + } + + break; } - speechTranscriptionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(speechTranscriptionConfig_); - speechTranscriptionConfig_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 66: { - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder subBuilder = null; - if (textDetectionConfig_ != null) { - subBuilder = textDetectionConfig_.toBuilder(); - } - textDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(textDetectionConfig_); - textDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 90: { - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder subBuilder = null; - if (personDetectionConfig_ != null) { - subBuilder = personDetectionConfig_.toBuilder(); - } - personDetectionConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(personDetectionConfig_); - personDetectionConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 106: { - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder subBuilder = null; - if (objectTrackingConfig_ != null) { - subBuilder = objectTrackingConfig_.toBuilder(); - } - objectTrackingConfig_ = input.readMessage(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(objectTrackingConfig_); - objectTrackingConfig_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -181,8 +246,7 @@ private VideoContext( } 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)) { segments_ = java.util.Collections.unmodifiableList(segments_); @@ -191,22 +255,27 @@ private VideoContext( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); } public static final int SEGMENTS_FIELD_NUMBER = 1; private java.util.List segments_; /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -216,10 +285,13 @@ private VideoContext(
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List getSegmentsList() {
+  public java.util.List
+      getSegmentsList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -229,11 +301,14 @@ public java.util.List
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
       getSegmentsOrBuilderList() {
     return segments_;
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -247,6 +322,8 @@ public int getSegmentsCount() {
     return segments_.size();
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -260,6 +337,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
     return segments_.get(index);
   }
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -277,11 +356,16 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
   public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER = 2;
   private com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig labelDetectionConfig_;
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ @java.lang.Override @@ -289,37 +373,56 @@ public boolean hasLabelDetectionConfig() { return labelDetectionConfig_ != null; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig() { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + getLabelDetectionConfig() { + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { return getLabelDetectionConfig(); } public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ @java.lang.Override @@ -327,37 +430,57 @@ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfig_ != null; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { return getShotChangeDetectionConfig(); } public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ @java.lang.Override @@ -365,37 +488,55 @@ public boolean hasExplicitContentDetectionConfig() { return explicitContentDetectionConfig_ != null; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { return getExplicitContentDetectionConfig(); } public static final int FACE_DETECTION_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig faceDetectionConfig_; /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ @java.lang.Override @@ -403,37 +544,53 @@ public boolean hasFaceDetectionConfig() { return faceDetectionConfig_ != null; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig() { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { return getFaceDetectionConfig(); } public static final int SPEECH_TRANSCRIPTION_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + speechTranscriptionConfig_; /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ @java.lang.Override @@ -441,37 +598,55 @@ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfig_ != null; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { return getSpeechTranscriptionConfig(); } public static final int TEXT_DETECTION_CONFIG_FIELD_NUMBER = 8; private com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig textDetectionConfig_; /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ @java.lang.Override @@ -479,37 +654,52 @@ public boolean hasTextDetectionConfig() { return textDetectionConfig_ != null; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig() { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { return getTextDetectionConfig(); } public static final int PERSON_DETECTION_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig personDetectionConfig_; /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ @java.lang.Override @@ -517,37 +707,55 @@ public boolean hasPersonDetectionConfig() { return personDetectionConfig_ != null; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig() { - return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + getPersonDetectionConfig() { + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() + : personDetectionConfig_; } /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder() { return getPersonDetectionConfig(); } public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER = 13; private com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig objectTrackingConfig_; /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ @java.lang.Override @@ -555,30 +763,44 @@ public boolean hasObjectTrackingConfig() { return objectTrackingConfig_ != null; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig() { - return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + getObjectTrackingConfig() { + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ @java.lang.Override - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { return getObjectTrackingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -590,8 +812,7 @@ 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 < segments_.size(); i++) { output.writeMessage(1, segments_.get(i)); } @@ -629,40 +850,40 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < segments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, segments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, segments_.get(i)); } if (labelDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLabelDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLabelDetectionConfig()); } if (shotChangeDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getShotChangeDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getShotChangeDetectionConfig()); } if (explicitContentDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExplicitContentDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getExplicitContentDetectionConfig()); } if (faceDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFaceDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFaceDetectionConfig()); } if (speechTranscriptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSpeechTranscriptionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getSpeechTranscriptionConfig()); } if (textDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTextDetectionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTextDetectionConfig()); } if (personDetectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getPersonDetectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, getPersonDetectionConfig()); } if (objectTrackingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getObjectTrackingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, getObjectTrackingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -672,54 +893,50 @@ 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.videointelligence.v1p3beta1.VideoContext)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.VideoContext other = (com.google.cloud.videointelligence.v1p3beta1.VideoContext) obj; + com.google.cloud.videointelligence.v1p3beta1.VideoContext other = + (com.google.cloud.videointelligence.v1p3beta1.VideoContext) obj; - if (!getSegmentsList() - .equals(other.getSegmentsList())) return false; + if (!getSegmentsList().equals(other.getSegmentsList())) return false; if (hasLabelDetectionConfig() != other.hasLabelDetectionConfig()) return false; if (hasLabelDetectionConfig()) { - if (!getLabelDetectionConfig() - .equals(other.getLabelDetectionConfig())) return false; + if (!getLabelDetectionConfig().equals(other.getLabelDetectionConfig())) return false; } if (hasShotChangeDetectionConfig() != other.hasShotChangeDetectionConfig()) return false; if (hasShotChangeDetectionConfig()) { - if (!getShotChangeDetectionConfig() - .equals(other.getShotChangeDetectionConfig())) return false; + if (!getShotChangeDetectionConfig().equals(other.getShotChangeDetectionConfig())) + return false; } - if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) return false; + if (hasExplicitContentDetectionConfig() != other.hasExplicitContentDetectionConfig()) + return false; if (hasExplicitContentDetectionConfig()) { - if (!getExplicitContentDetectionConfig() - .equals(other.getExplicitContentDetectionConfig())) return false; + if (!getExplicitContentDetectionConfig().equals(other.getExplicitContentDetectionConfig())) + return false; } if (hasFaceDetectionConfig() != other.hasFaceDetectionConfig()) return false; if (hasFaceDetectionConfig()) { - if (!getFaceDetectionConfig() - .equals(other.getFaceDetectionConfig())) return false; + if (!getFaceDetectionConfig().equals(other.getFaceDetectionConfig())) return false; } if (hasSpeechTranscriptionConfig() != other.hasSpeechTranscriptionConfig()) return false; if (hasSpeechTranscriptionConfig()) { - if (!getSpeechTranscriptionConfig() - .equals(other.getSpeechTranscriptionConfig())) return false; + if (!getSpeechTranscriptionConfig().equals(other.getSpeechTranscriptionConfig())) + return false; } if (hasTextDetectionConfig() != other.hasTextDetectionConfig()) return false; if (hasTextDetectionConfig()) { - if (!getTextDetectionConfig() - .equals(other.getTextDetectionConfig())) return false; + if (!getTextDetectionConfig().equals(other.getTextDetectionConfig())) return false; } if (hasPersonDetectionConfig() != other.hasPersonDetectionConfig()) return false; if (hasPersonDetectionConfig()) { - if (!getPersonDetectionConfig() - .equals(other.getPersonDetectionConfig())) return false; + if (!getPersonDetectionConfig().equals(other.getPersonDetectionConfig())) return false; } if (hasObjectTrackingConfig() != other.hasObjectTrackingConfig()) return false; if (hasObjectTrackingConfig()) { - if (!getObjectTrackingConfig() - .equals(other.getObjectTrackingConfig())) return false; + if (!getObjectTrackingConfig().equals(other.getObjectTrackingConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -774,117 +991,127 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.VideoContext 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; } /** + * + * *
    * Video context and/or feature-specific parameters.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoContext} */ - 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.videointelligence.v1p3beta1.VideoContext) com.google.cloud.videointelligence.v1p3beta1.VideoContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoContext.class, + com.google.cloud.videointelligence.v1p3beta1.VideoContext.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoContext.newBuilder() @@ -892,17 +1119,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) { getSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -964,9 +1191,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; } @java.lang.Override @@ -985,7 +1212,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoContext buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoContext result = new com.google.cloud.videointelligence.v1p3beta1.VideoContext(this); + com.google.cloud.videointelligence.v1p3beta1.VideoContext result = + new com.google.cloud.videointelligence.v1p3beta1.VideoContext(this); int from_bitField0_ = bitField0_; if (segmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1044,38 +1272,39 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoContext 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.videointelligence.v1p3beta1.VideoContext) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoContext)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoContext) other); } else { super.mergeFrom(other); return this; @@ -1083,7 +1312,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoContext other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoContext.getDefaultInstance()) + return this; if (segmentsBuilder_ == null) { if (!other.segments_.isEmpty()) { if (segments_.isEmpty()) { @@ -1102,9 +1332,10 @@ public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoConte segmentsBuilder_ = null; segments_ = other.segments_; bitField0_ = (bitField0_ & ~0x00000001); - segmentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSegmentsFieldBuilder() : null; + segmentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSegmentsFieldBuilder() + : null; } else { segmentsBuilder_.addAllMessages(other.segments_); } @@ -1153,7 +1384,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.VideoContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1162,21 +1394,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List segments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSegmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - segments_ = new java.util.ArrayList(segments_); + segments_ = + new java.util.ArrayList( + segments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> segmentsBuilder_; + com.google.cloud.videointelligence.v1p3beta1.VideoSegment, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, + com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> + segmentsBuilder_; /** + * + * *
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1185,7 +1426,8 @@ private void ensureSegmentsIsMutable() {
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List getSegmentsList() {
+    public java.util.List
+        getSegmentsList() {
       if (segmentsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(segments_);
       } else {
@@ -1193,6 +1435,8 @@ public java.util.List
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1209,6 +1453,8 @@ public int getSegmentsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1225,6 +1471,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1248,6 +1496,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1257,7 +1507,8 @@ public Builder setSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder setSegments(
-        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.set(index, builderForValue.build());
@@ -1268,6 +1519,8 @@ public Builder setSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1290,6 +1543,8 @@ public Builder addSegments(com.google.cloud.videointelligence.v1p3beta1.VideoSeg
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1313,6 +1568,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1333,6 +1590,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1342,7 +1601,8 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder addSegments(
-        int index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
+        int index,
+        com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder builderForValue) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
         segments_.add(index, builderForValue.build());
@@ -1353,6 +1613,8 @@ public Builder addSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1362,11 +1624,11 @@ public Builder addSegments(
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public Builder addAllSegments(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (segmentsBuilder_ == null) {
         ensureSegmentsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, segments_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, segments_);
         onChanged();
       } else {
         segmentsBuilder_.addAllMessages(values);
@@ -1374,6 +1636,8 @@ public Builder addAllSegments(
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1393,6 +1657,8 @@ public Builder clearSegments() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1412,6 +1678,8 @@ public Builder removeSegments(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1425,6 +1693,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
       return getSegmentsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1436,11 +1706,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOrBuilder(
         int index) {
       if (segmentsBuilder_ == null) {
-        return segments_.get(index);  } else {
+        return segments_.get(index);
+      } else {
         return segmentsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1449,8 +1722,9 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
+        getSegmentsOrBuilderList() {
       if (segmentsBuilder_ != null) {
         return segmentsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1458,6 +1732,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
       }
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1467,10 +1743,13 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder() {
-      return getSegmentsFieldBuilder().addBuilder(
-          com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1481,10 +1760,14 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      */
     public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegmentsBuilder(
         int index) {
-      return getSegmentsFieldBuilder().addBuilder(
-          index, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
+      return getSegmentsFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Video segments to annotate. The segments may overlap and are not required
      * to be contiguous or span the whole video. If unspecified, each video is
@@ -1493,20 +1776,23 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
      *
      * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
      */
-    public java.util.List 
-         getSegmentsBuilderList() {
+    public java.util.List
+        getSegmentsBuilderList() {
       return getSegmentsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> 
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>
         getSegmentsFieldBuilder() {
       if (segmentsBuilder_ == null) {
-        segmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.videointelligence.v1p3beta1.VideoSegment, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder, com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
-                segments_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        segmentsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder,
+                com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>(
+                segments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         segments_ = null;
       }
       return segmentsBuilder_;
@@ -1514,41 +1800,62 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder addSegm
 
     private com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig labelDetectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> labelDetectionConfigBuilder_;
+            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig,
+            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder,
+            com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>
+        labelDetectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ public boolean hasLabelDetectionConfig() { return labelDetectionConfigBuilder_ != null || labelDetectionConfig_ != null; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig + getLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { - return labelDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } else { return labelDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { + public Builder setLabelDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1562,11 +1869,15 @@ public Builder setLabelDetectionConfig(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder setLabelDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder builderForValue) { @@ -1580,17 +1891,25 @@ public Builder setLabelDetectionConfig( return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { + public Builder mergeLabelDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig value) { if (labelDetectionConfigBuilder_ == null) { if (labelDetectionConfig_ != null) { labelDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder(labelDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.newBuilder( + labelDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { labelDetectionConfig_ = value; } @@ -1602,11 +1921,15 @@ public Builder mergeLabelDetectionConfig(com.google.cloud.videointelligence.v1p3 return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ public Builder clearLabelDetectionConfig() { if (labelDetectionConfigBuilder_ == null) { @@ -1620,90 +1943,131 @@ public Builder clearLabelDetectionConfig() { return this; } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder getLabelDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder + getLabelDetectionConfigBuilder() { + onChanged(); return getLabelDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ - public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder() { if (labelDetectionConfigBuilder_ != null) { return labelDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return labelDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() : labelDetectionConfig_; + return labelDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.getDefaultInstance() + : labelDetectionConfig_; } } /** + * + * *
      * Config for LABEL_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder> getLabelDetectionConfigFieldBuilder() { if (labelDetectionConfigBuilder_ == null) { - labelDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>( - getLabelDetectionConfig(), - getParentForChildren(), - isClean()); + labelDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder>( + getLabelDetectionConfig(), getParentForChildren(), isClean()); labelDetectionConfig_ = null; } return labelDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shotChangeDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + shotChangeDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> shotChangeDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> + shotChangeDetectionConfigBuilder_; /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ public boolean hasShotChangeDetectionConfig() { return shotChangeDetectionConfigBuilder_ != null || shotChangeDetectionConfig_ != null; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { - return shotChangeDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } else { return shotChangeDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { + public Builder setShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1717,14 +2081,19 @@ public Builder setShotChangeDetectionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder setShotChangeDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder + builderForValue) { if (shotChangeDetectionConfigBuilder_ == null) { shotChangeDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1735,17 +2104,25 @@ public Builder setShotChangeDetectionConfig( return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { + public Builder mergeShotChangeDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig value) { if (shotChangeDetectionConfigBuilder_ == null) { if (shotChangeDetectionConfig_ != null) { shotChangeDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder(shotChangeDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.newBuilder( + shotChangeDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { shotChangeDetectionConfig_ = value; } @@ -1757,11 +2134,15 @@ public Builder mergeShotChangeDetectionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ public Builder clearShotChangeDetectionConfig() { if (shotChangeDetectionConfigBuilder_ == null) { @@ -1775,90 +2156,133 @@ public Builder clearShotChangeDetectionConfig() { return this; } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder getShotChangeDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder + getShotChangeDetectionConfigBuilder() { + onChanged(); return getShotChangeDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder() { if (shotChangeDetectionConfigBuilder_ != null) { return shotChangeDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return shotChangeDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.getDefaultInstance() : shotChangeDetectionConfig_; + return shotChangeDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + .getDefaultInstance() + : shotChangeDetectionConfig_; } } /** + * + * *
      * Config for SHOT_CHANGE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder> getShotChangeDetectionConfigFieldBuilder() { if (shotChangeDetectionConfigBuilder_ == null) { - shotChangeDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder>( - getShotChangeDetectionConfig(), - getParentForChildren(), - isClean()); + shotChangeDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder>( + getShotChangeDetectionConfig(), getParentForChildren(), isClean()); shotChangeDetectionConfig_ = null; } return shotChangeDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicitContentDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + explicitContentDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> explicitContentDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> + explicitContentDetectionConfigBuilder_; /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ public boolean hasExplicitContentDetectionConfig() { - return explicitContentDetectionConfigBuilder_ != null || explicitContentDetectionConfig_ != null; + return explicitContentDetectionConfigBuilder_ != null + || explicitContentDetectionConfig_ != null; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { - return explicitContentDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } else { return explicitContentDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder setExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { + public Builder setExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1872,14 +2296,19 @@ public Builder setExplicitContentDetectionConfig(com.google.cloud.videointellige return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder setExplicitContentDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder + builderForValue) { if (explicitContentDetectionConfigBuilder_ == null) { explicitContentDetectionConfig_ = builderForValue.build(); onChanged(); @@ -1890,17 +2319,25 @@ public Builder setExplicitContentDetectionConfig( return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { + public Builder mergeExplicitContentDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig value) { if (explicitContentDetectionConfigBuilder_ == null) { if (explicitContentDetectionConfig_ != null) { explicitContentDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.newBuilder(explicitContentDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .newBuilder(explicitContentDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { explicitContentDetectionConfig_ = value; } @@ -1912,11 +2349,15 @@ public Builder mergeExplicitContentDetectionConfig(com.google.cloud.videointelli return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ public Builder clearExplicitContentDetectionConfig() { if (explicitContentDetectionConfigBuilder_ == null) { @@ -1930,48 +2371,68 @@ public Builder clearExplicitContentDetectionConfig() { return this; } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder getExplicitContentDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder + getExplicitContentDetectionConfigBuilder() { + onChanged(); return getExplicitContentDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder() { if (explicitContentDetectionConfigBuilder_ != null) { return explicitContentDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return explicitContentDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.getDefaultInstance() : explicitContentDetectionConfig_; + return explicitContentDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + .getDefaultInstance() + : explicitContentDetectionConfig_; } } /** + * + * *
      * Config for EXPLICIT_CONTENT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder> getExplicitContentDetectionConfigFieldBuilder() { if (explicitContentDetectionConfigBuilder_ == null) { - explicitContentDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder>( - getExplicitContentDetectionConfig(), - getParentForChildren(), - isClean()); + explicitContentDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1 + .ExplicitContentDetectionConfigOrBuilder>( + getExplicitContentDetectionConfig(), getParentForChildren(), isClean()); explicitContentDetectionConfig_ = null; } return explicitContentDetectionConfigBuilder_; @@ -1979,41 +2440,62 @@ public com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConf private com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig faceDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> faceDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> + faceDetectionConfigBuilder_; /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ public boolean hasFaceDetectionConfig() { return faceDetectionConfigBuilder_ != null || faceDetectionConfig_ != null; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig + getFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { - return faceDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } else { return faceDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { + public Builder setFaceDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2027,11 +2509,15 @@ public Builder setFaceDetectionConfig(com.google.cloud.videointelligence.v1p3bet return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ public Builder setFaceDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder builderForValue) { @@ -2045,17 +2531,25 @@ public Builder setFaceDetectionConfig( return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ - public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { + public Builder mergeFaceDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig value) { if (faceDetectionConfigBuilder_ == null) { if (faceDetectionConfig_ != null) { faceDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder(faceDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.newBuilder( + faceDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { faceDetectionConfig_ = value; } @@ -2067,11 +2561,15 @@ public Builder mergeFaceDetectionConfig(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ public Builder clearFaceDetectionConfig() { if (faceDetectionConfigBuilder_ == null) { @@ -2085,90 +2583,131 @@ public Builder clearFaceDetectionConfig() { return this; } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder getFaceDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder + getFaceDetectionConfigBuilder() { + onChanged(); return getFaceDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ - public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder() { if (faceDetectionConfigBuilder_ != null) { return faceDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return faceDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() : faceDetectionConfig_; + return faceDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.getDefaultInstance() + : faceDetectionConfig_; } } /** + * + * *
      * Config for FACE_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder> getFaceDetectionConfigFieldBuilder() { if (faceDetectionConfigBuilder_ == null) { - faceDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder>( - getFaceDetectionConfig(), - getParentForChildren(), - isClean()); + faceDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder>( + getFaceDetectionConfig(), getParentForChildren(), isClean()); faceDetectionConfig_ = null; } return faceDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speechTranscriptionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + speechTranscriptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> speechTranscriptionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> + speechTranscriptionConfigBuilder_; /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ public boolean hasSpeechTranscriptionConfig() { return speechTranscriptionConfigBuilder_ != null || speechTranscriptionConfig_ != null; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { - return speechTranscriptionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } else { return speechTranscriptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { + public Builder setSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2182,14 +2721,19 @@ public Builder setSpeechTranscriptionConfig(com.google.cloud.videointelligence.v return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder setSpeechTranscriptionConfig( - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder + builderForValue) { if (speechTranscriptionConfigBuilder_ == null) { speechTranscriptionConfig_ = builderForValue.build(); onChanged(); @@ -2200,17 +2744,25 @@ public Builder setSpeechTranscriptionConfig( return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { + public Builder mergeSpeechTranscriptionConfig( + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig value) { if (speechTranscriptionConfigBuilder_ == null) { if (speechTranscriptionConfig_ != null) { speechTranscriptionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder(speechTranscriptionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.newBuilder( + speechTranscriptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { speechTranscriptionConfig_ = value; } @@ -2222,11 +2774,15 @@ public Builder mergeSpeechTranscriptionConfig(com.google.cloud.videointelligence return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ public Builder clearSpeechTranscriptionConfig() { if (speechTranscriptionConfigBuilder_ == null) { @@ -2240,48 +2796,67 @@ public Builder clearSpeechTranscriptionConfig() { return this; } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder getSpeechTranscriptionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder + getSpeechTranscriptionConfigBuilder() { + onChanged(); return getSpeechTranscriptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder() { if (speechTranscriptionConfigBuilder_ != null) { return speechTranscriptionConfigBuilder_.getMessageOrBuilder(); } else { - return speechTranscriptionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.getDefaultInstance() : speechTranscriptionConfig_; + return speechTranscriptionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + .getDefaultInstance() + : speechTranscriptionConfig_; } } /** + * + * *
      * Config for SPEECH_TRANSCRIPTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder> getSpeechTranscriptionConfigFieldBuilder() { if (speechTranscriptionConfigBuilder_ == null) { - speechTranscriptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder>( - getSpeechTranscriptionConfig(), - getParentForChildren(), - isClean()); + speechTranscriptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder>( + getSpeechTranscriptionConfig(), getParentForChildren(), isClean()); speechTranscriptionConfig_ = null; } return speechTranscriptionConfigBuilder_; @@ -2289,41 +2864,62 @@ public com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrB private com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig textDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> textDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> + textDetectionConfigBuilder_; /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ public boolean hasTextDetectionConfig() { return textDetectionConfigBuilder_ != null || textDetectionConfig_ != null; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig + getTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { - return textDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } else { return textDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { + public Builder setTextDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2337,11 +2933,15 @@ public Builder setTextDetectionConfig(com.google.cloud.videointelligence.v1p3bet return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ public Builder setTextDetectionConfig( com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder builderForValue) { @@ -2355,17 +2955,25 @@ public Builder setTextDetectionConfig( return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ - public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { + public Builder mergeTextDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig value) { if (textDetectionConfigBuilder_ == null) { if (textDetectionConfig_ != null) { textDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder(textDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.newBuilder( + textDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { textDetectionConfig_ = value; } @@ -2377,11 +2985,15 @@ public Builder mergeTextDetectionConfig(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ public Builder clearTextDetectionConfig() { if (textDetectionConfigBuilder_ == null) { @@ -2395,90 +3007,131 @@ public Builder clearTextDetectionConfig() { return this; } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder getTextDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder + getTextDetectionConfigBuilder() { + onChanged(); return getTextDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ - public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder() { if (textDetectionConfigBuilder_ != null) { return textDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return textDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() : textDetectionConfig_; + return textDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.getDefaultInstance() + : textDetectionConfig_; } } /** + * + * *
      * Config for TEXT_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder> getTextDetectionConfigFieldBuilder() { if (textDetectionConfigBuilder_ == null) { - textDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder>( - getTextDetectionConfig(), - getParentForChildren(), - isClean()); + textDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder>( + getTextDetectionConfig(), getParentForChildren(), isClean()); textDetectionConfig_ = null; } return textDetectionConfigBuilder_; } - private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig personDetectionConfig_; + private com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + personDetectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> personDetectionConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> + personDetectionConfigBuilder_; /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ public boolean hasPersonDetectionConfig() { return personDetectionConfigBuilder_ != null || personDetectionConfig_ != null; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + getPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { - return personDetectionConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + .getDefaultInstance() + : personDetectionConfig_; } else { return personDetectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ - public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { + public Builder setPersonDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2492,14 +3145,19 @@ public Builder setPersonDetectionConfig(com.google.cloud.videointelligence.v1p3b return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ public Builder setPersonDetectionConfig( - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder builderForValue) { + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder + builderForValue) { if (personDetectionConfigBuilder_ == null) { personDetectionConfig_ = builderForValue.build(); onChanged(); @@ -2510,17 +3168,25 @@ public Builder setPersonDetectionConfig( return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ - public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { + public Builder mergePersonDetectionConfig( + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig value) { if (personDetectionConfigBuilder_ == null) { if (personDetectionConfig_ != null) { personDetectionConfig_ = - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder(personDetectionConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.newBuilder( + personDetectionConfig_) + .mergeFrom(value) + .buildPartial(); } else { personDetectionConfig_ = value; } @@ -2532,11 +3198,15 @@ public Builder mergePersonDetectionConfig(com.google.cloud.videointelligence.v1p return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ public Builder clearPersonDetectionConfig() { if (personDetectionConfigBuilder_ == null) { @@ -2550,48 +3220,67 @@ public Builder clearPersonDetectionConfig() { return this; } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder getPersonDetectionConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder + getPersonDetectionConfigBuilder() { + onChanged(); return getPersonDetectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ - public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder() { if (personDetectionConfigBuilder_ != null) { return personDetectionConfigBuilder_.getMessageOrBuilder(); } else { - return personDetectionConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.getDefaultInstance() : personDetectionConfig_; + return personDetectionConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig + .getDefaultInstance() + : personDetectionConfig_; } } /** + * + * *
      * Config for PERSON_DETECTION.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder> getPersonDetectionConfigFieldBuilder() { if (personDetectionConfigBuilder_ == null) { - personDetectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder>( - getPersonDetectionConfig(), - getParentForChildren(), - isClean()); + personDetectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder>( + getPersonDetectionConfig(), getParentForChildren(), isClean()); personDetectionConfig_ = null; } return personDetectionConfigBuilder_; @@ -2599,41 +3288,62 @@ public com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuild private com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig objectTrackingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> objectTrackingConfigBuilder_; + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> + objectTrackingConfigBuilder_; /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ public boolean hasObjectTrackingConfig() { return objectTrackingConfigBuilder_ != null || objectTrackingConfig_ != null; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig + getObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { - return objectTrackingConfig_ == null ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } else { return objectTrackingConfigBuilder_.getMessage(); } } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { + public Builder setObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2647,11 +3357,15 @@ public Builder setObjectTrackingConfig(com.google.cloud.videointelligence.v1p3be return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ public Builder setObjectTrackingConfig( com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder builderForValue) { @@ -2665,17 +3379,25 @@ public Builder setObjectTrackingConfig( return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { + public Builder mergeObjectTrackingConfig( + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig value) { if (objectTrackingConfigBuilder_ == null) { if (objectTrackingConfig_ != null) { objectTrackingConfig_ = - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder(objectTrackingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.newBuilder( + objectTrackingConfig_) + .mergeFrom(value) + .buildPartial(); } else { objectTrackingConfig_ = value; } @@ -2687,11 +3409,15 @@ public Builder mergeObjectTrackingConfig(com.google.cloud.videointelligence.v1p3 return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ public Builder clearObjectTrackingConfig() { if (objectTrackingConfigBuilder_ == null) { @@ -2705,55 +3431,73 @@ public Builder clearObjectTrackingConfig() { return this; } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder getObjectTrackingConfigBuilder() { - + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder + getObjectTrackingConfigBuilder() { + onChanged(); return getObjectTrackingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ - public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder() { + public com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder() { if (objectTrackingConfigBuilder_ != null) { return objectTrackingConfigBuilder_.getMessageOrBuilder(); } else { - return objectTrackingConfig_ == null ? - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() : objectTrackingConfig_; + return objectTrackingConfig_ == null + ? com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.getDefaultInstance() + : objectTrackingConfig_; } } /** + * + * *
      * Config for OBJECT_TRACKING.
      * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder> getObjectTrackingConfigFieldBuilder() { if (objectTrackingConfigBuilder_ == null) { - objectTrackingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder>( - getObjectTrackingConfig(), - getParentForChildren(), - isClean()); + objectTrackingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig.Builder, + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder>( + getObjectTrackingConfig(), getParentForChildren(), isClean()); objectTrackingConfig_ = null; } return objectTrackingConfigBuilder_; } + @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); } @@ -2763,12 +3507,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoContext) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoContext) private static final com.google.cloud.videointelligence.v1p3beta1.VideoContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoContext(); } @@ -2777,16 +3521,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.VideoContext getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VideoContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VideoContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VideoContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VideoContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2801,6 +3545,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.VideoContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java similarity index 61% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java index 6d9918e35..1ccb09c6d 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoContextOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface VideoContextOrBuilder extends +public interface VideoContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -16,9 +34,10 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
-  java.util.List 
-      getSegmentsList();
+  java.util.List getSegmentsList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -29,6 +48,8 @@ public interface VideoContextOrBuilder extends
    */
   com.google.cloud.videointelligence.v1p3beta1.VideoSegment getSegments(int index);
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -39,6 +60,8 @@ public interface VideoContextOrBuilder extends
    */
   int getSegmentsCount();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -47,9 +70,11 @@ public interface VideoContextOrBuilder extends
    *
    * repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment segments = 1;
    */
-  java.util.List 
+  java.util.List
       getSegmentsOrBuilderList();
   /**
+   *
+   *
    * 
    * Video segments to annotate. The segments may overlap and are not required
    * to be contiguous or span the whole video. If unspecified, each video is
@@ -62,218 +87,335 @@ com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentsOr
       int index);
 
   /**
+   *
+   *
    * 
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return Whether the labelDetectionConfig field is set. */ boolean hasLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * * @return The labelDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig getLabelDetectionConfig(); /** + * + * *
    * Config for LABEL_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * + * .google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig label_detection_config = 2; + * */ - com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.LabelDetectionConfigOrBuilder + getLabelDetectionConfigOrBuilder(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return Whether the shotChangeDetectionConfig field is set. */ boolean hasShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * * @return The shotChangeDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig getShotChangeDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig + getShotChangeDetectionConfig(); /** + * + * *
    * Config for SHOT_CHANGE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * + * .google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig shot_change_detection_config = 3; + * */ - com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfigOrBuilder + getShotChangeDetectionConfigOrBuilder(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return Whether the explicitContentDetectionConfig field is set. */ boolean hasExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * * @return The explicitContentDetectionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig getExplicitContentDetectionConfig(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig + getExplicitContentDetectionConfig(); /** + * + * *
    * Config for EXPLICIT_CONTENT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * + * .google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig explicit_content_detection_config = 4; + * */ - com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfigOrBuilder + getExplicitContentDetectionConfigOrBuilder(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return Whether the faceDetectionConfig field is set. */ boolean hasFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * + * * @return The faceDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig getFaceDetectionConfig(); /** + * + * *
    * Config for FACE_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * .google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig face_detection_config = 5; + * */ - com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder getFaceDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.FaceDetectionConfigOrBuilder + getFaceDetectionConfigOrBuilder(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return Whether the speechTranscriptionConfig field is set. */ boolean hasSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * * @return The speechTranscriptionConfig. */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig getSpeechTranscriptionConfig(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig + getSpeechTranscriptionConfig(); /** + * + * *
    * Config for SPEECH_TRANSCRIPTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * + * .google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig speech_transcription_config = 6; + * */ - com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder getSpeechTranscriptionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfigOrBuilder + getSpeechTranscriptionConfigOrBuilder(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return Whether the textDetectionConfig field is set. */ boolean hasTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * + * * @return The textDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfig getTextDetectionConfig(); /** + * + * *
    * Config for TEXT_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * .google.cloud.videointelligence.v1p3beta1.TextDetectionConfig text_detection_config = 8; + * */ - com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder getTextDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.TextDetectionConfigOrBuilder + getTextDetectionConfigOrBuilder(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return Whether the personDetectionConfig field is set. */ boolean hasPersonDetectionConfig(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * * @return The personDetectionConfig. */ com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig getPersonDetectionConfig(); /** + * + * *
    * Config for PERSON_DETECTION.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * + * .google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig person_detection_config = 11; + * */ - com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder getPersonDetectionConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.PersonDetectionConfigOrBuilder + getPersonDetectionConfigOrBuilder(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return Whether the objectTrackingConfig field is set. */ boolean hasObjectTrackingConfig(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * * @return The objectTrackingConfig. */ com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig getObjectTrackingConfig(); /** + * + * *
    * Config for OBJECT_TRACKING.
    * 
* - * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * + * .google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig object_tracking_config = 13; + * */ - com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder(); + com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfigOrBuilder + getObjectTrackingConfigOrBuilder(); } diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java new file mode 100644 index 000000000..45caccf30 --- /dev/null +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java @@ -0,0 +1,1111 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto + +package com.google.cloud.videointelligence.v1p3beta1; + +public final class VideoIntelligenceServiceProto { + private VideoIntelligenceServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/videointelligence/v1p3bet" + + "a1/video_intelligence.proto\022(google.clou" + + "d.videointelligence.v1p3beta1\032\034google/ap" + + "i/annotations.proto\032\027google/api/client.p" + + "roto\032\037google/api/field_behavior.proto\032#g" + + "oogle/longrunning/operations.proto\032\036goog" + + "le/protobuf/duration.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\214\002\n\024AnnotateVideoRequest\022\021\n\tinput_u" + + "ri\030\001 \001(\t\022\025\n\rinput_content\030\006 \001(\014\022H\n\010featu" + + "res\030\002 \003(\01621.google.cloud.videointelligen" + + "ce.v1p3beta1.FeatureB\003\340A\002\022M\n\rvideo_conte" + + "xt\030\003 \001(\01326.google.cloud.videointelligenc" + + "e.v1p3beta1.VideoContext\022\027\n\noutput_uri\030\004" + + " \001(\tB\003\340A\001\022\030\n\013location_id\030\005 \001(\tB\003\340A\001\"\200\007\n\014" + + "VideoContext\022H\n\010segments\030\001 \003(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egment\022^\n\026label_detection_config\030\002 \001(\0132>" + + ".google.cloud.videointelligence.v1p3beta" + + "1.LabelDetectionConfig\022i\n\034shot_change_de" + + "tection_config\030\003 \001(\0132C.google.cloud.vide" + + "ointelligence.v1p3beta1.ShotChangeDetect" + + "ionConfig\022s\n!explicit_content_detection_" + + "config\030\004 \001(\0132H.google.cloud.videointelli" + + "gence.v1p3beta1.ExplicitContentDetection" + + "Config\022\\\n\025face_detection_config\030\005 \001(\0132=." + + "google.cloud.videointelligence.v1p3beta1" + + ".FaceDetectionConfig\022h\n\033speech_transcrip" + + "tion_config\030\006 \001(\0132C.google.cloud.videoin" + + "telligence.v1p3beta1.SpeechTranscription" + + "Config\022\\\n\025text_detection_config\030\010 \001(\0132=." + + "google.cloud.videointelligence.v1p3beta1" + + ".TextDetectionConfig\022`\n\027person_detection" + + "_config\030\013 \001(\0132?.google.cloud.videointell" + + "igence.v1p3beta1.PersonDetectionConfig\022^" + + "\n\026object_tracking_config\030\r \001(\0132>.google." + + "cloud.videointelligence.v1p3beta1.Object" + + "TrackingConfig\"\344\001\n\024LabelDetectionConfig\022" + + "Z\n\024label_detection_mode\030\001 \001(\0162<.google.c" + + "loud.videointelligence.v1p3beta1.LabelDe" + + "tectionMode\022\031\n\021stationary_camera\030\002 \001(\010\022\r" + + "\n\005model\030\003 \001(\t\022\"\n\032frame_confidence_thresh" + + "old\030\004 \001(\002\022\"\n\032video_confidence_threshold\030" + + "\005 \001(\002\"*\n\031ShotChangeDetectionConfig\022\r\n\005mo" + + "del\030\001 \001(\t\"%\n\024ObjectTrackingConfig\022\r\n\005mod" + + "el\030\001 \001(\t\"/\n\036ExplicitContentDetectionConf" + + "ig\022\r\n\005model\030\001 \001(\t\"`\n\023FaceDetectionConfig" + + "\022\r\n\005model\030\001 \001(\t\022\036\n\026include_bounding_boxe" + + "s\030\002 \001(\010\022\032\n\022include_attributes\030\005 \001(\010\"s\n\025P" + + "ersonDetectionConfig\022\036\n\026include_bounding" + + "_boxes\030\001 \001(\010\022\036\n\026include_pose_landmarks\030\002" + + " \001(\010\022\032\n\022include_attributes\030\003 \001(\010\"<\n\023Text" + + "DetectionConfig\022\026\n\016language_hints\030\001 \003(\t\022" + + "\r\n\005model\030\002 \001(\t\"x\n\014VideoSegment\0224\n\021start_" + + "time_offset\030\001 \001(\0132\031.google.protobuf.Dura" + + "tion\0222\n\017end_time_offset\030\002 \001(\0132\031.google.p" + + "rotobuf.Duration\"k\n\014LabelSegment\022G\n\007segm" + + "ent\030\001 \001(\01326.google.cloud.videointelligen" + + "ce.v1p3beta1.VideoSegment\022\022\n\nconfidence\030" + + "\002 \001(\002\"P\n\nLabelFrame\022.\n\013time_offset\030\001 \001(\013" + + "2\031.google.protobuf.Duration\022\022\n\nconfidenc" + + "e\030\002 \001(\002\"G\n\006Entity\022\021\n\tentity_id\030\001 \001(\t\022\023\n\013" + + "description\030\002 \001(\t\022\025\n\rlanguage_code\030\003 \001(\t" + + "\"\260\002\n\017LabelAnnotation\022@\n\006entity\030\001 \001(\01320.g" + + "oogle.cloud.videointelligence.v1p3beta1." + + "Entity\022K\n\021category_entities\030\002 \003(\01320.goog" + + "le.cloud.videointelligence.v1p3beta1.Ent" + + "ity\022H\n\010segments\030\003 \003(\01326.google.cloud.vid" + + "eointelligence.v1p3beta1.LabelSegment\022D\n" + + "\006frames\030\004 \003(\01324.google.cloud.videointell" + + "igence.v1p3beta1.LabelFrame\"\234\001\n\024Explicit" + + "ContentFrame\022.\n\013time_offset\030\001 \001(\0132\031.goog" + + "le.protobuf.Duration\022T\n\026pornography_like" + + "lihood\030\002 \001(\01624.google.cloud.videointelli" + + "gence.v1p3beta1.Likelihood\"k\n\031ExplicitCo" + + "ntentAnnotation\022N\n\006frames\030\001 \003(\0132>.google" + + ".cloud.videointelligence.v1p3beta1.Expli" + + "citContentFrame\"Q\n\025NormalizedBoundingBox" + + "\022\014\n\004left\030\001 \001(\002\022\013\n\003top\030\002 \001(\002\022\r\n\005right\030\003 \001" + + "(\002\022\016\n\006bottom\030\004 \001(\002\"\317\002\n\021TimestampedObject" + + "\022`\n\027normalized_bounding_box\030\001 \001(\0132?.goog" + + "le.cloud.videointelligence.v1p3beta1.Nor" + + "malizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132" + + "\031.google.protobuf.Duration\022T\n\nattributes" + + "\030\003 \003(\0132;.google.cloud.videointelligence." + + "v1p3beta1.DetectedAttributeB\003\340A\001\022R\n\tland" + + "marks\030\004 \003(\0132:.google.cloud.videointellig" + + "ence.v1p3beta1.DetectedLandmarkB\003\340A\001\"\231\002\n" + + "\005Track\022G\n\007segment\030\001 \001(\01326.google.cloud.v" + + "ideointelligence.v1p3beta1.VideoSegment\022" + + "X\n\023timestamped_objects\030\002 \003(\0132;.google.cl" + + "oud.videointelligence.v1p3beta1.Timestam" + + "pedObject\022T\n\nattributes\030\003 \003(\0132;.google.c" + + "loud.videointelligence.v1p3beta1.Detecte" + + "dAttributeB\003\340A\001\022\027\n\nconfidence\030\004 \001(\002B\003\340A\001" + + "\"D\n\021DetectedAttribute\022\014\n\004name\030\001 \001(\t\022\022\n\nc" + + "onfidence\030\002 \001(\002\022\r\n\005value\030\003 \001(\t\"D\n\tCelebr" + + "ity\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" + + "\023\n\013description\030\003 \001(\t\"\253\002\n\016CelebrityTrack\022" + + "a\n\013celebrities\030\001 \003(\0132L.google.cloud.vide" + + "ointelligence.v1p3beta1.CelebrityTrack.R" + + "ecognizedCelebrity\022C\n\nface_track\030\003 \001(\0132/" + + ".google.cloud.videointelligence.v1p3beta" + + "1.Track\032q\n\023RecognizedCelebrity\022F\n\tcelebr" + + "ity\030\001 \001(\01323.google.cloud.videointelligen" + + "ce.v1p3beta1.Celebrity\022\022\n\nconfidence\030\002 \001" + + "(\002\"t\n\036CelebrityRecognitionAnnotation\022R\n\020" + + "celebrity_tracks\030\001 \003(\01328.google.cloud.vi" + + "deointelligence.v1p3beta1.CelebrityTrack" + + "\"\177\n\020DetectedLandmark\022\014\n\004name\030\001 \001(\t\022I\n\005po" + + "int\030\002 \001(\0132:.google.cloud.videointelligen" + + "ce.v1p3beta1.NormalizedVertex\022\022\n\nconfide" + + "nce\030\003 \001(\002\"m\n\027FaceDetectionAnnotation\022?\n\006" + + "tracks\030\003 \003(\0132/.google.cloud.videointelli" + + "gence.v1p3beta1.Track\022\021\n\tthumbnail\030\004 \001(\014" + + "\"\\\n\031PersonDetectionAnnotation\022?\n\006tracks\030" + + "\001 \003(\0132/.google.cloud.videointelligence.v" + + "1p3beta1.Track\"\357\013\n\026VideoAnnotationResult" + + "s\022\021\n\tinput_uri\030\001 \001(\t\022G\n\007segment\030\n \001(\01326." + + "google.cloud.videointelligence.v1p3beta1" + + ".VideoSegment\022\\\n\031segment_label_annotatio" + + "ns\030\002 \003(\01329.google.cloud.videointelligenc" + + "e.v1p3beta1.LabelAnnotation\022e\n\"segment_p" + + "resence_label_annotations\030\027 \003(\01329.google" + + ".cloud.videointelligence.v1p3beta1.Label" + + "Annotation\022Y\n\026shot_label_annotations\030\003 \003" + + "(\01329.google.cloud.videointelligence.v1p3" + + "beta1.LabelAnnotation\022b\n\037shot_presence_l" + + "abel_annotations\030\030 \003(\01329.google.cloud.vi" + + "deointelligence.v1p3beta1.LabelAnnotatio" + + "n\022Z\n\027frame_label_annotations\030\004 \003(\01329.goo" + + "gle.cloud.videointelligence.v1p3beta1.La" + + "belAnnotation\022e\n\032face_detection_annotati" + + "ons\030\r \003(\0132A.google.cloud.videointelligen" + + "ce.v1p3beta1.FaceDetectionAnnotation\022P\n\020" + + "shot_annotations\030\006 \003(\01326.google.cloud.vi" + + "deointelligence.v1p3beta1.VideoSegment\022`" + + "\n\023explicit_annotation\030\007 \001(\0132C.google.clo" + + "ud.videointelligence.v1p3beta1.ExplicitC" + + "ontentAnnotation\022\\\n\025speech_transcription" + + "s\030\013 \003(\0132=.google.cloud.videointelligence" + + ".v1p3beta1.SpeechTranscription\022R\n\020text_a" + + "nnotations\030\014 \003(\01328.google.cloud.videoint" + + "elligence.v1p3beta1.TextAnnotation\022^\n\022ob" + + "ject_annotations\030\016 \003(\0132B.google.cloud.vi" + + "deointelligence.v1p3beta1.ObjectTracking" + + "Annotation\022i\n\034logo_recognition_annotatio" + + "ns\030\023 \003(\0132C.google.cloud.videointelligenc" + + "e.v1p3beta1.LogoRecognitionAnnotation\022i\n" + + "\034person_detection_annotations\030\024 \003(\0132C.go" + + "ogle.cloud.videointelligence.v1p3beta1.P" + + "ersonDetectionAnnotation\022s\n!celebrity_re" + + "cognition_annotations\030\025 \001(\0132H.google.clo" + + "ud.videointelligence.v1p3beta1.Celebrity" + + "RecognitionAnnotation\022!\n\005error\030\t \001(\0132\022.g" + + "oogle.rpc.Status\"u\n\025AnnotateVideoRespons" + + "e\022\\\n\022annotation_results\030\001 \003(\0132@.google.c" + + "loud.videointelligence.v1p3beta1.VideoAn" + + "notationResults\"\264\002\n\027VideoAnnotationProgr" + + "ess\022\021\n\tinput_uri\030\001 \001(\t\022\030\n\020progress_perce" + + "nt\030\002 \001(\005\022.\n\nstart_time\030\003 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.Timestamp\022B\n\007feature\030\005 \001" + + "(\01621.google.cloud.videointelligence.v1p3" + + "beta1.Feature\022G\n\007segment\030\006 \001(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egment\"w\n\025AnnotateVideoProgress\022^\n\023annot" + + "ation_progress\030\001 \003(\0132A.google.cloud.vide" + + "ointelligence.v1p3beta1.VideoAnnotationP" + + "rogress\"\210\003\n\031SpeechTranscriptionConfig\022\032\n" + + "\rlanguage_code\030\001 \001(\tB\003\340A\002\022\035\n\020max_alterna" + + "tives\030\002 \001(\005B\003\340A\001\022\035\n\020filter_profanity\030\003 \001" + + "(\010B\003\340A\001\022U\n\017speech_contexts\030\004 \003(\01327.googl" + + "e.cloud.videointelligence.v1p3beta1.Spee" + + "chContextB\003\340A\001\022)\n\034enable_automatic_punct" + + "uation\030\005 \001(\010B\003\340A\001\022\031\n\014audio_tracks\030\006 \003(\005B" + + "\003\340A\001\022\'\n\032enable_speaker_diarization\030\007 \001(\010" + + "B\003\340A\001\022&\n\031diarization_speaker_count\030\010 \001(\005" + + "B\003\340A\001\022#\n\026enable_word_confidence\030\t \001(\010B\003\340" + + "A\001\"%\n\rSpeechContext\022\024\n\007phrases\030\001 \003(\tB\003\340A" + + "\001\"\217\001\n\023SpeechTranscription\022\\\n\014alternative" + + "s\030\001 \003(\0132F.google.cloud.videointelligence" + + ".v1p3beta1.SpeechRecognitionAlternative\022" + + "\032\n\rlanguage_code\030\002 \001(\tB\003\340A\003\"\223\001\n\034SpeechRe" + + "cognitionAlternative\022\022\n\ntranscript\030\001 \001(\t" + + "\022\027\n\nconfidence\030\002 \001(\002B\003\340A\003\022F\n\005words\030\003 \003(\013" + + "22.google.cloud.videointelligence.v1p3be" + + "ta1.WordInfoB\003\340A\003\"\247\001\n\010WordInfo\022-\n\nstart_" + + "time\030\001 \001(\0132\031.google.protobuf.Duration\022+\n" + + "\010end_time\030\002 \001(\0132\031.google.protobuf.Durati" + + "on\022\014\n\004word\030\003 \001(\t\022\027\n\nconfidence\030\004 \001(\002B\003\340A" + + "\003\022\030\n\013speaker_tag\030\005 \001(\005B\003\340A\003\"(\n\020Normalize" + + "dVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"f\n\026Normali" + + "zedBoundingPoly\022L\n\010vertices\030\001 \003(\0132:.goog" + + "le.cloud.videointelligence.v1p3beta1.Nor" + + "malizedVertex\"\257\001\n\013TextSegment\022G\n\007segment" + + "\030\001 \001(\01326.google.cloud.videointelligence." + + "v1p3beta1.VideoSegment\022\022\n\nconfidence\030\002 \001" + + "(\002\022C\n\006frames\030\003 \003(\01323.google.cloud.videoi" + + "ntelligence.v1p3beta1.TextFrame\"\233\001\n\tText" + + "Frame\022^\n\024rotated_bounding_box\030\001 \001(\0132@.go" + + "ogle.cloud.videointelligence.v1p3beta1.N" + + "ormalizedBoundingPoly\022.\n\013time_offset\030\002 \001" + + "(\0132\031.google.protobuf.Duration\"g\n\016TextAnn" + + "otation\022\014\n\004text\030\001 \001(\t\022G\n\010segments\030\002 \003(\0132" + + "5.google.cloud.videointelligence.v1p3bet" + + "a1.TextSegment\"\247\001\n\023ObjectTrackingFrame\022`" + + "\n\027normalized_bounding_box\030\001 \001(\0132?.google" + + ".cloud.videointelligence.v1p3beta1.Norma" + + "lizedBoundingBox\022.\n\013time_offset\030\002 \001(\0132\031." + + "google.protobuf.Duration\"\254\002\n\030ObjectTrack" + + "ingAnnotation\022I\n\007segment\030\003 \001(\01326.google." + + "cloud.videointelligence.v1p3beta1.VideoS" + + "egmentH\000\022\022\n\010track_id\030\005 \001(\003H\000\022@\n\006entity\030\001" + + " \001(\01320.google.cloud.videointelligence.v1" + + "p3beta1.Entity\022\022\n\nconfidence\030\004 \001(\002\022M\n\006fr" + + "ames\030\002 \003(\0132=.google.cloud.videointellige" + + "nce.v1p3beta1.ObjectTrackingFrameB\014\n\ntra" + + "ck_info\"\350\001\n\031LogoRecognitionAnnotation\022@\n" + + "\006entity\030\001 \001(\01320.google.cloud.videointell" + + "igence.v1p3beta1.Entity\022?\n\006tracks\030\002 \003(\0132" + + "/.google.cloud.videointelligence.v1p3bet" + + "a1.Track\022H\n\010segments\030\003 \003(\01326.google.clou" + + "d.videointelligence.v1p3beta1.VideoSegme" + + "nt\"\245\001\n\035StreamingAnnotateVideoRequest\022V\n\014" + + "video_config\030\001 \001(\0132>.google.cloud.videoi" + + "ntelligence.v1p3beta1.StreamingVideoConf" + + "igH\000\022\027\n\rinput_content\030\002 \001(\014H\000B\023\n\021streami" + + "ng_request\"\212\010\n\024StreamingVideoConfig\022t\n\034s" + + "hot_change_detection_config\030\002 \001(\0132L.goog" + + "le.cloud.videointelligence.v1p3beta1.Str" + + "eamingShotChangeDetectionConfigH\000\022i\n\026lab" + + "el_detection_config\030\003 \001(\0132G.google.cloud" + + ".videointelligence.v1p3beta1.StreamingLa" + + "belDetectionConfigH\000\022~\n!explicit_content" + + "_detection_config\030\004 \001(\0132Q.google.cloud.v" + + "ideointelligence.v1p3beta1.StreamingExpl" + + "icitContentDetectionConfigH\000\022i\n\026object_t" + + "racking_config\030\005 \001(\0132G.google.cloud.vide" + + "ointelligence.v1p3beta1.StreamingObjectT" + + "rackingConfigH\000\022|\n automl_action_recogni" + + "tion_config\030\027 \001(\0132P.google.cloud.videoin" + + "telligence.v1p3beta1.StreamingAutomlActi" + + "onRecognitionConfigH\000\022u\n\034automl_classifi" + + "cation_config\030\025 \001(\0132M.google.cloud.video" + + "intelligence.v1p3beta1.StreamingAutomlCl" + + "assificationConfigH\000\022v\n\035automl_object_tr" + + "acking_config\030\026 \001(\0132M.google.cloud.video" + + "intelligence.v1p3beta1.StreamingAutomlOb" + + "jectTrackingConfigH\000\022K\n\007feature\030\001 \001(\0162:." + + "google.cloud.videointelligence.v1p3beta1" + + ".StreamingFeature\022X\n\016storage_config\030\036 \001(" + + "\0132@.google.cloud.videointelligence.v1p3b" + + "eta1.StreamingStorageConfigB\022\n\020streaming" + + "_config\"\312\001\n\036StreamingAnnotateVideoRespon" + + "se\022!\n\005error\030\001 \001(\0132\022.google.rpc.Status\022e\n" + + "\022annotation_results\030\002 \001(\0132I.google.cloud" + + ".videointelligence.v1p3beta1.StreamingVi" + + "deoAnnotationResults\022\036\n\026annotation_resul" + + "ts_uri\030\003 \001(\t\"\213\003\n\037StreamingVideoAnnotatio" + + "nResults\022P\n\020shot_annotations\030\001 \003(\01326.goo" + + "gle.cloud.videointelligence.v1p3beta1.Vi" + + "deoSegment\022T\n\021label_annotations\030\002 \003(\01329." + + "google.cloud.videointelligence.v1p3beta1" + + ".LabelAnnotation\022`\n\023explicit_annotation\030" + + "\003 \001(\0132C.google.cloud.videointelligence.v" + + "1p3beta1.ExplicitContentAnnotation\022^\n\022ob" + + "ject_annotations\030\004 \003(\0132B.google.cloud.vi" + + "deointelligence.v1p3beta1.ObjectTracking" + + "Annotation\"$\n\"StreamingShotChangeDetecti" + + "onConfig\":\n\035StreamingLabelDetectionConfi" + + "g\022\031\n\021stationary_camera\030\001 \001(\010\")\n\'Streamin" + + "gExplicitContentDetectionConfig\"\037\n\035Strea" + + "mingObjectTrackingConfig\"<\n&StreamingAut" + + "omlActionRecognitionConfig\022\022\n\nmodel_name" + + "\030\001 \001(\t\"9\n#StreamingAutomlClassificationC" + + "onfig\022\022\n\nmodel_name\030\001 \001(\t\"9\n#StreamingAu" + + "tomlObjectTrackingConfig\022\022\n\nmodel_name\030\001" + + " \001(\t\"o\n\026StreamingStorageConfig\022(\n enable" + + "_storage_annotation_result\030\001 \001(\010\022+\n#anno" + + "tation_result_storage_directory\030\003 \001(\t*r\n" + + "\022LabelDetectionMode\022$\n LABEL_DETECTION_M" + + "ODE_UNSPECIFIED\020\000\022\r\n\tSHOT_MODE\020\001\022\016\n\nFRAM" + + "E_MODE\020\002\022\027\n\023SHOT_AND_FRAME_MODE\020\003*t\n\nLik" + + "elihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rV" + + "ERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE" + + "\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*\266\002\n\020Stre" + + "amingFeature\022!\n\035STREAMING_FEATURE_UNSPEC" + + "IFIED\020\000\022\035\n\031STREAMING_LABEL_DETECTION\020\001\022#" + + "\n\037STREAMING_SHOT_CHANGE_DETECTION\020\002\022(\n$S" + + "TREAMING_EXPLICIT_CONTENT_DETECTION\020\003\022\035\n" + + "\031STREAMING_OBJECT_TRACKING\020\004\022\'\n#STREAMIN" + + "G_AUTOML_ACTION_RECOGNITION\020\027\022#\n\037STREAMI" + + "NG_AUTOML_CLASSIFICATION\020\025\022$\n STREAMING_" + + "AUTOML_OBJECT_TRACKING\020\026*\220\002\n\007Feature\022\027\n\023" + + "FEATURE_UNSPECIFIED\020\000\022\023\n\017LABEL_DETECTION" + + "\020\001\022\031\n\025SHOT_CHANGE_DETECTION\020\002\022\036\n\032EXPLICI" + + "T_CONTENT_DETECTION\020\003\022\022\n\016FACE_DETECTION\020" + + "\004\022\030\n\024SPEECH_TRANSCRIPTION\020\006\022\022\n\016TEXT_DETE" + + "CTION\020\007\022\023\n\017OBJECT_TRACKING\020\t\022\024\n\020LOGO_REC" + + "OGNITION\020\014\022\031\n\025CELEBRITY_RECOGNITION\020\r\022\024\n" + + "\020PERSON_DETECTION\020\0162\316\002\n\030VideoIntelligenc" + + "eService\022\333\001\n\rAnnotateVideo\022>.google.clou" + + "d.videointelligence.v1p3beta1.AnnotateVi" + + "deoRequest\032\035.google.longrunning.Operatio" + + "n\"k\202\323\344\223\002\037\"\032/v1p3beta1/videos:annotate:\001*" + + "\332A\022input_uri,features\312A.\n\025AnnotateVideoR" + + "esponse\022\025AnnotateVideoProgress\032T\312A video" + + "intelligence.googleapis.com\322A.https://ww" + + "w.googleapis.com/auth/cloud-platform2\255\002\n" + + "!StreamingVideoIntelligenceService\022\261\001\n\026S" + + "treamingAnnotateVideo\022G.google.cloud.vid" + + "eointelligence.v1p3beta1.StreamingAnnota" + + "teVideoRequest\032H.google.cloud.videointel" + + "ligence.v1p3beta1.StreamingAnnotateVideo" + + "Response\"\000(\0010\001\032T\312A videointelligence.goo" + + "gleapis.com\322A.https://www.googleapis.com" + + "/auth/cloud-platformB\256\002\n,com.google.clou" + + "d.videointelligence.v1p3beta1B\035VideoInte" + + "lligenceServiceProtoP\001ZYgoogle.golang.or" + + "g/genproto/googleapis/cloud/videointelli" + + "gence/v1p3beta1;videointelligence\252\002(Goog" + + "le.Cloud.VideoIntelligence.V1P3Beta1\312\002(G" + + "oogle\\Cloud\\VideoIntelligence\\V1p3beta1\352" + + "\002+Google::Cloud::VideoIntelligence::V1p3" + + "beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoRequest_descriptor, + new java.lang.String[] { + "InputUri", "InputContent", "Features", "VideoContext", "OutputUri", "LocationId", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoContext_descriptor, + new java.lang.String[] { + "Segments", + "LabelDetectionConfig", + "ShotChangeDetectionConfig", + "ExplicitContentDetectionConfig", + "FaceDetectionConfig", + "SpeechTranscriptionConfig", + "TextDetectionConfig", + "PersonDetectionConfig", + "ObjectTrackingConfig", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelDetectionConfig_descriptor, + new java.lang.String[] { + "LabelDetectionMode", + "StationaryCamera", + "Model", + "FrameConfidenceThreshold", + "VideoConfidenceThreshold", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ShotChangeDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentDetectionConfig_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionConfig_descriptor, + new java.lang.String[] { + "Model", "IncludeBoundingBoxes", "IncludeAttributes", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionConfig_descriptor, + new java.lang.String[] { + "IncludeBoundingBoxes", "IncludePoseLandmarks", "IncludeAttributes", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextDetectionConfig_descriptor, + new java.lang.String[] { + "LanguageHints", "Model", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor, + new java.lang.String[] { + "StartTimeOffset", "EndTimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Entity_descriptor, + new java.lang.String[] { + "EntityId", "Description", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LabelAnnotation_descriptor, + new java.lang.String[] { + "Entity", "CategoryEntities", "Segments", "Frames", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentFrame_descriptor, + new java.lang.String[] { + "TimeOffset", "PornographyLikelihood", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ExplicitContentAnnotation_descriptor, + new java.lang.String[] { + "Frames", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingBox_descriptor, + new java.lang.String[] { + "Left", "Top", "Right", "Bottom", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TimestampedObject_descriptor, + new java.lang.String[] { + "NormalizedBoundingBox", "TimeOffset", "Attributes", "Landmarks", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_videointelligence_v1p3beta1_Track_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Track_descriptor, + new java.lang.String[] { + "Segment", "TimestampedObjects", "Attributes", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedAttribute_descriptor, + new java.lang.String[] { + "Name", "Confidence", "Value", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_Celebrity_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor, + new java.lang.String[] { + "Celebrities", "FaceTrack", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor = + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityTrack_RecognizedCelebrity_descriptor, + new java.lang.String[] { + "Celebrity", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_CelebrityRecognitionAnnotation_descriptor, + new java.lang.String[] { + "CelebrityTracks", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_DetectedLandmark_descriptor, + new java.lang.String[] { + "Name", "Point", "Confidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_FaceDetectionAnnotation_descriptor, + new java.lang.String[] { + "Tracks", "Thumbnail", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_PersonDetectionAnnotation_descriptor, + new java.lang.String[] { + "Tracks", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationResults_descriptor, + new java.lang.String[] { + "InputUri", + "Segment", + "SegmentLabelAnnotations", + "SegmentPresenceLabelAnnotations", + "ShotLabelAnnotations", + "ShotPresenceLabelAnnotations", + "FrameLabelAnnotations", + "FaceDetectionAnnotations", + "ShotAnnotations", + "ExplicitAnnotation", + "SpeechTranscriptions", + "TextAnnotations", + "ObjectAnnotations", + "LogoRecognitionAnnotations", + "PersonDetectionAnnotations", + "CelebrityRecognitionAnnotations", + "Error", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoResponse_descriptor, + new java.lang.String[] { + "AnnotationResults", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_VideoAnnotationProgress_descriptor, + new java.lang.String[] { + "InputUri", "ProgressPercent", "StartTime", "UpdateTime", "Feature", "Segment", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_AnnotateVideoProgress_descriptor, + new java.lang.String[] { + "AnnotationProgress", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscriptionConfig_descriptor, + new java.lang.String[] { + "LanguageCode", + "MaxAlternatives", + "FilterProfanity", + "SpeechContexts", + "EnableAutomaticPunctuation", + "AudioTracks", + "EnableSpeakerDiarization", + "DiarizationSpeakerCount", + "EnableWordConfidence", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechContext_descriptor, + new java.lang.String[] { + "Phrases", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechTranscription_descriptor, + new java.lang.String[] { + "Alternatives", "LanguageCode", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_SpeechRecognitionAlternative_descriptor, + new java.lang.String[] { + "Transcript", "Confidence", "Words", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", "Word", "Confidence", "SpeakerTag", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedVertex_descriptor, + new java.lang.String[] { + "X", "Y", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_NormalizedBoundingPoly_descriptor, + new java.lang.String[] { + "Vertices", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextSegment_descriptor, + new java.lang.String[] { + "Segment", "Confidence", "Frames", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextFrame_descriptor, + new java.lang.String[] { + "RotatedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_TextAnnotation_descriptor, + new java.lang.String[] { + "Text", "Segments", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingFrame_descriptor, + new java.lang.String[] { + "NormalizedBoundingBox", "TimeOffset", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_ObjectTrackingAnnotation_descriptor, + new java.lang.String[] { + "Segment", "TrackId", "Entity", "Confidence", "Frames", "TrackInfo", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_LogoRecognitionAnnotation_descriptor, + new java.lang.String[] { + "Entity", "Tracks", "Segments", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoRequest_descriptor, + new java.lang.String[] { + "VideoConfig", "InputContent", "StreamingRequest", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoConfig_descriptor, + new java.lang.String[] { + "ShotChangeDetectionConfig", + "LabelDetectionConfig", + "ExplicitContentDetectionConfig", + "ObjectTrackingConfig", + "AutomlActionRecognitionConfig", + "AutomlClassificationConfig", + "AutomlObjectTrackingConfig", + "Feature", + "StorageConfig", + "StreamingConfig", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAnnotateVideoResponse_descriptor, + new java.lang.String[] { + "Error", "AnnotationResults", "AnnotationResultsUri", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingVideoAnnotationResults_descriptor, + new java.lang.String[] { + "ShotAnnotations", "LabelAnnotations", "ExplicitAnnotation", "ObjectAnnotations", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingShotChangeDetectionConfig_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingLabelDetectionConfig_descriptor, + new java.lang.String[] { + "StationaryCamera", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingExplicitContentDetectionConfig_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingObjectTrackingConfig_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlActionRecognitionConfig_descriptor, + new java.lang.String[] { + "ModelName", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlClassificationConfig_descriptor, + new java.lang.String[] { + "ModelName", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingAutomlObjectTrackingConfig_descriptor, + new java.lang.String[] { + "ModelName", + }); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_videointelligence_v1p3beta1_StreamingStorageConfig_descriptor, + new java.lang.String[] { + "EnableStorageAnnotationResult", "AnnotationResultStorageDirectory", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java similarity index 71% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java index 59456c30a..2c592bc80 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegment.java @@ -1,39 +1,55 @@ +/* + * 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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; /** + * + * *
  * Video segment.
  * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoSegment} */ -public final class VideoSegment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VideoSegment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.VideoSegment) VideoSegmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VideoSegment.newBuilder() to construct. private VideoSegment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VideoSegment() { - } + + private VideoSegment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VideoSegment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VideoSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private VideoSegment( 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(); - } + 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 18: { - 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; } + case 18: + { + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private VideoSegment( } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); } public static final int START_TIME_OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Duration startTimeOffset_; /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ @java.lang.Override @@ -128,19 +153,26 @@ public boolean hasStartTimeOffset() { return startTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -156,12 +188,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder() {
   public static final int END_TIME_OFFSET_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTimeOffset_;
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ @java.lang.Override @@ -169,19 +204,26 @@ public boolean hasEndTimeOffset() { return endTimeOffset_ != null; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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_; } /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
@@ -195,6 +237,7 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,7 @@ 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());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTimeOffset());
     }
     if (endTimeOffset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTimeOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTimeOffset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.videointelligence.v1p3beta1.VideoSegment)) {
       return super.equals(obj);
     }
-    com.google.cloud.videointelligence.v1p3beta1.VideoSegment other = (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) obj;
+    com.google.cloud.videointelligence.v1p3beta1.VideoSegment other =
+        (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) obj;
 
     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;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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;
   }
   /**
+   *
+   *
    * 
    * Video segment.
    * 
* * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.VideoSegment} */ - 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.videointelligence.v1p3beta1.VideoSegment) com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.class, + com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder.class); } // Construct using com.google.cloud.videointelligence.v1p3beta1.VideoSegment.newBuilder() @@ -399,16 +448,15 @@ 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(); @@ -428,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto + .internal_static_google_cloud_videointelligence_v1p3beta1_VideoSegment_descriptor; } @java.lang.Override @@ -449,7 +497,8 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment build() { @java.lang.Override public com.google.cloud.videointelligence.v1p3beta1.VideoSegment buildPartial() { - com.google.cloud.videointelligence.v1p3beta1.VideoSegment result = new com.google.cloud.videointelligence.v1p3beta1.VideoSegment(this); + com.google.cloud.videointelligence.v1p3beta1.VideoSegment result = + new com.google.cloud.videointelligence.v1p3beta1.VideoSegment(this); if (startTimeOffsetBuilder_ == null) { result.startTimeOffset_ = startTimeOffset_; } else { @@ -468,38 +517,39 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment 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.videointelligence.v1p3beta1.VideoSegment) { - return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment)other); + return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.VideoSegment) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.VideoSegment other) { - if (other == com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) return this; + if (other == com.google.cloud.videointelligence.v1p3beta1.VideoSegment.getDefaultInstance()) + return this; if (other.hasStartTimeOffset()) { mergeStartTimeOffset(other.getStartTimeOffset()); } @@ -533,7 +584,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +597,49 @@ 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_; /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ public boolean hasStartTimeOffset() { return startTimeOffsetBuilder_ != null || startTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
      * 
* * .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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -596,6 +661,8 @@ public Builder setStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -603,8 +670,7 @@ 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();
@@ -615,6 +681,8 @@ public Builder setStartTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -626,7 +694,9 @@ 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;
         }
@@ -638,6 +708,8 @@ public Builder mergeStartTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -657,6 +729,8 @@ public Builder clearStartTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -665,11 +739,13 @@ public Builder clearStartTimeOffset() {
      * .google.protobuf.Duration start_time_offset = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder() {
-      
+
       onChanged();
       return getStartTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -681,11 +757,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the start of the segment (inclusive).
@@ -694,14 +773,17 @@ 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_;
@@ -709,36 +791,49 @@ 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_;
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ public boolean hasEndTimeOffset() { return endTimeOffsetBuilder_ != null || endTimeOffset_ != null; } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
      * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @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(); } } /** + * + * *
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -760,6 +855,8 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -767,8 +864,7 @@ public Builder setEndTimeOffset(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time_offset = 2;
      */
-    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();
@@ -779,6 +875,8 @@ public Builder setEndTimeOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -790,7 +888,9 @@ 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;
         }
@@ -802,6 +902,8 @@ public Builder mergeEndTimeOffset(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -821,6 +923,8 @@ public Builder clearEndTimeOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -829,11 +933,13 @@ public Builder clearEndTimeOffset() {
      * .google.protobuf.Duration end_time_offset = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder() {
-      
+
       onChanged();
       return getEndTimeOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -845,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Time-offset, relative to the beginning of the video,
      * corresponding to the end of the segment (inclusive).
@@ -858,21 +967,24 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder() {
      * .google.protobuf.Duration end_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>
         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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -882,12 +994,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.VideoSegment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.VideoSegment)
   private static final com.google.cloud.videointelligence.v1p3beta1.VideoSegment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.VideoSegment();
   }
@@ -896,16 +1008,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.VideoSegment getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VideoSegment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VideoSegment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VideoSegment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VideoSegment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1032,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.videointelligence.v1p3beta1.VideoSegment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
index 889f28cb5..340d83d67 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoSegmentOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
-public interface VideoSegmentOrBuilder extends
+public interface VideoSegmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.VideoSegment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return Whether the startTimeOffset field is set. */ boolean hasStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
    * 
* * .google.protobuf.Duration start_time_offset = 1; + * * @return The startTimeOffset. */ com.google.protobuf.Duration getStartTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the start of the segment (inclusive).
@@ -38,26 +62,34 @@ public interface VideoSegmentOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return Whether the endTimeOffset field is set. */ boolean hasEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
    * 
* * .google.protobuf.Duration end_time_offset = 2; + * * @return The endTimeOffset. */ com.google.protobuf.Duration getEndTimeOffset(); /** + * + * *
    * Time-offset, relative to the beginning of the video,
    * corresponding to the end of the segment (inclusive).
diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
similarity index 77%
rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
index 1f34d05d3..bb76ce1eb 100644
--- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfo.java
@@ -1,9 +1,26 @@
+/*
+ * 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/videointelligence/v1p3beta1/video_intelligence.proto
 
 package com.google.cloud.videointelligence.v1p3beta1;
 
 /**
+ *
+ *
  * 
  * Word-specific information for recognized words. Word information is only
  * included in the response when certain request parameters are set, such
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.WordInfo}
  */
-public final class WordInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WordInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.videointelligence.v1p3beta1.WordInfo)
     WordInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WordInfo.newBuilder() to construct.
   private WordInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WordInfo() {
     word_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WordInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private WordInfo(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,55 +72,60 @@ private WordInfo(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
+          case 10:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            startTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
+              word_ = s;
+              break;
             }
-            endTime_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+          case 37:
+            {
+              confidence_ = input.readFloat();
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            word_ = s;
-            break;
-          }
-          case 37: {
-
-            confidence_ = input.readFloat();
-            break;
-          }
-          case 40: {
-
-            speakerTag_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 40:
+            {
+              speakerTag_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -111,29 +133,33 @@ private WordInfo(
     } 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.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
+    return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+        .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.videointelligence.v1p3beta1.WordInfo.class, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
+            com.google.cloud.videointelligence.v1p3beta1.WordInfo.class,
+            com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration startTime_;
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -142,6 +168,7 @@ private WordInfo(
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -149,6 +176,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -157,6 +186,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -164,6 +194,8 @@ public com.google.protobuf.Duration getStartTime() { return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -181,6 +213,8 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Duration endTime_;
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -189,6 +223,7 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -196,6 +231,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -204,6 +241,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -211,6 +249,8 @@ public com.google.protobuf.Duration getEndTime() { return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_; } /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -228,11 +268,14 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
   public static final int WORD_FIELD_NUMBER = 3;
   private volatile java.lang.Object word_;
   /**
+   *
+   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ @java.lang.Override @@ -241,29 +284,29 @@ public java.lang.String getWord() { 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(); word_ = s; return s; } } /** + * + * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ @java.lang.Override - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -274,6 +317,8 @@ public java.lang.String getWord() { public static final int CONFIDENCE_FIELD_NUMBER = 4; private float confidence_; /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -284,6 +329,7 @@ public java.lang.String getWord() {
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -294,6 +340,8 @@ public float getConfidence() { public static final int SPEAKER_TAG_FIELD_NUMBER = 5; private int speakerTag_; /** + * + * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -302,6 +350,7 @@ public float getConfidence() {
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ @java.lang.Override @@ -310,6 +359,7 @@ public int getSpeakerTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +371,7 @@ 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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -348,23 +397,19 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_); } if (java.lang.Float.floatToRawIntBits(confidence_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(4, confidence_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_); } if (speakerTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, speakerTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, speakerTag_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -374,30 +419,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.videointelligence.v1p3beta1.WordInfo)) { return super.equals(obj); } - com.google.cloud.videointelligence.v1p3beta1.WordInfo other = (com.google.cloud.videointelligence.v1p3beta1.WordInfo) obj; + com.google.cloud.videointelligence.v1p3beta1.WordInfo other = + (com.google.cloud.videointelligence.v1p3beta1.WordInfo) obj; 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 (!getWord() - .equals(other.getWord())) return false; + if (!getWord().equals(other.getWord())) return false; if (java.lang.Float.floatToIntBits(getConfidence()) - != java.lang.Float.floatToIntBits( - other.getConfidence())) return false; - if (getSpeakerTag() - != other.getSpeakerTag()) return false; + != java.lang.Float.floatToIntBits(other.getConfidence())) return false; + if (getSpeakerTag() != other.getSpeakerTag()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -420,8 +461,7 @@ public int hashCode() { hash = (37 * hash) + WORD_FIELD_NUMBER; hash = (53 * hash) + getWord().hashCode(); hash = (37 * hash) + CONFIDENCE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getConfidence()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidence()); hash = (37 * hash) + SPEAKER_TAG_FIELD_NUMBER; hash = (53 * hash) + getSpeakerTag(); hash = (29 * hash) + unknownFields.hashCode(); @@ -430,96 +470,104 @@ public int hashCode() { } public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.videointelligence.v1p3beta1.WordInfo 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; } /** + * + * *
    * Word-specific information for recognized words. Word information is only
    * included in the response when certain request parameters are set, such
@@ -528,21 +576,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.videointelligence.v1p3beta1.WordInfo}
    */
-  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.videointelligence.v1p3beta1.WordInfo)
       com.google.cloud.videointelligence.v1p3beta1.WordInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.videointelligence.v1p3beta1.WordInfo.class, com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
+              com.google.cloud.videointelligence.v1p3beta1.WordInfo.class,
+              com.google.cloud.videointelligence.v1p3beta1.WordInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.videointelligence.v1p3beta1.WordInfo.newBuilder()
@@ -550,16 +600,15 @@ 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();
@@ -585,9 +634,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto.internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceProto
+          .internal_static_google_cloud_videointelligence_v1p3beta1_WordInfo_descriptor;
     }
 
     @java.lang.Override
@@ -606,7 +655,8 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo build() {
 
     @java.lang.Override
     public com.google.cloud.videointelligence.v1p3beta1.WordInfo buildPartial() {
-      com.google.cloud.videointelligence.v1p3beta1.WordInfo result = new com.google.cloud.videointelligence.v1p3beta1.WordInfo(this);
+      com.google.cloud.videointelligence.v1p3beta1.WordInfo result =
+          new com.google.cloud.videointelligence.v1p3beta1.WordInfo(this);
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
       } else {
@@ -628,38 +678,39 @@ public com.google.cloud.videointelligence.v1p3beta1.WordInfo 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.videointelligence.v1p3beta1.WordInfo) {
-        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.WordInfo)other);
+        return mergeFrom((com.google.cloud.videointelligence.v1p3beta1.WordInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -667,7 +718,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.videointelligence.v1p3beta1.WordInfo other) {
-      if (other == com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.videointelligence.v1p3beta1.WordInfo.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -703,7 +755,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.videointelligence.v1p3beta1.WordInfo) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.videointelligence.v1p3beta1.WordInfo) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -715,8 +768,13 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Duration startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -725,12 +783,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -739,6 +800,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Duration getStartTime() { @@ -749,6 +811,8 @@ public com.google.protobuf.Duration getStartTime() { } } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -772,6 +836,8 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -781,8 +847,7 @@ public Builder setStartTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration start_time = 1;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
         onChanged();
@@ -793,6 +858,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -806,7 +873,7 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -818,6 +885,8 @@ public Builder mergeStartTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -839,6 +908,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -849,11 +920,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Duration start_time = 1;
      */
     public com.google.protobuf.Duration.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -867,11 +940,12 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the start of the spoken word. This field is only set if
@@ -882,14 +956,17 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Duration start_time = 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>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStartTime(),
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStartTime(), getParentForChildren(), isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -897,8 +974,13 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Duration endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -907,12 +989,15 @@ public com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -921,6 +1006,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Duration getEndTime() { @@ -931,6 +1017,8 @@ public com.google.protobuf.Duration getEndTime() { } } /** + * + * *
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -954,6 +1042,8 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -963,8 +1053,7 @@ public Builder setEndTime(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Duration.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -975,6 +1064,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -988,7 +1079,7 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1000,6 +1091,8 @@ public Builder mergeEndTime(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1021,6 +1114,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1031,11 +1126,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Duration end_time = 2;
      */
     public com.google.protobuf.Duration.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1049,11 +1146,12 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Time offset relative to the beginning of the audio, and
      * corresponding to the end of the spoken word. This field is only set if
@@ -1064,14 +1162,17 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Duration end_time = 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>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1079,18 +1180,20 @@ public com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object word_ = "";
     /**
+     *
+     *
      * 
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The word. */ public java.lang.String getWord() { java.lang.Object ref = word_; 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(); word_ = s; return s; @@ -1099,20 +1202,21 @@ public java.lang.String getWord() { } } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return The bytes for word. */ - public com.google.protobuf.ByteString - getWordBytes() { + public com.google.protobuf.ByteString getWordBytes() { java.lang.Object ref = word_; 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); word_ = b; return b; } else { @@ -1120,61 +1224,70 @@ public java.lang.String getWord() { } } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The word to set. * @return This builder for chaining. */ - public Builder setWord( - java.lang.String value) { + public Builder setWord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); return this; } /** + * + * *
      * The word corresponding to this set of information.
      * 
* * string word = 3; + * * @param value The bytes for word to set. * @return This builder for chaining. */ - public Builder setWordBytes( - com.google.protobuf.ByteString value) { + public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); return this; } - private float confidence_ ; + private float confidence_; /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1185,6 +1298,7 @@ public Builder setWordBytes(
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ @java.lang.Override @@ -1192,6 +1306,8 @@ public float getConfidence() { return confidence_; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1202,16 +1318,19 @@ public float getConfidence() {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The confidence to set. * @return This builder for chaining. */ public Builder setConfidence(float value) { - + confidence_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The confidence estimate between 0.0 and 1.0. A higher number
      * indicates an estimated greater likelihood that the recognized words are
@@ -1222,17 +1341,20 @@ public Builder setConfidence(float value) {
      * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearConfidence() { - + confidence_ = 0F; onChanged(); return this; } - private int speakerTag_ ; + private int speakerTag_; /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1241,6 +1363,7 @@ public Builder clearConfidence() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ @java.lang.Override @@ -1248,6 +1371,8 @@ public int getSpeakerTag() { return speakerTag_; } /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1256,16 +1381,19 @@ public int getSpeakerTag() {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The speakerTag to set. * @return This builder for chaining. */ public Builder setSpeakerTag(int value) { - + speakerTag_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A distinct integer value is assigned for every speaker within
      * the audio. This field specifies which one of those speakers was detected to
@@ -1274,17 +1402,18 @@ public Builder setSpeakerTag(int value) {
      * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSpeakerTag() { - + speakerTag_ = 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); } @@ -1294,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.videointelligence.v1p3beta1.WordInfo) } // @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1p3beta1.WordInfo) private static final com.google.cloud.videointelligence.v1p3beta1.WordInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.videointelligence.v1p3beta1.WordInfo(); } @@ -1308,16 +1437,16 @@ public static com.google.cloud.videointelligence.v1p3beta1.WordInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WordInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WordInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WordInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1461,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.videointelligence.v1p3beta1.WordInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java index a28c764ca..e9516d8f5 100644 --- a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java +++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/WordInfoOrBuilder.java @@ -1,13 +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/videointelligence/v1p3beta1/video_intelligence.proto package com.google.cloud.videointelligence.v1p3beta1; -public interface WordInfoOrBuilder extends +public interface WordInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.WordInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -16,10 +34,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -28,10 +49,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration start_time = 1; + * * @return The startTime. */ com.google.protobuf.Duration getStartTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the start of the spoken word. This field is only set if
@@ -44,6 +68,8 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -52,10 +78,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -64,10 +93,13 @@ public interface WordInfoOrBuilder extends
    * 
* * .google.protobuf.Duration end_time = 2; + * * @return The endTime. */ com.google.protobuf.Duration getEndTime(); /** + * + * *
    * Time offset relative to the beginning of the audio, and
    * corresponding to the end of the spoken word. This field is only set if
@@ -80,26 +112,33 @@ public interface WordInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The word. */ java.lang.String getWord(); /** + * + * *
    * The word corresponding to this set of information.
    * 
* * string word = 3; + * * @return The bytes for word. */ - com.google.protobuf.ByteString - getWordBytes(); + com.google.protobuf.ByteString getWordBytes(); /** + * + * *
    * Output only. The confidence estimate between 0.0 and 1.0. A higher number
    * indicates an estimated greater likelihood that the recognized words are
@@ -110,11 +149,14 @@ public interface WordInfoOrBuilder extends
    * 
* * float confidence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The confidence. */ float getConfidence(); /** + * + * *
    * Output only. A distinct integer value is assigned for every speaker within
    * the audio. This field specifies which one of those speakers was detected to
@@ -123,6 +165,7 @@ public interface WordInfoOrBuilder extends
    * 
* * int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The speakerTag. */ int getSpeakerTag(); diff --git a/owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto similarity index 100% rename from owl-bot-staging/v1p3beta1/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto rename to proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java similarity index 88% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 5e828421e..65facc202 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1.samples; -// [START videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START +// videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1.Feature; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; @@ -41,4 +42,5 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END +// videointelligence_v1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 88% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 3963d0877..724680f3a 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1.samples; -// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 88% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index f252944c4..1490a6db8 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1.samples; -// [START videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1.VideoIntelligenceServiceSettings; @@ -38,4 +39,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java similarity index 94% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 4e2e757f5..ab4d64f59 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.stub.samples; -// [START videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START +// videointelligence_v1beta2_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1beta2.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java similarity index 95% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index b2c15855c..dbdc031b8 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START +// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1beta2.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest; diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java similarity index 87% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index c2935ec4f..5cb7e22d2 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START +// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1beta2.Feature; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; @@ -41,4 +42,5 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END +// videointelligence_v1beta2_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 88% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 4aecb28a8..ceaee81f0 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 87% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 6b025c883..84bd52042 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; @@ -38,4 +39,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 94% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index bef39c8e6..42e9a82b7 100644 --- a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1beta2.samples; -// [START videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START +// videointelligence_v1beta2_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1beta2.myEndpoint; diff --git a/owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1beta2/samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1beta2/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java similarity index 89% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index ee211c508..0e1339a98 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.stub.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -44,4 +45,5 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java similarity index 91% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index e4ebb4cb7..f95fefb89 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest; @@ -54,4 +55,5 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java similarity index 87% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index daae83bf0..c7d0f5af8 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p1beta1.Feature; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; @@ -41,4 +42,5 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 88% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 97dcbcd75..4088eafe7 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 87% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index 00b0405da..68d9b64e4 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; @@ -38,4 +39,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 88% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 3400284e1..35a534c9f 100644 --- a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p1beta1.samples; -// [START videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p1beta1.myEndpoint; @@ -36,4 +37,5 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END +// videointelligence_v1p1beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p1beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java similarity index 89% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 8dfbb2d43..160b44c2b 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.stub.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p2beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -44,4 +45,5 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java similarity index 91% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index 433a7749c..7ddea1a28 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest; @@ -54,4 +55,5 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java similarity index 87% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index 88e048758..efe6e536b 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p2beta1.Feature; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; @@ -41,4 +42,5 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 88% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index d554c1034..d99688f2d 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 87% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index b99606c79..44d437931 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; @@ -38,4 +39,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 88% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 1750f1c4b..9c5d26317 100644 --- a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p2beta1.samples; -// [START videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p2beta1.myEndpoint; @@ -36,4 +37,5 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END +// videointelligence_v1p2beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p2beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 87% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 6e36612a5..7d19294d4 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 87% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index de9f6e263..78e7f5ece 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 87% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 89543210f..17abe6667 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; @@ -36,4 +37,5 @@ public static void syncCreateSetEndpoint() throws Exception { StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java similarity index 88% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java index 5c2a1d4c4..ccc30e85a 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceserviceclient/streamingannotatevideo/AsyncStreamingAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] import com.google.api.gax.rpc.BidiStream; import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest; import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse; @@ -43,4 +44,5 @@ public static void asyncStreamingAnnotateVideo() throws Exception { } } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceserviceclient_streamingannotatevideo_async] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java similarity index 88% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index f266ca084..8fac3c7ab 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservicesettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; import java.time.Duration; @@ -45,4 +46,5 @@ public static void syncStreamingAnnotateVideo() throws Exception { streamingVideoIntelligenceServiceSettingsBuilder.build(); } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicesettings_streamingannotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java similarity index 88% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java index 6ec943ae1..5cd4e0ca3 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/streamingvideointelligenceservicestubsettings/streamingannotatevideo/SyncStreamingAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.stub.samples; -// [START videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] +// [START +// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.stub.StreamingVideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -45,4 +46,5 @@ public static void syncStreamingAnnotateVideo() throws Exception { streamingVideoIntelligenceServiceSettingsBuilder.build(); } } -// [END videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] +// [END +// videointelligence_v1p3beta1_generated_streamingvideointelligenceservicestubsettings_streamingannotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java similarity index 89% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java index 7d06b2d2b..56075a6d0 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/stub/videointelligenceservicestubsettings/annotatevideo/SyncAnnotateVideo.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.stub.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] import com.google.cloud.videointelligence.v1p3beta1.stub.VideoIntelligenceServiceStubSettings; import java.time.Duration; @@ -44,4 +45,5 @@ public static void syncAnnotateVideo() throws Exception { videoIntelligenceServiceSettingsBuilder.build(); } } -// [END videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceservicestubsettings_annotatevideo_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java similarity index 91% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java index 104d51222..f40391fab 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/AsyncAnnotateVideoLRO.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress; import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest; @@ -54,4 +55,5 @@ public static void asyncAnnotateVideoLRO() throws Exception { } } } -// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_lro_async] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideo.java diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java similarity index 87% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java index f324054a0..4024aab1d 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/annotatevideo/SyncAnnotateVideoStringListfeature.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] import com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse; import com.google.cloud.videointelligence.v1p3beta1.Feature; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; @@ -41,4 +42,5 @@ public static void syncAnnotateVideoStringListfeature() throws Exception { } } } -// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_annotatevideo_stringlistfeature_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 88% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java index 93048434a..e36036c09 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; @@ -39,4 +40,5 @@ public static void syncCreateSetCredentialsProvider() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 87% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java index c22af42ec..d8748bf2f 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; @@ -38,4 +39,5 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java similarity index 88% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java index 1650f7527..03819a397 100644 --- a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java +++ b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceserviceclient/create/SyncCreateSetEndpoint.java @@ -16,7 +16,8 @@ package com.google.cloud.videointelligence.v1p3beta1.samples; -// [START videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [START +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClient; import com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceSettings; import com.google.cloud.videointelligence.v1p3beta1.myEndpoint; @@ -36,4 +37,5 @@ public static void syncCreateSetEndpoint() throws Exception { VideoIntelligenceServiceClient.create(videoIntelligenceServiceSettings); } } -// [END videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] +// [END +// videointelligence_v1p3beta1_generated_videointelligenceserviceclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java b/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java similarity index 100% rename from owl-bot-staging/v1p3beta1/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java rename to samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/videointelligenceservicesettings/annotatevideo/SyncAnnotateVideo.java From 863dbbd4590c57be0d6a4177003f1a19fade5ed8 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 23 Jun 2022 21:13:59 +0000 Subject: [PATCH 3/3] deps: adding gax-httpjson --- google-cloud-video-intelligence/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-video-intelligence/pom.xml b/google-cloud-video-intelligence/pom.xml index f97600bbb..bd533f586 100644 --- a/google-cloud-video-intelligence/pom.xml +++ b/google-cloud-video-intelligence/pom.xml @@ -74,6 +74,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -112,12 +116,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test +